reporting-services

SSRS Code Shared Variables and Simultaneous Report Execution

馋奶兔 提交于 2019-12-21 21:19:08
问题 We have some SSRS reports that are failing when two of them are executed very close together. I've found out that if two instances of an SSRS report run at the same time, any Code variables declared at the class level (not inside a function) can collide. I suspect this may be the cause of our report failures and I'm working up a potential fix. The reason we're using the Code portion of SSRS at all is for things like custom group and page header calculation. The code is called from expressions

Visual Studio Report Designer: How do I print something on every second page of a report?

我的未来我决定 提交于 2019-12-21 18:29:34
问题 I have a report in Visual Studio Report Designer that prints a contract. I want it to have certain terms and conditions on the back of every page. How can I print something on every second page (which I'll then duplex)? I've tried putting it in the page header\footer (it just gets cut off), and I've tried controlling the visibility of it in the body of the report using page numbers (but you can't use the global page numbers variable in the body of the report). How can I wrangle the report to

Change labels “True” and “False” of a boolean parameter

巧了我就是萌 提交于 2019-12-21 17:19:26
问题 I have a boolean parameter in a business report. If I use this parameter it shows at the parameterbar with the labels "True" and "False". Can I change the values without resorting to another parametertype (integer i.e.)? 回答1: Yes, this can be done by setting Available Values for the report parameter: However, this does change the input from radio buttons to a dropdown. Refer to this MS Connect issue for info on that bug as well as an apparent workaround. 来源: https://stackoverflow.com

Deploying Sql Server Reporting Services reports on production boxes

喜夏-厌秋 提交于 2019-12-21 11:54:49
问题 How to deploy Sql server reports on productions boxes? Locally it's not a problem, I just specify the url and then right click on project and say deploy which deploy on my local server. But it's not gonna be the case for the production server 回答1: I recommend you create rs scripts that can be executed on production server. Take a look at Reporting Services Scripter. It's creates deployment scripts based on your current installation. http://www.sqldbatips.com/showarticle.asp?ID=62 回答2: Either:

SSRS 2005 How to Print 4“ X 3” label as Portrait.. SSRS assumes Landscape

浪尽此生 提交于 2019-12-21 11:02:12
问题 I have a SSRS 2005 report form that is printing to a Zebra ZDesigner TLP 2844-Z label printer. The Interactive and Page sizes are set to 4" wide by 3" high. Since there is no paper orientation in SSRS, it is assuming this to be a landscape report when it should be a portrait thereby printing the labels sideways. The users are able to export to a PDF and print after adjusting the print settings, but the extra clicks to produce/print the pdf's are unacceptable. Is there a way to force the print

SSRS Alternating Row Colour Within Groups

守給你的承諾、 提交于 2019-12-21 09:18:20
问题 I have a ssrs table report with row grouping and I would like to know how to change the colours of rows in groups without changing the background colour of the group column itself. With the answers I have found and implemented I get the effect of the second table in the picture when I want the effect of the first table: Any help will be much appreciated. This is a picture of the actual report and it's grouping: 回答1: The RowNumber technique only works on the Details group i.e. the lowest level

Unattended Execution Account in SSRS

∥☆過路亽.° 提交于 2019-12-21 07:56:05
问题 Q1: why would I want to have an Unattended Execution Account? Q2: if I don't use an Unattended Execution Account, which account is used to run the reports? Q3: if i get the following error message when running a report: "The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) Logon failure: unknown user name or bad password". I

SSRS 2008 Hidden Columns Should NOT Export to CSV

时间秒杀一切 提交于 2019-12-21 07:38:53
问题 When I hide columns in SSRS they still appear in the CSV export. I have to hide columns, not the entire tablix. This is what I have tried already: The filters in the tablix hide rows not columns. The DataElementOutput per column can not be set using an expression. 回答1: Format options such as expressions on visibility are ignored for CSV rendering methods. CSV rendering methods are essentially data flows, so you can suppress elements that you don't want to include in CSV files by changing the

SSRS Reports Versioning

拟墨画扇 提交于 2019-12-21 07:38:13
问题 I'm looking for a way to get versioning informations out of my SSRS reports. I have several environments and would like to be able to compare which report version is deployed on these environments. In SSIS this is very easy because each SSIS package gets a new version when it was modified and safed. Is there something similiar with the reports ? 回答1: Unfortunately there currently is no built-in functionality similar to a dll assembly version for RDL files. The only way to get some kind of

How to filter one dataset value with another dataset Table value in SSRS

送分小仙女□ 提交于 2019-12-21 07:25:19
问题 How to filter one dataset table with another dataset Table value in SSRS. 回答1: Not sure if there is a better way to do this in SSRS 2005, but this should work: Create dataset A. This will be your filter dataset. You should return only one value column. (If you need multiple values, you'll have to join them) Create a new report parameter called ParameterA. Set both the available values and the default values to the value column result from the dataset A. Set the parameter to Hidden (I think