ssrs-2008

User impersonation between asp.net and ssrs

蓝咒 提交于 2019-12-01 12:17:36
I have a web application that has application pool configured using domain account. In SSRS, domain account is given the browser access to the folder and SSRS report is configured with proper credentials. My question is if SSRS report is launched from the web application, will SSRS report be opened under domain account or my account. Currently, it is giving error message as \ doesn't have sufficient permissions to access the report location. You just need to set a fixed user in the web config along with the SSRS address. This way you set a default for the site to use instead of depending on

How to pass a parameter to SSRS report from SSIS package?

心已入冬 提交于 2019-12-01 09:30:00
I'm writing my first SSIS pkg and I'm stuck. Any insight would be greatly appreciated. I'm running a sql agent job that kicks off a SSRS report. (The job was generated via a scheduled subscription.) This report relies on 2 stored procs which require the parameter 'When' (date type) and it dumps a PDF of the report to a file share. My execute sql task runs this: EXEC msdb.dbo.sp_start_job N'myJobName'; How can I pass a value for the parameter 'When' into the report? Why do you even need SSIS for this? Set up a subscription in SSRS to export the report where you need in the format you need on

SSRS RDL Mapping datasources programmatically

怎甘沉沦 提交于 2019-12-01 09:21:17
问题 We are using rs.exe for deployment of RDLs to ReportServer. As DataSource, Shared DataSet and RDLs reside in different folders.After deploying RDLs, mapping between RDL to Shared DataSets and Shared DataSets to DataSource are removed. I have to map each RDL manually to the respective DataSets and DataSource. I have 200 RDLs and it's really hard to do manually. I need code for Mapping RDLs to Datasets after deploying the RDLs Could some body help with some code for my requirement? 回答1: I've

SSRS returning different results than the stored procedure

做~自己de王妃 提交于 2019-12-01 08:36:14
I have a stored procedure that I can call from Management Studio and it returns 56 rows consistently. However, when I execute the query under from inside of ssrs 2008, I get back 61 rows. The stored procedure uses cursors and has some print statement inside of it. Thanks, I had a similar problem when I had an a stored procedure return warnings messages. It caused problems returning inconsistent results just in my SSRS dataset/report. I set ansi-warnings to off and my problem went away. You may want to comment out your print statements and try that. Thanks, Steve I would do two things. Check

ssrs report export to excel (formulas)

≡放荡痞女 提交于 2019-12-01 08:30:33
问题 I have an ssrs report that sums a column for a total, like so: =Sum(CDEC(Fields!Month01Balance.Value)) Now, when exporting to excel this does not export as a formula. I was told there is a way to do it using the ReportFields collection, however I cannot get that to work. Does anyone know of a way I can get a total column to export a formula to excel? I don't know how many rows there will be so I cannot manually reference each ReportField text box. Thanks for any pointers here! 回答1: You must

How to Create Dynamic Columns in SSRS Report

大憨熊 提交于 2019-12-01 08:08:58
I need to create a SSRS report like And I have table with 3 columns DeveloperName,TimeWorked, Date How can I create the report and what would be sql query to fetch data? I am not asking for complete SQL query I just need some hints. You can use Matrix (instead of tab-lix) to generate dynamic columns. There is no changes required in your sql query for matrix report (its just a list of DeveloperName,TimeWorked, Date) , but the Matrix control in the SSRS will handle all this. You can refer the below inks http://ssrstutorials.blogspot.in/2012/10/lesson-15-ssrs-matrix-reports.html or https://msdn

SSRS 2008 R2 Globals!RenderFormat export methods

孤人 提交于 2019-12-01 08:07:46
There are 7 built in options for exporting SSRS 2008 reports. I was wondering if there is an easier way to code the following in SSRS when chosing the export option: =IIF(Globals!RenderFormat.Name="WORD" OR Globals!RenderFormat.Name="XML" OR Globals!RenderFormat.Name="CSV" OR Globals!RenderFormat.Name="TIFF" OR Globals!RenderFormat.Name="PDF", Globals!RenderFormat.Name="MHTML" OR Globals!RenderFormat.Name="EXCEL",true,false) Is there a way to write the code above without having to list each export option listed? A way that includes all the export options? If so, how would you write that code?

How to Create Dynamic Columns in SSRS Report

蓝咒 提交于 2019-12-01 07:00:12
问题 I need to create a SSRS report like And I have table with 3 columns DeveloperName,TimeWorked, Date How can I create the report and what would be sql query to fetch data? I am not asking for complete SQL query I just need some hints. 回答1: You can use Matrix (instead of tab-lix) to generate dynamic columns. There is no changes required in your sql query for matrix report (its just a list of DeveloperName,TimeWorked, Date) , but the Matrix control in the SSRS will handle all this. You can refer

Returning back to the original report via a return link button in the linked report with multiselect params in the main report

为君一笑 提交于 2019-12-01 06:47:11
I am working with ssrs reports. I have a summary and a detailed report. The detailed report is linked to the summary report. Now the user wants to have a "Return to Summary Report" link in the detailed report. My main problem is I have multiselect parameters in the Summary report. I know the solution if I have single select parameters. In that case I can create a textbox with text decorated as link button and in the Action property of the textbox I choose Jump to report and provide paramaters which I get from the previous report. This method works for single select parameters in the summary

SSRS 2008 R2 Globals!RenderFormat export methods

隐身守侯 提交于 2019-12-01 06:39:00
问题 There are 7 built in options for exporting SSRS 2008 reports. I was wondering if there is an easier way to code the following in SSRS when chosing the export option: =IIF(Globals!RenderFormat.Name="WORD" OR Globals!RenderFormat.Name="XML" OR Globals!RenderFormat.Name="CSV" OR Globals!RenderFormat.Name="TIFF" OR Globals!RenderFormat.Name="PDF", Globals!RenderFormat.Name="MHTML" OR Globals!RenderFormat.Name="EXCEL",true,false) Is there a way to write the code above without having to list each