reporting-services

Upload a report file to Report manager via .net application?

人走茶凉 提交于 2019-12-23 02:25:09
问题 I want to upload report files via c# application to the report manager.(mean Like simple Upload, select a report file and then upload selected file into report manager). I use this sample and when i upload file an exception occurred the remote server returned an error: (401) unauthorized ** my code ** WebClient webclient = new WebClient(); webclient.UploadFile("http://server-report/Reports/Pages/", Source); -> source refer to selected file path. so if walking in right way so how resolve that

Programmatically add subscription to SSRS reports

家住魔仙堡 提交于 2019-12-23 01:53:07
问题 On my SSRS server I have folder structure like folder1 subfolder1 report1 report2 folder2 some_other_report2 report3 folder3 report4 I want to that these reports should be copied to client machine according to the same directory structure at a given schedule. I know this can be done by individually adding subscription to each report. But I was looking for a way so that I can programmatically ( using scripting or some tool) add subscription to all the report at one go. Also, if possible, it

Sub-Report giving error: Report cannot be shown

不问归期 提交于 2019-12-23 01:37:12
问题 I have a SSRS Report with six sub-reports. The sub-reports are using the same shared data source which the main report is using. When I deploy the report and execute, the sub-report place holder shows error: Report cannot be shown. I thought it could be due to shared data source. Therefore, I created separate shared data source for each sub-report. This works. The report starts showing all the results. Please let me know what is this issue. Even though it works, I don't want to create

Accessing variable in SSRS function

僤鯓⒐⒋嵵緔 提交于 2019-12-23 01:29:11
问题 I have a report which lists items from different categories. Need to display category name only when it changes from the previously listed one. My approach is using a custom function to generate appropriate text, however need to persist the previous value somehow. Wanted to use report variable for that, but I'm not sure how can I set its value and access it within the function? Also, does my approach make any sense, or is there any simpler way of doing it? 回答1: Sorry, managed to do it the way

RDLC Medium Trust

99封情书 提交于 2019-12-23 01:14:43
问题 Does anyone know of a free (for a non-profit group) RDLC reporting tool that will work under medium trust in IIS 7? 回答1: Our Data Dynamics Reports product is not free, but we did implement special support for working in the restrictive medium trust environments. I don't know if it is tested on IIS7 yet, but I presume the security policy is the same so it should work in any case. If it does not let us know and we will surely get it working as this is a scenario we explicitly wanted to make

SSRS - Opening DataSet Property Windows Crashes Visual Studio 2013

假如想象 提交于 2019-12-23 01:10:45
问题 I have Web Application in MVC Framework having SSRS Reports inside.. I have designed couple of .rdlc reports in my application. Suddenly from yesterday, when i open report Wizard in New Report or open Add new Dataset in existing report, visual studio stops working. but when i opened backup Project (backup taken before two days), it is working fine.. it allows adding new dataset or working correct report wizard in it.. so i think there is some setting that has been changed in my current

Generating a Word Document with C#

北城余情 提交于 2019-12-22 18:52:05
问题 Given a list of mailing addresses, I need to open an existing Word document, which is formatted for printing labels, and then insert each address into a different cell of the table. The current solution opens the Word application and moves the cursor to insert the text. However, after reading about the security issues and problems associated with opening the newer versions of Word from a web application, I have decided that I need to use another method. I have looked into using Office Open

Generating a Word Document with C#

北城以北 提交于 2019-12-22 18:51:17
问题 Given a list of mailing addresses, I need to open an existing Word document, which is formatted for printing labels, and then insert each address into a different cell of the table. The current solution opens the Word application and moves the cursor to insert the text. However, after reading about the security issues and problems associated with opening the newer versions of Word from a web application, I have decided that I need to use another method. I have looked into using Office Open

Render html code in sql server client report (rdlc)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-22 17:58:11
问题 I am using the asp.net web application and microsoft visual studio reportviewer control and rdlc for creating a report ( not using sql server reporting). I used the Product table to view the result. It has five fields and I display all the itemsin the report. One field is Description and it store the html code as the value(eg: <div><ul><li>a</li><li>b</li></ul><b>aaaa</b></div> ). I want to disply the output of this html code in my report's description field. But in my report, it shows the

Different drill through for each row

一笑奈何 提交于 2019-12-22 17:09:52
问题 I have an SSRS report with several levels of drilling down. Data is aggregated up for the top level view, but I need to show a different drill down report depending on the type of one of the columns. Eg: Table 1 - Apples Name Cost Fuji 1.5 Gala 3.5 Table 2 - Squashes Name Cost Pumpkin 2 Gourd 4.5 I have a stored procedure which aggregates these and puts them in a table for the top level report to show. Ie: Name Cost ItemType Apples 5 1 Squashes 6.5 2 In reality, the two tables have different