I have implemented a ReportServerCredentials class in my code and the NetworkCredentials property is set up to pass a domain account. Usually this works fine but occasionaly the ReportViewer stops sending credentials to the report server resulting in the following error:
The request failed with HTTP status 401: Unauthorized.
The IIS logs on the ReportServer don't show any credentials being passed in on these requests.
When this happens in debug mode in Visual Studio, I usually have to create a new project and migrate my code into it to get it to start working again. When it happens on the web server, it seems to correct itself after a while.
It seems like this must be a bug in the ReportViewer or perhaps in IIS. Does anyone know of a work around or a patch?
I created a report in SSRS, and deployed it. I have created security where when users run the on demand report, it will prompt them for a username and password. I went to the properties of the report then Execution, and tried to set up report execution snapshot and got an error 'Credentials used to run this report are not stored.' I get the same error if I go to History and try to select any of the options there.
Very strange phenomenon with the "Jump to report:" Hyerlink Actions when I deployed my reports to the production servers:
The Actions no longer funcioned properly when attempting to go to one report to another. Sometimes, the same report would come up and sometimes a different report. It appeared that whatever mechanism Report Server uses to construct the proper URL when using "Jump to report:" is unreliable(or the URL is not being honored by the web-server).
All this is happening under the Report Viewer control. I have had to do a painful fix of manually constructing the entire absolute URL and including the reportviewer control in the url.
Any way to get back relative Jump to report: URL's?
We are generating excel report using report viewer at run time but if excel report having more then 65000 record generating error Microsoft. Reporting Services.OnDemandReportRendering.ReportRenderingException: Excel Rendering Extension: Number of rows exceed.
Hi i have created serveral reports in sql and uploaded it to report manager. We have an issue here. We have 5 departments at our place. Each of the department has 5 reports. We want the department for instance Administration to open/view only their reports and no others. How is this done "Credentials supplied by the user running the report" Basically if i give sa and sa as username and password, i will be able to enter any department reports but i want something like sa say 'admin' this user will only open his reports and no one else. there is also security for the folder. I could clump all the reports instead of type do it by department. So all admin reports in one folder and only admin should have access and no one else say if there is another user manager he cant access it. Do you have any idea on how to go abt this situation?
I have a problem using Report Viewer With SQL Reporting Services 2005.
I had a really weird issue with a ReportViewer. It would show the little green Loading progress bar image €¦ but it wouldn€™t show any data, just a white background where the output should be. I knew the data was there because exporting to Excel or PDF showed the data just fine.
The problem is report toolbar is display but NO DATA is displayed and the report comes out as EMPTY .
Thanks in advance..
Can you please help me out in resolving this problem.
Hello, I'm using Reporting Services to render a text (stored in sql as varchar(max)). The text is all plain text, with some lines having trailing spaces.
Source text file i've imported to SQL via SSIS: CLIENT: 10055 STATEMENT 2007 DATE:1002993 THIS IS THE OTHER STATEMENT COLUMN1 COLUMN2 COLUMN 3 TRY THIS
*Note the trailing spaces on the line before 'STATEMENT 2007'.
I've designed a report using the Report Project in VS2005 to retrieve this text via a stored procedure. When I test the report using the 'Preview' tab in the IDE, it looks good CLIENT: 10055 STATEMENT 2007 DATE:1002993 THIS IS THE OTHER STATEMENT COLUMN1 COLUMN2 COLUMN 3 TRY THIS
But when I deploy the report and run it using URL Access:
CLIENT: 10055 STATEMENT 2007 DATE:1002993
THIS IS THE OTHER STATEMENT
COLUMN1 COLUMN2 COLUMN 3 TRY THIS
On all lines with trailing spaces, they (the trailing spaces) have been removed. This is affecting my formatting of some reports and statements. We really want to use the report viewer as it has built in paging, print and export capabilities.
Why does it look okay in VS2005 but different in Report Viewer via URL Access and Report Manager?
Note: When I export as PDF, it looks okay.
The stored procedure I use to return the data is a CLR Hosted assembly as below:
Code Snippet Partial Public Class StoredProcedures <Microsoft.SqlServer.Server.SqlProcedure()> _
Public Shared Sub GetPagedDocument(ByVal inText As SqlString) Dim dr As SqlDataReader Dim row As New SqlDataRecord(New SqlMetaData("RowText", SqlDbType.Text)) Dim cmd As New SqlCommand("select cast(doc as varchar(max)) as 'DOCTEXT' from testdoc WHERE id='" + inText + "'") Dim cn As New SqlConnection("context connection=true") cn.Open() cmd.Connection = cn SqlContext.Pipe.SendResultsStart(row) 'initialise the resultset to be returned dr = cmd.ExecuteReader 'If no records in result set, return. If Not dr.HasRows Then
row.SetString(0, "There is no document to display or you do not have permission to view the document.") SqlContext.Pipe.SendResultsRow(row) SqlContext.Pipe.SendResultsEnd() ' SqlContext.Pipe.Send("There is no document to display.") Return End If 'Read rows in the result set dr.Read()
'Get the entire text Dim docText As String = dr.Item("DOCTEXT") 'debug row.SetString(0, docText) SqlContext.Pipe.SendResultsRow(row) SqlContext.Pipe.SendResultsEnd() Return 'end debug
i just clicked on Advanced mode in Column Group, and then in Row Group Side i set Fixed Data=true for first top static. I'm using local report not server report and i'm displaying that local report in Reportviewer. Now also its not working....
I am getting the standard "Subscriptions cannot be created because the credentials used to run the report are not stored -".I tried to store them in the Stored Data Source in the Visual Studio Project and then deployed. I cannot find in any documentation a reference where to go to STORE CREDENTIALS for a Report Server subscription. I would really appreciate any help on this. I did look at the existing threads, but they don't specifically address where to create the credentials. Thanks for any help you can provide.
I am have a few reports built in Report Builder and obviously using Report Models. All these report models are using a share data source. When I try enable to enable chache or creating subscription I get and error that "Credentials used not stored".
I thought well let me store the credentials for the data source used by the model used by the report on the server. I still get the same error.
I tried to create a custom data source for the report but there is not option for connection string to connect to Report Server Model. We have "Microsoft SQL SEVER", "OLE DB", "Microsoft SQL Analysis Services", "ORACLE", "ODBC", "XML", "SQP Netweaver BI" and "Hyperion Essabe"
if I understand this right to create cache or subscription I must store the credentials for each report making shared Data source concept redundant. Also I cannot create a connection string to connect to Report Server Model.
I would greatly appreciate if anyone can tell me how to enable cache or subscriptions for report that are built on report models using shared data source.
I am having hard time in sending parameters to the report server through reportviewer control from my application. Could anybody help me on this issue?. Is there any way to send the parameters and also what kind of configuration do i need on my report project so that it can accept parameters from my application.
Do I need the report server running in order view a SSRS report in a report viewer control? I've created my report in .net and it works great when I'm viewing it in visual studio, but can I run it my web app without the report server.
I just installed a fresh lab machine with WSS 3.0 and SQL 2005 SP1. I registered the RS web parts.
In the home page I added the Reports Explorer and the Report viewer web parts. I set up the Reports Explorer and the list of reports are showed.
When I connect the Report Viewer Web part to get report from the Report Explorer web part I get the maintenance WSS page. I have to delete the Report Viewer web part to have the page working again.
If I use only the Reports Viewer with a report (not connected to Reports Explorer) is working just fine.
Any ideas what could be the problem? Any hints on how to investigate this is also much appreciated.
I've been working on an application that uploads an RDL to Reporting Services (through the SOAP webservice method CreateReport) programmatically. I'm having difficulty setting up the data source properties for my uploaded report. In particular the Data Source Credentials property.
The datasource for my report doesn't require credentials. By default after I upload the report to Reporting Services, the Data Source Credentials property is set to "Credentials supplied by the user running the report". How do I go about setting the Data Source Credentials property to "Credentials are not required" programmatically through the webservice?
I added a page to exsisting web site. Then I used report viewer to show a report. But when I try to view it in the browser, I get the following error message.
Server Error in '/Website' Application.
The type CustomReportServerConnection, APP_CODE does not implement IReportServerConnection or could not be found Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.Reporting.WebForms.InvalidConfigFileTypeException: The type CustomReportServerConnection, APP_CODE does not implement IReportServerConnection or could not be found
Source Error:
Line 272: <asp:View ID="vwWARRatingChangeReport" runat="server"> Line 273: <aspanel ID="pnlWARRatingChangeReport" runat="server" Width="683px"> Line 274: <rsweb:ReportViewer ID="rvWARRatingChageReport" runat="server" Font-Names="Verdana" Font-Size="8pt" Line 275: Height="100%" ProcessingMode="Remote" Width="100%"> Line 276: <ServerReport ReportPath="/CRMReportsQA/ORA/WARRatingsChange" ReportServerUrl="http://wiismab00035038:8095/Reportserver" />
But I created another website using visaul studio in my local machine and then used report viewer to disaply the same report. Its in server mode same as earlier. This one can be viewed without any trouble.
I'm not familiar with ASP.NET thing. Can anyone help me to resolve this one?
I have a reporting viewer in a windows form that behaves very strange. When I open the form and run the report it shows up nicely in the report viewer. If I print the report it only prints one page. When i print the report a second time the whole report is printed. Next I'll change the report parameters and run the report, then it shows up nicely in the viewer, but when I print the report the first report is printed.
sorry but this is my first dayes to using sql report services i make 14 report in sql report services server and do't know how can i add this reports to my aspx page and every report have parameters how can i send this parmeter to reports when he open or load in aspx page like companyID and employeeID my report have his datasource and dataset sorry but i just start to using reports services
is it possible to use ReportViewer control in project Windows Application (WPF) in msvs2008,which uses .DOT NET 3.5? I need to run ReportViewer component under xaml but I don't know how / or is it possible?
Hi, I am getting the following error when I try to open up my web application now, after installing the report viewer add on and placing it onto one of my pages.
Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=nutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system could not find the file specified.
Source Error: Line 47: <add assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
Source File: web.config
So far I have tried to fix this error by installing the reportviewer.exe on the server. I have also verified that the ReportViewer files are in the assembly folder on the server. I also found a site saying to run the reportviewer.exe from a specific location, here is the link
but when I try to browse to the folder it is talking about I found out that I don't even have a BootStrapper folder under Microsoft Visual Studio 8/SDK/v2.0
Does anyone have any ideas on how to fix this error?
Can anyone tell me what new functionality is introduced with the 2008 version of Report Viewer (download here). As usual, Microsoft have published the new version, but without any release notes - this is very frustrating.
Is it just for compatibility with SQL Server 2008, or does it actually fix bugs (of which there are many) or introduce new features?
I wish Microsoft would improve their introduction of updates, such that providing detailed release notes was standard practice.
Can anyone tell me whats the latest version of the Microsoft.ReportViewer.WebForms.dll for the ReportViewer redistributable sp? How do we find the version of dll file which is already installed in my machine?
I'm trying to use report viewer controls, but the controls do not appear in the toolbox. The file reportviewer.exe was not in the location specified in the help files, but I have downloaded it, and when I try to add it to the toolbox, I get the message 'ReportViewer.exe' is not a .Net module. Should there be a .dll somewhere? Is it not possible to use this control w/ VB Express / SQLExpress?
I am creating a .NET WinForm app and would like to include the files required for the ReportViewer component (SP1). Can someone tell me where I can find these files? Also, can I simply drop these files in the folder where the rest of my app is going to reside, or does an installation have to take place?
Hi, I have a order form and i want to take it to the next level.. So i have a report in my reportserver is exceuted using a sproc. I am using an Report viewer to view the report in my web application. So is it possible to have 2 - 3 check boxes that will populate thru the webapplication, in my report viewer and still use the report from the report server.. For eg. The data in my report will looks like this
What we've found is that when you have two reports where one navigates to the other, if you click on the second page of the second report, it takes you to the second page of the original report. If you navigate over to the subreport again and click for the second page, it works appropriately. This is definitely a no-go for production code and this may delay our ship date because I would think this is definitely undesirable.
Conditions:
ASP.NET Report Viewer using Remote Reports Report that links to another report Both reports return more than one page Reporting Services installed Steps to Reproduce:
Download the source code here.
Follow the directions (near the bottom of the post) to get the project set up.
Run it and click on a link in the first report to go to the second report.
Click the arrow for page 2 of the second report.
Notice how it takes you back to page 2 of the first report (this doesn't happen when you are in preview mode in the Reporting Services project and I don't believe it does this in a smart client application).
Click on a link in the first report to go back to the second report.
Click the arrow for page 2.
Notice how it takes you to page 2 of the second report.
Here is a link with source code and a more detailed explanation: http://geekswithblogs.net/robz/archive/2007/11/21/Reporting-Services-2005-BUG-Report-Linking-and-Paging---ASP.NET.aspx
So what I am looking for is both a workaround for now and if this is determined to be a bug, to be fixed in the next service pack.