reporting-services

Reporting Services - Multi-value parameter query returning no results

别等时光非礼了梦想. 提交于 2020-01-11 10:24:07
问题 Using SSRS (SQL Server 2005) I've set up two reports. For ease of explanation, let's call them MAIN_REPORT and SUB_REPORT . MAIN_REPORT runs a query that returns a set of Areas, with multiple TagNames per area: AREA Tagname ---------- A1 T1 A1 T2 A2 T3 A3 T4 If you select one of the Area cells, it opens SUB_REPORT and passes a parameter to @ParentTagNames using Join(Parameters!ResultsOfSearch.Value,",") . ResultsOfSearch is equal to the Tagname column above (haven't yet figured out how to

Creating a report with SSRS that iterates over a parameter

人走茶凉 提交于 2020-01-11 09:49:40
问题 I am modifying an existing report which is setup to let you view statistics per sales rep. You do this by changing the parameter sales rep in the report view. I need to modify the report so that it can display a page for each sales rep. This will then be exported to Excel with each sales rep statistics being displayed in a separate tab. I have researched this and found people talking about iterating over a report but I don't think that what they are referring too is what I am asking: http:/

RDLC expression resulting in #error

一笑奈何 提交于 2020-01-11 09:49:08
问题 I have two decimal fields, profit and revenue. They are displayed in a tablix control, each has their own column. In a third column, I want to divide profit by revenue. The result when either of those fields is zero is #error, this I'm guessing is due to the dividing by zero. I came up with the following expression to solve this: =iif(Cint(Fields!revenue.Value) = 0 orelse cint(Fields!profit.Value) = 0 ,"",FormatPercent(Fields!profit.Value / Fields!revenue.Value,2)) That expression still

SSRS Dynamic Shared Data Source

a 夏天 提交于 2020-01-11 09:01:12
问题 I have an ASP.Net Web site that displays various SSRS reports using the Microsoft Report Viewer Control. I need to be able to specify a data source at runtime. It seems like I should be able to just specify the name of a "shared" data source when I render the report, but I sure can't find a way to do that. The only thing I've found so far that works is to use an "embedded" data source. I'm not real crazy about that, but if that's my only option it will have to do. Anybody know how to specify

Internationalization in SSRS

╄→尐↘猪︶ㄣ 提交于 2020-01-11 05:11:05
问题 What's the best way to handle translations for stock text in a SSRS . For instance - if I have a report that shows a grid of contents what's the best way to have the correct translation for the header of that grid show up, assuming the culture of the report is set correctly. Put another way - is it possible to do resources in a SSRS report, or am I stuck with storing all that text in the database and querying for it? 回答1: AS far as I know, there is no way to localize a report (meaning

An error occurred during local report processing.The definition of the report ' is invalid

廉价感情. 提交于 2020-01-11 03:42:29
问题 I am new to using SSRS. I am using a .rdlc file for report generation in a PDF with VS 2012. When I tried to set the parameters like ReportParameter param = new ReportParameter(kvp.Key, kvp.Value); LocalReport.SetParameters(param); This throws an exception: An error occurred during local report processing..The definition of the report '' is invalid.. Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

An error occurred during local report processing.The definition of the report ' is invalid

随声附和 提交于 2020-01-11 03:42:08
问题 I am new to using SSRS. I am using a .rdlc file for report generation in a PDF with VS 2012. When I tried to set the parameters like ReportParameter param = new ReportParameter(kvp.Key, kvp.Value); LocalReport.SetParameters(param); This throws an exception: An error occurred during local report processing..The definition of the report '' is invalid.. Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

Visual Studio 2005 doesn't support Sql Server 2008

别来无恙 提交于 2020-01-10 19:48:28
问题 I'm developing Reporting services on VS2005 and have to connect to SQL Server 2008. The following Error occurs: "This server version is not supported. You must have Microsoft SQL Server 2005 Beta 2 or later." I found on the net a patch for it, but it doesn't work (link to patch) "The upgrade patch cannot be installed by the Windows Installer Service because the program to be upgraded is missing, or the upgrade patch may update a different version of the program." what else can I do ? :( 回答1:

How to display a time span of seconds in hh:mm:ss format in Reporting Services

北城余情 提交于 2020-01-10 14:10:11
问题 In MS Reporting Services 2008, I have a field that is a duration stored as seconds. Is there a slick way to get it into hh:mm:ss format in a group section of the report? 回答1: If you just want to display it, convert in an expression for the Value of the textbox: =Format(DateAdd("s", Fields!MySecondsField.Value, "00:00:00"), "HH:mm:ss") If you want to do calculations on it, convert the seconds to a DateTime in your dataset. Using SQL: SELECT DATEADD(ss, MySecondsField, '1900-01-01') AS

AppPool Permission Issue with Accessing Report Server

两盒软妹~` 提交于 2020-01-10 08:50:48
问题 I have a SQL Server 2008 R2 Report Server running on a Windows 7 machine as well as an ASP.NET application. The ASP.NET application makes requests to the Report Server to display a list of reports, render reports, etc. My ASP.NET application successfully gets the list of reports but when it tries to render a report I get the following error: The permissions granted to user 'IIS APPPOOL\DefaultAppPool' are insufficient for performing this operation. (rsAccessDenied) Description: An unhandled