rdl

ASP.NET reporting, what, how and when to use RDLC

血红的双手。 提交于 2019-12-12 01:07:47
问题 I am new to reporting in asp.net and can't get the things work up good for me. Basically, I made a demo of what was told here. Everything worked fine and it generated report on my local system. But, did not worked on the web server. Now, I've got a confusion here: There are 2 modes of a reporting in asp.net [VS 2010 - .NET 4.0], Local Mode and Server Mode. Local Mode has RDLC extension and Server mode has RDL as extension for the report design file, and it requires Sql Server reporting for

MDX: generate hierarchy level within RDL report

断了今生、忘了曾经 提交于 2019-12-11 15:55:21
问题 Let's say, we have a cube with dimention 'Grocery store', which has 2-level hierarchy: Fruits & Vegetables Dep. Fruits Vegetables Tomatoes Cucumbers Bakery Dep. Milk Dep. The question is - how can I add hierarchy level within mdx query of RDL-report, so that 'Tomatoes' and 'Cucumbers' members would move to the new 3rd level under native 2nd level 'Vegetables'. I need to do that without any changes to the Cube, all by means of pure mdx only. When I tried to build a calculated set for the

Is there a way to change the NULL text of a NULLABLE report parameter to a CUSTOM TEXT

故事扮演 提交于 2019-12-11 09:15:57
问题 Is there a way to change the NULL texts of a NULLABLE report parameter to CUSTOM TEXTS like is shown in folloing image .... ? I have read this question https://stackoverflow.com/questions/17232432/ssrs-2005-how-to-change-the-label-of-the-null-checkbox-of-a-datepicker And the proposed solution in this forum http://social.msdn.microsoft.com/Forums/sqlserver/en-US/879b0015-b053-40de-b97d-620fc283e542/how-to-change-null-label-of-the-checkbox-in-the-parameter-area So I decided to create a Boolean

Displaying page number in body of RDLC

空扰寡人 提交于 2019-12-11 06:25:24
问题 How do I get Page Number in Body Section of RDLC report. Globals!PageNumber can be used only inside either Report Header or Footer. What if I put Row number to my dataset and get the record number. Limiting the number of records per page and do the visibility calculation based on the records number is the best solution so far that I've heard of. Can anyone educate me on this logic? Or is there any other workaround for this? P.S: Other so-called solution like using Custom code is not giving

Why would an SSRS report produce different data when run from SQL Server Reporting Services than when run using the Preview tab?

泪湿孤枕 提交于 2019-12-11 05:39:49
问题 I've got a report running the data I want - from the Preview tab, that is, or when run using F5 in VS 2010. But when I upload the report (.rdl file) to SQL Server Reporting Services, and run the updated report from there, it still shows the old bunch of (restricted) data. Am I missing a step - does something need to be done other than uploading the .rdl file from the project? It did tell me the DataSource was wrong, but once I specified the right one, it ran without a hitch (except for the

Why does it matter whether a SQL Where clause value is provided by the user or embedded in the code matter?

我的梦境 提交于 2019-12-11 05:38:24
问题 I have a legacy SSRS report that works as designed - returns a ton of data. I created a derivation of it that is targeted toward using a specific value. IOW, in the legacy report, the value is selected by the user, whereas in the derived report, it is "baked in." The derived report, after much hourglassing and hamster cage rattling, finally throws up its hands and says, "An error occurred during local report processing. The size necessary to buffer the XML content exceeded the buffer quota."

SSRS mdx report: use dimension on columns

核能气质少年 提交于 2019-12-11 03:07:18
问题 This simple mdx query do work in SSMS: SELECT CrossJoin({[Measures].[Qnt]}, {[Sales_step].CHILDREN}) ON COLUMNS, [City] ON ROWS FROM [SALES_PIPE] But it fails to run within Visual Studio for rdl report. An error accures: The query cannot be prepared: The query must have at least one axis. The first axis of the query should not have multiple hierarchies, nor should it reference any dimension other than the Measures dimension.. Parameter name: mdx (MDXQueryGenerator) I've found another syntax

Formatting multiple fields at once in RDL or RDLC

烈酒焚心 提交于 2019-12-10 22:09:02
问题 Over the years, I've been working with SSRS reports (RDL and RDLC) but I have not found a solution to this problem: Let's say I have x number of fields in my report. I would like to highlight all the fields at once and modify the background-color, foreground-color, font and font size, for all fields at the same time. Is this possible? I've searched on the web and I've experimented with the report designer, and I have not found anything that allows me to do this (other than modifying the

How can I execute an .rdl report with a Report Viewer control without an SSRS server?

拈花ヽ惹草 提交于 2019-12-10 18:56:46
问题 I'm trying to set up a web page where users can select an .rdl file to run, and it will open a Report Viewer control (ASPX), load the report definition file, run it, and display the report. So far, what I've found is, "local" reports can only accept data sources from code (so you have to execute the database code manually, which would be a pain since the datasource can vary widely between reports), and "remote" reports require an SSRS server, something I am unable to set up. What puzzles me

RDLC making call to obsolete SecurityAction Enumeration

不想你离开。 提交于 2019-12-10 12:40:08
问题 I'm using Microsoft.Reporting.Webforms version 10 in order to parse an RDLC file and produce a PDF. The RDLC is a simple invoice with a couple of embedded expressions. When I run the application I get an exception that a call to the obsoleted SecurityAction.RequestMinimum has been made when compiling the expressions. Is this a known bug or something I can remedy? An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC40000] 'RequestMinimum' is obsolete: