reporting-services

How do I display formatted XML in a SSRS Report?

大城市里の小女人 提交于 2019-12-07 13:28:43
问题 I have a field in my dataset that contains an unformatted XML string, for example: <root><element><subelement>value</subelement></element></root> How do I "prettify" it and display it within a Tablix control? Like this: <root> <element> <subelement>value</subelement> </element> </root> 回答1: This can be achieved by using embedded code in the report and using System.Xml.XmlTextWriter with XmlTextWriterSettings.Indent = true Open the Report Properties dialog and paste the following function in

how to migrate or copy SSRS datasource from one server to another without restoring the report server

半世苍凉 提交于 2019-12-07 13:13:15
问题 I'm trying to migrate SSRS report from SQL 2008r2 to SQL 2014 server. I used reportsync to transfer the report to the server. the reports are successfully transferred but however the roles subscriptions and datasources are not transferred. Is there is any way to copy or migrate the data sources, roles and subscription from one server to another without restoring the report server database?. Thanks. 回答1: I have used these migration tools which doesn't help me much. i found the below link after

SQL - combine consecutive date rows based on column

百般思念 提交于 2019-12-07 13:00:08
问题 Let's say I have the following SQL result BegDate | EndDate | quanitty 1/1/2014 1/31/2014 1 2/1/2014 2/28/2014 1 3/1/2014 3/31/2014 2 4/1/2014 4/30/2014 4 5/1/2014 5/31/2014 4 6/1/2014 6/30/2014 4 7/1/2014 7/31/2014 2 8/1/2014 8/30/2014 2 I need to group all months with the same quantity into one row so the result should be BegDate | EndDate | quanitty 1/1/2014 2/28/2014 1 3/1/2014 3/31/2014 2 4/1/2014 6/30/2014 4 7/1/2014 8/30/2014 2 I've searched around stackoverflow and found similar posts

How to add a seperate column instead of a row group in a matrix SSRS Report

狂风中的少年 提交于 2019-12-07 11:50:51
问题 I am trying to create a matrix report in SSRS using Visual Studuio 2008 . My reports are .rdlc reports This is how I want the report look like Product Name |Year | Question1| Question 2| so on........ Test 1 |2012 | Response1| Response 2| so on........ Test 1 |2013 | Response1| Response 2| so on........ But my report comes as like this Product Name | Question1| Question 2| so on........ Test 1 |2012 | Response1| Response 2| so on........ |2013 | Response1| Response 2| so on........ I am not

Pie chart not showing all the values in SSRS 2014

a 夏天 提交于 2019-12-07 11:45:08
问题 I created the pie chart in SSRS as given below. I enabled the labels by right clicking on pie chart and click show labels. When I preview the chart I cant see all the labels. The only label visible is for the biggest portion in the pie. I tried to increase the size of the chart but no effect. Any idea? 回答1: No info is available but finally I learned the trick. I think there is a bug because of which only one label is shown (403 in my case) on the pie chart. To solve the problem follow the

Running all SSRS reports through one report user ignoring own users domain

拈花ヽ惹草 提交于 2019-12-07 11:36:09
问题 I have the following code which returns the reports from my SSRS server, afterwards I then store the paths to each individual list which allows users to run them from within the application. The below works fine. NetworkCredential serviceCredentials = new NetworkCredential() { UserName = username, SecurePassword = EncryptionManager.DecryptToSecureString(password), Domain = domain }; reports = new ObservableCollection<object>(reportsManager.FindReports(reportsWebService, reportsFolderName,

rsErrorLoadingCodeModule: what are the steps to deploy an assembly for use with Report Builder 2.0?

∥☆過路亽.° 提交于 2019-12-07 11:15:53
问题 I've built an assembly with a public static class and a public static method with a return type of int . Eventually I'll add more methods but for now the assembly contains just one method. I'm trying to use this assembly in my SSRS reports but it results in an error: [rsErrorLoadingCodeModule] Error while loading code module: ‘XXX.Calcs, Version=2013.1.21.0, Culture=neutral, PublicKeyToken=null’. Details: Could not load file or assembly 'XXX.Calcs, Version=2013.1.21.0, Culture=neutral,

SSRS and AD Groups

怎甘沉沦 提交于 2019-12-07 09:59:36
问题 I had a request come through asking me to create an AD Security group that could be used in SSRS for users to get reports. There are currently other AD groups that work but the one I have created does not allow users to connect. Creating AD groups isn't real difficult and I know I have it set up correctly. Does anyone have any input as to why the group is not working? I have no knowledge of SSRS or SQL in general so any help would be appreciated. 回答1: You have to assign that AD group an SSRS

Column and Row grouping in SQL Server Reporting Services 2008

 ̄綄美尐妖づ 提交于 2019-12-07 09:53:26
问题 This is the desired result I need to populate as a report, where xx is number of people. I have a table which has fields like: ---------- table1 ---------- id state year(as Quarter) gender I need to determine the count from id and populate as a report. The year is like 20081, 20082..20084 (in quarter). I have created a dataset using this query: SELECT STATE,GENDER,YEAR,COUNT(*) FROM TABLE 1 GROUP BY STATE,GENDER,YEAR From this query I could populate the result ex: ca, m , 20081,3 ny, f ,

Report Viewer control not showing report from SSRS

て烟熏妆下的殇ゞ 提交于 2019-12-07 09:46:34
问题 I'm using MS Report Viewer 10 in VS 2013; the project is being upgraded from VS 2010. I have worked through a series of issues relating to Report Viewer, and have the control itself up and running. I have a number of reports in SSRS, and I have confirmed that the reports themselves work properly. I have a Web Forms ASPX page for data input. It passes data via JSON to a popup ASPX page that contains the Report Viewer control. I am running IIS Express 7, SQL Server 2008 R2 (v10.50), and a