I have a page that displays a SQL Server Reporting Services report in a reportviewer control.
The page will not display the this control however, it gives me an error message that reads "The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file."
Adding this httpHandler to the web.config then causes the entire site to stop working, giving a 500 - Internal Server error.
My web.config contains
I'm using Visual Web Developer 2010 Express. Server is 2008 R2, with SQL Server 2008 R2. Reporting Services, and the report itself is fine - I can view the report in the Report Manager fine - I need to view it from a web page as it requires several keys, which are passed as session variables.
I'm a bit stuck, so this is more of an open ended question - anybody have any clues as to where the problem may lie?
The page will not display the this control however, it gives me an error message that reads "The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file."
Adding this httpHandler to the web.config then causes the entire site to stop working, giving a 500 - Internal Server error.
My web.config contains
Code:
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" strict="false" explicit="true" targetFramework="4.0">
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>
<customErrors mode="Off"/>
</system.web>
<connectionStrings>
<add connectionString="Server=server;
Connection stuff stripped :)
</connectionStrings>
<system.net>
<mailSettings>
<smtp from=
Mail settings snipped
</smtp>
</mailSettings>
</system.net>
</configuration>
I'm using Visual Web Developer 2010 Express. Server is 2008 R2, with SQL Server 2008 R2. Reporting Services, and the report itself is fine - I can view the report in the Report Manager fine - I need to view it from a web page as it requires several keys, which are passed as session variables.
I'm a bit stuck, so this is more of an open ended question - anybody have any clues as to where the problem may lie?