In IIS 7, we need to add Reserved.ReportViewerWebControl.axd httpHandler.
Resolution:
Open Internet Information Services (IIS) Manager and select your Web application.
Under IIS area, double-click on Handler Mappings
icon.
At the Action pane on your right, click on Add Managed Handler.
At the Add Managed Handler dialog, enter the following: Request path: Reserved.ReportViewerWebControl.axd Type: Microsoft.Reporting.WebForms.HttpHandler Name: Reserved-ReportViewerWebControl-axd
Click OK.
Reserved-ReportViewerWebControl-axd handler is now added to your Handler Mappings list. Notice that the following line has also been added to your Web.config file under the system.webserver's handler section:
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
I have changed my web.config , but now I Have a erreur at the top of my page aspx :
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.
What is the real syntax in me page.aspx paged
Tank you for your answer Anthride
Marked as answer by sportonic on Jan 10, 2009 02:54 PM
I have changed my web.config , but now I Have a erreur at the top of my page aspx :
The reportThe 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.
i use Visual Studio 2010 and run it and its work well.. when i move it into server then this error message appear :
Report Viewer Configuration Error
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=10.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler,
Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.webServer/handlers section for Internet Information Services 7 or later.
and java script error like this :
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET4.0C; .NET4.0E; InfoPath.3)
Timestamp: Thu, 15 Jul 2010 08:45:54 UTC
Message: 'Microsoft' is undefined
Line: 349
Char: 5
Code: 0
I have the exact same problem. As usual no answers or solutions works fine on iis6 but not ii7
It would work on my ASP.NET built in IIS server in debug mode. But now something changed and it doesnt work in that either anymore and i didnt touch anything.
i do debug the error as ajaxtoolkit where it fails
sportonic
Member
1 Points
10 Posts
IIS 7 and Reportviewer
Dec 13, 2008 09:50 PM|LINK
My Hosting has changed and now it work with IIS 7.
I Have page with control reportviewer and with IIS 6 that work fine.
With IIS 7 i can see the control , but not the data : my reports are blank.
Thank you for complete my web.config for that reporviewer works with IIS 7.
With IIS 6 ? My Web Config was :
<system.web><
httpHandlers><
add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" /></
httpHandlers> <!-- !!!!!<compilation debug="true"/>
--><
compilation debug="true" strict="false" explicit="true"> <buildProviders><
add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider"/> </buildProviders><
assemblies> <add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/><
add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></
assemblies></
compilation>Cordialement CD
amit.jain
Star
11225 Points
1815 Posts
Re: IIS 7 and Reportviewer
Dec 14, 2008 01:22 PM|LINK
Hi add this to ur web.config
<add name="Reserved-ReportViewerWebControl-axd" path="Reserved.ReportViewerWebControl.axd"
verb="*" type="Microsoft.Reporting.WebForms.HttpHandler" resourceType="Unspecified"
/>
amiT jaiN
ASP.NET C# VB Articles And Code Examples
Thomas Sun –...
All-Star
64969 Points
5621 Posts
Re: IIS 7 and Reportviewer
Dec 17, 2008 03:50 AM|LINK
Hi,
In IIS 7, we need to add Reserved.ReportViewerWebControl.axd httpHandler.
Resolution:
Request path: Reserved.ReportViewerWebControl.axd
Type: Microsoft.Reporting.WebForms.HttpHandler
Name: Reserved-ReportViewerWebControl-axd
Reserved-ReportViewerWebControl-axd handler is now added to your Handler Mappings list. Notice that the following line has also been added to your Web.config file under the system.webserver's handler section:
<add name="Reserved-ReportViewerWebControl-axd" path="Reserved.ReportViewerWebControl.axd"
verb="*" type="Microsoft.Reporting.WebForms.HttpHandler" resourceType="Unspecified"
/>
For more information, see http://otkfounder.blogspot.com/2007/11/solving-reportviewer-rendering-issue-on.html
I look forward to hearing from you.
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
sportonic
Member
1 Points
10 Posts
Re: IIS 7 and Reportviewer
Dec 31, 2008 09:15 AM|LINK
Thank you for your answer , but i had not see.
I have changed my web.config , but now I Have a erreur at the top of my page aspx :
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.
What is the real syntax in me page.aspx paged
Tank you for your answer Anthride
sportonic
Member
1 Points
10 Posts
Re: IIS 7 and Reportviewer
Dec 31, 2008 09:19 AM|LINK
Thank you for your answer , but i had not see.
I have changed my web.config , but now I Have a erreur at the top of my page aspx :
The reportThe 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.
What is the real syntax in me page.aspx paged
Tank you for your answer Anthride
danielrp
Member
14 Points
10 Posts
Re: IIS 7 and Reportviewer
Jul 15, 2010 08:47 AM|LINK
Please help me and sorry for my bad english..
i use Visual Studio 2010 and run it and its work well.. when i move it into server then this error message appear :
Report Viewer Configuration Error
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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.webServer/handlers section for Internet Information Services 7 or later.
and java script error like this :
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET4.0C; .NET4.0E; InfoPath.3)
Timestamp: Thu, 15 Jul 2010 08:45:54 UTC
Message: 'Microsoft' is undefined
Line: 349
Char: 5
Code: 0
is any one have a solution??
evanchik
Member
2 Points
1 Post
Re: IIS 7 and Reportviewer
Jul 06, 2012 06:24 PM|LINK
I have the exact same problem. As usual no answers or solutions works fine on iis6 but not ii7
It would work on my ASP.NET built in IIS server in debug mode. But now something changed and it doesnt work in that either anymore and i didnt touch anything.
i do debug the error as ajaxtoolkit where it fails
jukeBlack
Member
2 Points
1 Post
Re: IIS 7 and Reportviewer
Nov 13, 2012 05:47 PM|LINK
I have added this section to <system.webServer>
<handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
Complete section
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
</system.webServer>
It works (IIS 7)
Regards.