Folks, I had trouble before with reporting services reportviewer not rendering correctly in IIS 7. I had to change some settings in IIS and in my apps web.config. Has anyone used the reportviewer control in IIS on discountasp servers and can they confirm that there were no problems? Thanks Mick
...You do need to add some settings to the web.config for IIS7. To get them working on IIS7 I had to do this: <system.webServer> <validation validateIntegratedModeConfiguration="false" /> <modules> <remove name="ScriptModule" /> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated" /> <remove name="ScriptHandlerFactory" /> <remove name="ScriptHandlerFactoryAppServices" /> <remove name="ScriptResource" /> <add name="Reserved-ReportViewerWebControl-axd" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler" resourceType="Unspecified" preCondition="integratedMode" /> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </handlers> <directoryBrowse enabled="false" /> <httpProtocol> <customHeaders> <clear /> <add name="X-UA-Compatible" value="IE=EmulateIE8" /> </customHeaders> </httpProtocol> </system.webServer> Note: You do not need the X-UA-Compatible part but it does help now that IE8 is out. All the best, Mark
...Yes, on the iis7test server. Has been awhile but if you want I can dig back into it. Have been putting that Webcast off, hoping like a lot of others for the 2008 versions. The DASP crew posted today that version is still not in testing yet. All the best, Mark
Mark, I would appreciate that. I have moved an application to discountasp specifically to avail of the full-trust and reportviewer support. I now find that the application pool keeps recycling due to memory. After optimizing everywhere I can, it sutll happens so I am probably going to move to IIS7 to get the extra 100mb memory. I need to know that reportviewer will still work. Thanks for your help Mick
You also need to add this under the handlers section <add name="Reserved-ReportViewerWebControl-axd" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler" resourceType="Unspecified"/> </handlers>
..Yup, if you look in the web.config section I posted that is the handler I added but with an additional comment for Integrated mode. Like some of the others here I prefer to get things working on IIS7 without resorting to classic mode. Search these forums for my original post on this when I figured it out, just use this term with my username "drove me nuts"...Which it did, for about 3 weeks last year. ;-) All the best, Mark
Sorry Mark, I missed that handler in your posted config. Just wanted to confirm that Reportviewer is working on IIS within discountasp.net servers. I deployed yesterday with no problems (Thanks Joe R). Mick