reporting-services

Slow Startup of SQL Reporting Services 2008 in Native Mode

我只是一个虾纸丫 提交于 2019-12-19 03:37:16
问题 We are experiencing a slow start up time on the first report request of the day, or when there have been no report requests for an unknown period of time. In SQL Reporting Server 2005 installations we would set up the App Pool to avoid recycling the Reporting Services applications. However, my client installed SQL Reporting Server 2008 on Windows Server 2008 in Native mode. There is no IIS installation that I can locate. I've checked through the SQL Reporting Service Configuration Settings,

How to query a DataTable in memory to fill another data table

依然范特西╮ 提交于 2019-12-19 02:58:35
问题 I am trying to update a Microsoft report. What it does is write out how many clients where excluded from a conversion process and for what reason. Currently the program writes all of the deleted clients back to the server then queries it back to fill a specialty table with the results. Here is the current query: SELECT DeletedClients.Reason, COUNT(DeletedClients.Reason) AS Number, CAST(CAST(COUNT(DeletedClients.Reason) AS float) / CAST(t.Total AS float) * 100 AS numeric(4, 1)) AS percentage

Get file to send as attachment from byte array

我的未来我决定 提交于 2019-12-19 02:58:11
问题 I have an ASP.NET MVC application that has to send an email to a list of recipients with an attachment detailing a specific "Project". I get the details for this from a report by making use of SQL Server Reporting Services (SSRS). I've never really used SSRS before, but I received some code from a colleague where he used it. What he does with the report is he downloads it in the browser to the client's machine. So, if I don't do that I sit with a byte array containing the report data. Is

SSRS code variable resetting on new page

旧城冷巷雨未停 提交于 2019-12-19 00:57:28
问题 In SSRS 2008 I am trying to maintain a SUM of SUMs on a group using custom Code. The reason is that I have a table of data, grouped and returning SUMs of the data. I have a filter on the group to remove lines where group sums are zero. Everything works except I'm running into problems with the group totals - it should be summing the visible group totals but is instead summing the entire dataset. There's tons of articles about how to work around this, usually using custom code. I've made

Using Fields in Multiple Datasets in SSRS

邮差的信 提交于 2019-12-18 21:48:52
问题 I understand Crystal Reports has fallen out of favor with some in the development community and perhaps rightly so: I haven't used it in about 15 years. But when I did, I could make it sing. Perhaps that is why I find SSRS so disappointing. The software is clumsy, non-intuitive and one-dimensional. I have been fighting it for the last week and I am posting here as a last resort. I have been forced to create my report entirely in a SQL Server table and I shouldn't have to do that. For example:

Dynamically set the data source for SSRS reports without unattended execution account?

廉价感情. 提交于 2019-12-18 15:52:33
问题 I need to dynamically specify the data source for SSRS reports at runtime. I found these solutions: Change SSRS data source of report programmatically in server side SSRS Dynamic Shared Data Source Other technologies like Crystal Reports have allowed us to very easily change the data source at will for decades so it seems odd to me that these hacks are still the best way to accomplish this but assuming that is the case: is it possible to do this without enabling the unattended execution

Reporting Services - Count Column Values if equals A

北城余情 提交于 2019-12-18 15:04:04
问题 I have a dataset called 'dsAllStuTargetData' - i'm trying to count the number of the 'A' values that appear in the column 'Target'. I'm doing this using a textbox with an expression, I can count the total number of values using the following: =Count(Fields!Target.Value, "dsAllStuTargetData") However when I try to count where the value equals 'A' it doesn't work. =Count(IIF(Fields!Target.Value, "dsAllStuTargetData")="A",1,0) 回答1: For this case you need a Sum , not a Count , i.e. something like

Reporting Services - Count Column Values if equals A

怎甘沉沦 提交于 2019-12-18 15:02:19
问题 I have a dataset called 'dsAllStuTargetData' - i'm trying to count the number of the 'A' values that appear in the column 'Target'. I'm doing this using a textbox with an expression, I can count the total number of values using the following: =Count(Fields!Target.Value, "dsAllStuTargetData") However when I try to count where the value equals 'A' it doesn't work. =Count(IIF(Fields!Target.Value, "dsAllStuTargetData")="A",1,0) 回答1: For this case you need a Sum , not a Count , i.e. something like

The user data source credentials do not meet the requirements to run this report or shared dataset error when running reports

☆樱花仙子☆ 提交于 2019-12-18 14:49:16
问题 I get the following error when trying to run reports: The current action cannot be completed. The user data source credentials do not meet the requirements to run this report or shared dataset. Either the user data source credentials are not stored in the report server database, or the user data source is configured not to require credentials but the unattended execution account is not specified. (rsInvalidDataSourceCredentialSetting) By the way I am running it from VS2010 with SQL Server

How can I use RDLC reports with the ReportViewer Control in ASP.Net MVC?

爱⌒轻易说出口 提交于 2019-12-18 13:32:15
问题 I am fairly new to ASP.Net MVC. I have a requirement of showing an RDLC based report in MVC. Basically my requirement as well as what I have done is :- I have a ReportController inheriting APIController, which has a method that returns a DataSet. This DataSet is being sent to the RDLC file. For this, I have done the following, but could not make the report work. I have created a model class named ReportParameter as follows: public class ReportParameter { public DateTime DateFrom { get; set; }