Export button in the Report Viewer is disabled.
Hi, I use report viewer control with IIS 7 (SQL 2008 R2 SSRS). The problem I am facing is, for some users, teh report Viewer is not rendering properly. the Export button and a few other buttons are grayed out. I read a few posts which mentioned that the report Viewer control needs to be explicitly registered with IIS 7. I added the following contents to my application's web.config <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, ReportingServicesWebServer, Version=10.0.0.0, Culture=neutral "/> <add name="ReportViewerWebControl" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler" resourceType="Unspecified" /> But this does not seem to be helping. The report Viewer does not still render properly. Any help in this regard is much appreciated. Thanks.
December 9th, 2010 5:26am

Hi Viva1, The issue is documented at http://blogs.msdn.com/b/webtopics/archive/2009/02/10/report-viewer-toolbar-does-not-render-properly-on-iis-7-0.aspx. After adding the Http handler entry, reset your IIS 7.0. If the issue is still not solved, post your web.config here for further troubleshooting. thanks, Jerry
Free Windows Admin Tool Kit Click here and download it now
December 12th, 2010 9:39pm

Hi Viva1, The issue is documented at http://blogs.msdn.com/b/webtopics/archive/2009/02/10/report-viewer-toolbar-does-not-render-properly-on-iis-7-0.aspx. After adding the Http handler entry, reset your IIS 7.0. If the issue is still not solved, post your web.config here for further troubleshooting. thanks, Jerry
December 12th, 2010 9:39pm

Hi Jerry, thanks so much for your response. I referred to the link and found that it referred to the 9.0.0.0 Version of Report Viewer Control. I use SQL server 2008. SO, I cahnged the version to 10.0.0.0 and the corresponding Public key token. It still did not work. I tried adding the same content that was given in the post and it did not work either. The surprising part is it does not work only for a specific set of users. It works for a few of them. PLease let me know if you have any thoughts on this. Thanks.
Free Windows Admin Tool Kit Click here and download it now
December 16th, 2010 12:07am

Hi Jerry, thanks so much for your response. I referred to the link and found that it referred to the 9.0.0.0 Version of Report Viewer Control. I use SQL server 2008. SO, I cahnged the version to 10.0.0.0 and the corresponding Public key token. It still did not work. I tried adding the same content that was given in the post and it did not work either. The surprising part is it does not work only for a specific set of users. It works for a few of them. PLease let me know if you have any thoughts on this. Thanks.
December 16th, 2010 12:07am

Hi, Please post content of your web.config here for further support. thanks, Jerry
Free Windows Admin Tool Kit Click here and download it now
December 17th, 2010 4:51am

I too face continued problems with the reportviewer which works fine in vs2010 but will not render properly on IIS7 on a 2008 production server. The report renders but all controls are greyed out. Have been trying everything for few days. Here is my anonymised web.config. Would be very greatful if you can spot anything obvious. Happy days! <?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <system.net> <!--Placed to allow the web service to work after error message register web service--> <settings> <httpWebRequest useUnsafeHeaderParsing="true" /> </settings> </system.net> <connectionStrings> <add name="xxxx" connectionString="user id='xxxx'; password='xxxx';Data Source='xxxx';Initial Catalog='xxxx'"/> <add name="yyyy" connectionString="user id='yyyy'; password='yyyy';Data Source='yyyy';Initial Catalog='yyyy'"/> </connectionStrings> <system.web> <httpHandlers> <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" /> </httpHandlers> <compilation debug="true" strict="false" explicit="true" targetFramework="4.0"> <assemblies> <remove assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <remove assembly="System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <add assembly="System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <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" /> </assemblies> <buildProviders> <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </buildProviders> </compilation> <authorization> <deny users="?" /> </authorization> <authentication mode="Forms" /> <!-- Manual keys for 3DES must be 48 characters long with hex codes from ASCII tables --> <machineKey validationKey="ZZZ" decryptionKey="ZZZ" validation="3DES" /> <membership defaultProvider="xxxx" userIsOnlineTimeWindow="15"> <providers> <!--remove name="AspNetSqlMembershipProvider" /--> <clear/> <add name="xxxx" type="System.Web.Security.SqlMembershipProvider" <!--setting deleted for forum query /--> applicationName="/" /> </providers> </membership> <roleManager enabled="true" defaultProvider="xxxx"> <providers> <!--remove name="AspNetSqlRoleProvider" /--> <clear/> <add connectionStringName="xxxx" applicationName="/" name="xxxx" type="System.Web.Security.SqlRoleProvider" /> </providers> </roleManager> <profile enabled="true" defaultProvider="xxxx"> <providers> <!--remove name="AspNetSqlProfileProvider"/--> <clear/> <add name="xxxx" type="System.Web.Profile.SqlProfileProvider" connectionStringName="xxxx" applicationName="/" /> </providers> <properties> <add name="P1" type="System.String"/> <add name="P2" type="System.String"/> <add name="P3" type="System.String"/> <add name="P4" type="System.String"/> <add name="P5" type="System.String"/> </properties> </profile> <!-- The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> <!--<customErrors mode="RemoteOnly" defaultRedirect="xxxxError.htm">--> <customErrors mode="Off"> <!--error statusCode="403" redirect="NoAccess.htm" /--> <!--error statusCode="404" redirect="FileNotFound.htm" /--> </customErrors> </system.web> <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> </configuration>
February 1st, 2011 11:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics