Showing posts with label deploying. Show all posts
Showing posts with label deploying. Show all posts

Monday, March 26, 2012

ReportViewer - problems with deploying

I have a web application that was written in Visual Studio 2005, ASP.Net. I am using ReportViewer and it runs correctly and quickly in "local" setting. I have installed the ReportViewer.exe from my local machine's harddrive onto the web server and copied my web application to the web server. The aspx page opens fine, I see the reportviewer frame, but I do not see my report. I have tried changing the "ServerReport" and "LocalReport" ReportPath to "http://localhost/test" where the RDLC file is located but still no report shows up on the web server.

Could someone please instruct me how to deploy an ASP.Net web site that is using ReportViewer? I have installed, uninstalled and reinstalled the ReportViewer.exe file. I have downloaded it directly from Microsoft and restarted IIS, as I have seen in other posts. I am running out of options that I can try to get this to work, and I'd hate to have to scrap it and start over using tables and repeaters.

Thanks in advance.

Hi,

From your description, it seems that you want to connect to your report which existed on your remote web server, right?

To deploy reports in an Internet application, you can embed the ReportViewer Web server control in a custom Internet-ready application that you create and deploy. The ReportViewer Web server control is included in Visual Studio 2005 and can be distributed freely with your application. You can configure the control to display reports that run on a report server. The connection between your application and the report server is handled by the control, through the Web service programming interface. All authentication and authorization is handled by your application, which connects to the report server through a single, user-trusted connection.

For more information see:http://technet.microsoft.com/en-us/library/ms159272.aspx
More information on deploying see:http://technet.microsoft.com/en-us/library/ms159868.aspx

Thanks.

sql

Monday, March 12, 2012

Reports (Manager) website errors with 404 and 500

Deploying reports works, Running ReportServer URL yields deployed reports
directory and reports can be run. The Reports Manager website does not run.
The redirect to http://Server/Reports/Pages/Folder.aspx shows and a Red X
Error header followed by The request failed with HTTP status 404: Not Found.
The log shows:
w3wp!ui!7e8!6/3/2005-09:11:46:: e ERROR: The request failed with HTTP status
404: Not Found.
w3wp!ui!7e8!6/3/2005-09:11:46:: e ERROR: HTTP status code --> 500
--Details--
System.Net.WebException: The request failed with HTTP status 404: Not Found.
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.ReportingServices.ReportingService.ListSecureMethods()
at Microsoft.SqlServer.ReportingServices.RSConnection.GetSecureMethods()
at Microsoft.ReportingServices.UI.RSWebServiceWrapper.GetSecureMethods()
at
Microsoft.SqlServer.ReportingServices.RSConnection.IsSecureMethod(String
methodname)
at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
at
Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel
level)
at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object
sender, EventArgs args)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain()
w3wp!ui!7e8!6/3/2005-09:11:48:: 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)...
--
Keith Powers, MCDBAReport Manager can be run from Inside IIS Manager.
--
Keith Powers, MCDBA
"Keith Powers" wrote:
> Deploying reports works, Running ReportServer URL yields deployed reports
> directory and reports can be run. The Reports Manager website does not run.
> The redirect to http://Server/Reports/Pages/Folder.aspx shows and a Red X
> Error header followed by The request failed with HTTP status 404: Not Found.
> The log shows:
> w3wp!ui!7e8!6/3/2005-09:11:46:: e ERROR: The request failed with HTTP status
> 404: Not Found.
> w3wp!ui!7e8!6/3/2005-09:11:46:: e ERROR: HTTP status code --> 500
> --Details--
> System.Net.WebException: The request failed with HTTP status 404: Not Found.
> 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.ReportingServices.ReportingService.ListSecureMethods()
> at Microsoft.SqlServer.ReportingServices.RSConnection.GetSecureMethods()
> at Microsoft.ReportingServices.UI.RSWebServiceWrapper.GetSecureMethods()
> at
> Microsoft.SqlServer.ReportingServices.RSConnection.IsSecureMethod(String
> methodname)
> at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
> at
> Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel
> level)
> at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object
> sender, EventArgs args)
> at System.EventHandler.Invoke(Object sender, EventArgs e)
> at System.Web.UI.Control.OnInit(EventArgs e)
> at System.Web.UI.Control.InitRecursive(Control namingContainer)
> at System.Web.UI.Page.ProcessRequestMain()
> w3wp!ui!7e8!6/3/2005-09:11:48:: 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)...
> --
> Keith Powers, MCDBA