reporting-services

Export .rdlc report to pdf in Landscape mode

夙愿已清 提交于 2019-12-23 08:53:00
问题 My report properties are set to Width 11in and Height 8.5in. My body properties are set to Width 10in and Height 7.5in and the margins are 0, but the report always displays in portrait mode. The person who coded the page is using a reportviewer control inside of an aspx page which is being popped up from a JavaScript pop window writing the response to a pdf. If the report is opened in the report viewer it is landscape like expected. Any ideas anyone? 回答1: width, height and orientation of a

SSRS Row Group + Column Group = RowNumber Issue

别说谁变了你拦得住时间么 提交于 2019-12-23 08:47:38
问题 I'm back with another SSRS question :-) I'm dealing with survey data. I have a procedure that's returning an organization's response counts per question. So my report is defined as Group on Organization for row and Group on answer for columns. Both the number of organizations and answers are variable. That's working as expected. I've tried adding a RowCount next to the organization so that I can show rank, but the fact that each org has one row per question means that I'm getting eight rows

Convert GUID to string in SQL Server Reporting Services

浪尽此生 提交于 2019-12-23 08:47:34
问题 While trying to display a GUID column in a report ..its displayed as #error .. =CStr(Fields!number.Value).ToString I tried the above code in the properties of the column..it doesn't work.. Please advise 回答1: =CType(Fields!number.Value, GUID).ToString 回答2: If it is a GUID, just display it without any processing, like other data types. In case you want to convert it for other purposes, just use ToString, for example: =IIf(Fields!number.Value.ToString=Fields!ID.Value.ToString, "true", "false")

Use an Aggregate function in Sort Expression

ぃ、小莉子 提交于 2019-12-23 07:56:02
问题 I have a report which uses a dataset returned from a stored procedure. There are two key columns: Name and Value I am using this dataset for two tablixes. The first is just a straightforward tablix displaying the data. The second groups the data based on a Name column. I need to order this data based on the Sum of Value column However I get the following error: [rsAggregateInDataRowSortExpression] A sort expression for the tablix 'table1' includes an aggregate function. Aggregate functions

Oracle Date format exception in SQL Server Reporting Services

安稳与你 提交于 2019-12-23 07:22:04
问题 Earlier my client was using SSRS 2008R2 with Oracle as transaction database. Recently they have upgraded to SSRS 2017 and now many reports are throwing following error: ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: [AbnormalTermination:ReportProcessing], Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:

Reporting services: Print all pages

不打扰是莪最后的温柔 提交于 2019-12-23 05:28:05
问题 In SQL Server Reporting Services I would like to have an option to print all pages of the report, even though the report is split into multiple report pages in the user interface. We currently have a report with the following: one page per item no option to print to pdf (intentionally removed per requirement; would otherwise be a possible solution: download to pdf and then print the whole pdf document) possibility to print one page at a time and would like the following change: possibility to

SQL Server reporting services

元气小坏坏 提交于 2019-12-23 04:37:33
问题 how to show all values of a particular field in a text box ??? ie. for eg. when u run the SP, u'll be getting 3 rows. and i want to show the (eg.empname) in a textbox each value separated by a comma. (ram, john, sita). 回答1: I had this problem the other day. If you are using SQL 2005 you can use the CROSS APPLY function. Here is a sample; Structure; ID TYPE TEXT 1 1 Ram 2 1 Jon 3 2 Sita 4 2 Joe Expecteed Output; ID TYPE TEXT 1 1 Ram, Jon 2 2 Sita, Joe Query; SELECT t.TYPE,LEFT(tl.txtlist,LEN

Reporting Error in TFS 2013

南楼画角 提交于 2019-12-23 04:34:39
问题 I have found the following error during report server configuration in TFS 2013. How can I solve this? An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. (rsReportServerDatabaseError) Database ID 6, Page (1:179) is marked RestorePending, which may indicate disk corruption. To recover from this state, perform a restore. 回答1: It looks like your database has gone corrupt during a restore action or

Add alternating row color to SSRS Matrix report with page splits

社会主义新天地 提交于 2019-12-23 04:28:22
问题 I’ve got a Matrix with multiple page splits for each product group. I’m using the below expression to get alternating row color for each product group. The problem is that it works as expected only on page 1. Other pages (i.e page 2) bring back undesired results as per the below screenshot: Expression: =iif(RunningValue(Fields!CurrentIntroducerManager.Value.ToString,CountDistinct,Nothing) Mod 2,"Gainsboro", "White") 回答1: I've had issues with using Running Value occasionally and just use the

SSRS Subscription to an email group (distribution list) is not working

£可爱£侵袭症+ 提交于 2019-12-23 04:11:44
问题 In SSRS, a subscription for email IDs is working properl,y but for a group email ID it's showing following message: Delivery has failed to these recipients or groups: Group Team (groupTeam@company.com) Your message can't be delivered because delivery to this address is restricted. Diagnostic information for administrators: Generating server: CR-EX2010-CAS01.domain.ad.company.com groupTeam@company.com #550 5.7.1 RESOLVER.RST.AuthRequired; authentication required ## Original message headers: