C# - Reporting Services Rendering Error On Page
Feb 17, 2011
I am trying to display reporting service elements in a web page as little 'widget' like elements, where when you click on one of the elements it takes you to the reporting services page that holds all of the data.
This works on my machine, and when run on two other machines, however, it is not working on the development server or another developer's machine.
It works in dev in Google chrome, but not in IE 7 or 8. The images/links work if you right click on them and select "open link", but they are not click-able as links, which pisses the business unit off.
I would really appreciate some help on this. Here is the information pertinent to what I am trying to do. URLs and such changed for obvious purposes.
.NET 3.5
= IIS 7
This is the ASPX element as added on the page.
<div style="width: 411px; float: left;">
<a href="RenderReport.aspx/myreport.pdf" style="text-decoration: none;">
<rsweb:ReportViewer ID="rptVwOriginatedFallout" runat="server" Font-Names="Verdana"
Font-Size="8pt" InteractiveDeviceInfos="(Collection)" ProcessingMode="Remote"
WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" ShowToolBar="False"
Height="260px" SizeToReportContent="True" BorderStyle="None">
<ServerReport ReportPath="/MyReport" ReportServerUrl="http://reportingserver/" />
</rsweb:ReportViewer>
</a>
</div>
At the top of the page I have:
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
In the web.config under assemblies I have:
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Under the httpHandlers I have:
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
I have tried placing the appropriate information under and running it in Integrated mode as well on the server, but that did not work either.
View 1 Replies
Similar Messages:
Sep 30, 2010
I developed an ASP.net 1.1 web application that is written in VS2203 and I am using Reporting Services 2005 to render some reports in PDF Format. My problem was it is working fine in local (XP) and Production environment (Windows 2003 Server).fromo long back the solution was not working for my integration Server which has windows 2003 Server (1.1) and we installed the 2.0,3.5 frameworks. It is throwing an Object refernce error while render the report. Is there any permisions or something missing.
View 1 Replies
Nov 2, 2010
i'm using sql server 2008 with advance services the below error is of reporting services.."The permissions granted to user 'sysnameASPNET' are insufficient for performing this operation. (rsAccessDenied)"when i'm trying to host appliction.. the above error is occured..it works fine when i try to execute locally.. but when i try to execute through the IIS i.e host applicationthe above error is displayed.
View 2 Replies
Jul 6, 2010
I am new to Sql Server Reporting .How to customize sql server reporting services home page?
Means, how to put some background picture, how to change shapes of Tabs, how to Insert Header Picutre at the top and so on.
View 9 Replies
Aug 23, 2010
This is the error I m getting. Can anyone tell me what exactly the problem isAn error occurred during local report processing.An error has occurred during report processing.Query execution failed for dataset "DataSet1".ExecuteReader : CommandText property has not been initialized.
View 1 Replies
Oct 6, 2010
I am having some trouble upgrading an existing SQL Server 2000 Reporting Services installation from an old server to a new one commissioned for this purpose, which is running SQL Server 2008 Reporting Services. I have been following the instructions here: [URL] but after trying to connect with reporting services 2008, i get this error: The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'C.0.6.54'. The expected version is '147'. (rsInvalidReportServerDatabase) before starting the process, I ran upgrade advisor and got back the following results:
Description Setup can upgrade a SQL Server 2000 Reporting Services instance that uses a SQL Server 2000 Database Engine in the same instance. However, upgrade is blocked if the report server database is in a different instance, on a remote instance, or runs on a remote SQL Server 2005 instance in SQL Server 2000 compatibility mode.
*****
*note, our reporting services IS in the same instance as the SQL Server 2000 database engine. However, upgrade advisor still reported that this instance can not be automatically upgraded.
*****
Corrective Action Choose either approach to continue with the upgrade: Upgrade the Database Engine instance on the remote computer before upgrading Reporting Services. The server cannot be in SQL Server 2000 compatibility mode after upgrade. Move the reportserver and reportservertempdb to a SQL Server 2005 or SQL Server 2008 Database Engine instance, and then use the Reporting Services Configuration tool to connect the report server to the database.
so, I went with option 2, move the database then connect. I have: -backed up the ReportServer and ReportServerTempDB databases from the old server, transferred them to the new and restored them to the 2008 Server as ReportServerOld. -I then renamed the old database to ReportServer and ReportServerTempDB, as this is required to use the database as a source apparently. I had to of course change the existing database names to ReportServerNew to perform the rename. I backed up the symetric key for this installation using the rskeymgmt utility...............
View 2 Replies
Oct 11, 2010
I am getting "ASP.NET session has expired" error when viewing a (SQL server reporting services) report using report viewer control. sometimes it works fine and sometimes I get this error, it works fine in Dev, but not in test environment. Please let me know if you have any clues.here is the code for the report viewer control.
ReportViewer1.ServerReport.ReportServerUrl =
new Uri(System.Configuration.ConfigurationManager.AppSettings["ReportServerUrl"]);
ReportViewer1.ServerReport.ReportPath = System.Configuration.ConfigurationManager.AppSettings["ReportPath"];
ReportViewer1.ServerReport.SetParameters(new List<ReportParameter> { new ReportParameter("key", "value") });
ReportViewer1.DataBind();
View 3 Replies
Jul 14, 2010
I want to add a background picture in the Content Page in sql server reporting services home page?I am working on my PC that is on intranet and working on the Reporting Services files that is on Server.
The picture is on Server at Location:
\auh00048274RSReportManagerimages
and the image name is MyLogo.jpeg.
Actualy in which file do I have to write code and what code to insert there?
View 1 Replies
Apr 30, 2010
I have a report (Reporting Services) integrated into an ASP.NET that shows dropdownlists to select report parameter values. The dropdownlists are populated using direct database selects, though I see the report RDL files do contain the paramter values and datasets as defined in the report designer.Is it possible to obtain the report parameters "available values" in ASP.NET to populate the dropdownlists? This would avoid some code duplication.
Update.If the parameter doesn't use a query for available values, the following works:
foreach (ValidValue value in this.ReportViewerControl.ServerReport.GetParameters()["myParameter"].ValidValues) {
this.DropDownListControl.Items.Add(new ListItem(value.Label, value.Value));
}
View 1 Replies
Jun 13, 2010
I am using Microsoft SQL server 2008 reporting service to generate PDF reports for my application.All was working fine, until I start to get the following error. I came to know after some google that this is because of some JPG images having metadata. If I have png image then its fine, but for me to convert these jpg to png is not an option, since all I have available is JPG.I installed service pack 1 as well, but its same. I have following SQL server installed.
"Microsoft
SQL Server 2008 (SP1) - 10.0.2531.0 (X64) Mar 29 2009 10:11:52 Copyright (c) 1988-2008 Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.0 <X64> (Build 6002: Service Pack 2)"
I found few solutions like mentioned here http://support.microsoft.com/kb/967618 But thats for 2005. Surprisingly, already solved error for 2005 coming for 2008.
Non-negative number required.
Parameter name: value
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: System.ArgumentOutOfRangeException: Non-negative
number required.
Parameter name: value
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace: [ArgumentOutOfRangeException: Non-negative number required.
Parameter name: value]
System.IO.MemoryStream.set_Position(Int64 value) +10435528
View 3 Replies
Jan 7, 2010
Any one used Microsoft Chart Control in SQL Server Reporting Service reports? Specifically the 2005 version?
View 3 Replies
Aug 9, 2010
I have created a drill down report in SSRS which works fine in Visual studio but when deployed and viewed using a report viewer on an asp.net web page it acts funny. It load fine the first time but as soon as i expand any of the drill downs the width of the report suddenly becomes very! lengthy and the details data disappears.
View 2 Replies
Mar 9, 2010
I am trying to implement custom sercurity modal in Reporting Services and i am not successfull. I am getting instance count error at below line.
// Loop through the instances of the server class.
ManagementObjectCollection instances = serverClass.GetInstances();
I posted my question in the below forum and could not get answer yet.
http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/81b5a886-cca5-4d13-9805-c5b57c8a20e9
The link i used for forms authentication is as follows:-
http://msdn.microsoft.com/en-us/library/aa902691(SQL.80).aspx
What could be going wrong? Why i could able to cross "scope.Connect();" AND "serverClass.Get();" and getting below error
and could not get any instances. I saw a help link of similar problem and given full permission, but could not get instances at all.
http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/fd5d19da-5cf5-45a9-bc77-7849a9565714
Exception Info:-
serverClass.GetInstances() {System.Management.ManagementObjectCollection} System.Management.ManagementObjectCollection
+ Count 'serverClass.GetInstances().Count' threw an exception of type 'System.Runtime.InteropServices.COMException' int
{System.Runtime.InteropServices.COMException}
IsSynchronized false bool
Code:-
const string WmiNamespace =
//@"\localhost
ootMicrosoftSqlServerReportingServicesv8"; // ORIGINAL
@"\localhost
ootMicrosoftSqlServerReportServerv9Admin"; // NEW ONE
//@"\localhost
ootMicrosoftSqlServerReportingServicesv9Admin"; // NOT
WORKING COPY
const string WmiRSClass =
//@"MSReportServerReportManager_ConfigurationSetting"; // ORIGINAL
// @"MSReportManager_ConfigurationSetting";
@"MSReportServer_ConfigurationSetting"; // NEW ONE
string fullWmiClassName = WmiNamespace + ":" + WmiRSClass;
ManagementClass serverClass;
ManagementScope scope;
//scope = new ManagementScope(WmiNamespace, connOptions);
scope = new ManagementScope(WmiNamespace);
// Connect to the Reporting Services namespace.
scope.Connect();
// Create the server class.
serverClass = new ManagementClass(fullWmiClassName);
// Connect to the management object.
try
{
serverClass.Get();
}
catch (Exception ex)
{
throw new Exception("Could not get WMI information. "
+ ex.Message);
}
View 3 Replies
Jun 16, 2010
It seems the Print Icon in Reporting Services is now throwing up a Windows Authentication box. Even when entering my domainusername and password, nothing happens. It just keeps popping up?
Our reporting service URL is a http://IP Address/........
Not sure if that has anything to do with it. We did add the I.P. in the Local Intranet Zones but still nothing works.
View 1 Replies
Oct 7, 2010
We are running sql server 2000 with reporting services version 8.00.743.00. Yes, I know it's old, but it works. Anyway it worked up until a week ago. Now when you try to render a report on IE 7 or 8 or Firefox, the windows authentication appears multiple times. The report continues to render fine in IE 6.
View 2 Replies
Oct 11, 2010
I have a SQL Server 2005 database with Windows Credentials. I am trying to pass my credentials from Visual Web Developer to my report but it returns me: "Cannot create a connection to data source". My web application is based on Windows login as well.
How I have to pass the credentials to the report?
View 1 Replies
Sep 7, 2010
I have a problem in deploying the reports. when i try to deploy the reports it shows that Report Sever not working but when i try to start my SQL Server Reporting Services will get the below mentioned error so please can one could suggest me on this.
"Could not Start the SQL Server Reporting Services (MSSQLSERVER) service on local computer
ERROR1053: Service didnt respond to start or control request in a timely fashion"
View 1 Replies
Sep 13, 2010
I am truying to work in my PC with reporting services 2008, but I got this message:
The report server can not decrypt the symmetric key used to access sensitive or encrypted data in a database server reports. You must restore a key from a backup or delete the encrypted content.(RsReportServerDisabled) .
View 1 Replies
Dec 31, 2010
Please suggest me some good reference for learning RDLC reports. Does it provides all the features as provided by BOE3.1(Business Objects Enterprise 3.1).
View 3 Replies
Feb 22, 2010
Upgraded to IE 8 and received the "Unable to load client print control" msg researched this a bit and everything pointed to the Killbit hotfix. However we did not install this hotfix so this can't be the problem. Uninstalled IE 8 and went back to IE 6 still get the error msg.
Running windows 2003 server, SQL server 2005sp2 on same box
workstations XP Prosp2
View 3 Replies
Mar 29, 2010
I have one application in that there are two server 1. Web/Application Server 2. Database Server. i installed only reporting services component on web server and connect report server database from second server i.e DB Server. but When i clicked on report services URL it gives error: The report server installation is not initialized. (rsReportServerNotActivated) what extra needs to configure report server?? what are the steps to configure report server ?? i checked in log files it shows as :
appdomainmanager!DefaultDomain!fcc!03/29/2010-14:15:15:: i INFO: Appdomain:11 ReportManager_MSSQLSERVER_0-3-129143259005241268 started.
appdomainmanager!ReportManager_0-3!fcc!03/29/2010-14:15:16:: i INFO: RS authentication mode is 4; effective ASP.NET authentication mode is Windows. vdir=/Reports.
appdomainmanager!DefaultDomain!fcc!03/29/2010-14:15:16:: i INFO: Appdomain:11 ReportManager_MSSQLSERVER_0-3-129143259005241268 initialized (#2).
appdomainmanager!DefaultDomain!1e0!03/29/2010-14:15:23:: i INFO: Appdomain:12 ReportServer_MSSQLSERVER_0-4-129143259230591718 started.
appdomainmanager!ReportServer_0-4!1e0!03/29/2010-14:15:24:: i INFO: RS authentication mode is 4; effective ASP.NET authentication mode is Windows. vdir=/ReportServer.
httpruntime!ReportServer_0-4!1e0!03/29/2010-14:15:24:: i INFO: Report Builder manifest file C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesReportServerReportBuilderReportBuilder_2_0_0_0MSReportBuilder.exe.manifest not found.
appdomainmanager!DefaultDomain!1e0!03/29/2010-14:15:24:: i INFO: Appdomain:12 ReportServer_MSSQLSERVER_0-4-129143259230591718 initialized (#2).
webserver!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Reporting Web Server started
resourceutilities!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Reporting Services starting SKU: Standard
resourceutilities!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Evaluation copy: 0 days left
resourceutilities!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Running on 2 physical processors, 2 logical processors
runningjobs!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
runningjobs!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
runningjobs!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
library!ReportServer_0-4!1e0!03/29/2010-14:15:56:: Call to GetPermissionsAction(/).
library!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Catalog SQL Server Edition = Standard
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Initializing crypto as user: NT AUTHORITYNETWORK SERVICE
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Exporting public key
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: NT Service not activated
library!ReportServer_0-4!1e0!03/29/2010-14:15:56:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized.
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Initializing crypto as user: NT AUTHORITYNETWORK SERVICE
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Exporting public key
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: NT Service not activated
library!ReportServer_0-4!1e0!03/29/2010-14:15:56:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized.
ui!ReportManager_0-3!fcc!03/29/2010-14:15:57:: e ERROR: System.Web.Services.Protocols.SoapException: The report server installation is not initialized. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server
installation is not initialized.
at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetPermissions(String Item, String[]& Permissions)
at Microsoft.ReportingServices.WebServer.ReportingService2005.GetPermissions(String Item, String[]& Permissions)
ui!ReportManager_0-3!fcc!03/29/2010-14:15:57:: e ERROR: HTTP status code --> 200
-------Details--------
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: The report server installation is not initialized. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation
is not initialized.
at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetPermissions(String Item, String[]& Permissions)
at Microsoft.ReportingServices.WebServer.ReportingService2005.GetPermissions(String Item, String[]& Permissions)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.SqlServer.ReportingServices2005.ReportingService2005.GetPermissions(String Item)
at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetPermissions(String Item)
at Microsoft.ReportingServices.UI.Permissions.GetPermissions()
at Microsoft.ReportingServices.UI.Permissions.CurrentUser(String itemPath)
at Microsoft.ReportingServices.UI.ReportingPage.get_RSUser()
at Microsoft.ReportingServices.UI.FolderPage.Page_Init(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.Page.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
library!ReportServer_0-4!1e0!03/29/2010-14:15:57:: Call to GetSystemPropertiesAction().
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: Initializing crypto as user: NT AUTHORITYNETWORK SERVICE
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: Exporting public key
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: NT Service not activated
library!ReportServer_0-4!1e0!03/29/2010-14:15:57:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized.
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: Initializing crypto as user: NT AUTHORITYNETWORK SERVICE
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: Exporting public key
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: NT Service not activated
library!ReportServer_0-4!1e0!03/29/2010-14:15:57:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized.
ui!ReportManager_0-3!fcc!03/29/2010-14:15:57:: e ERROR: Exception in ShowErrorPage: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg) at at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
View 1 Replies
Feb 13, 2011
i want to use two dropdown lists in reporting services using the VS.So went the user choose from the 1st dropdown list the 2nd affected.
View 6 Replies
Sep 27, 2010
I have question is it possible to install Report Manager (IIS Service) on different server than Reporting Services is installed? I would like have IIS service (Report Manager) on one server and Reporting Services mechanism on the second one. Do you think this solution is possible?
View 2 Replies
Oct 12, 2010
I have started using rdlc file in my asp.net website.I am wondering of a way to load the reoprt on aspx page.I have one.aspx which collects user define parameters. When user click next, I collect all user input and store in session then it will go to two.aspx.On two.aspx, I have reportviewer which looking a local report (report.rdlc) with datasource (ds1) which has session parameters.I feed ds1 parameter with session fields from one.aspx.It all working fine.But...., it is taking long time to go from one.aspx to two.aspx.
I assume it is because report is being generated on page_load (two.aspx).Is there any clever way... to generate/view this report?I tried to use UpdatePanel and UpdateProgress with no luck.If this title is already existed in this forum, please give me the link. I could not find the right topic.I m using asp.net 3.5, Visual studio 2010, SQL 2008 server.
View 2 Replies
Jun 25, 2010
I deploy our web in IIS but when i try to use the reporting services
the message pops up:
The request failed with HTTP status 401: Unauthorized.
but when i try to build and debug from visual studio
i can use the reporting services
View 7 Replies