Thursday, March 8, 2012

Solution to: An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode error

I'm starting to blog every error that I encounter (with the solution of course), in the hope that they will become useful to other developers like me.

Today as I was deploying SQL Server Reporting Services 2005 in an IIS 7.5 environment, I encountered the following errors:

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

Error Summary

HTTP Error 500.23 - Internal Server Error

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

Detailed Error Information
ModuleConfigurationValidationModule
NotificationBeginRequest
HandlerPageHandlerFactory-Integrated
Error Code0x80070032
Requested URLhttp://localhost:80/Reports/Pages/Folder.aspx
Physical Pathc:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportManager\Pages\Folder.aspx
Logon MethodNot yet determined
Logon UserNot yet determined

The solution to this is to change the Managed Pipeline mode of the Application Pool the SSRS sites are running and change it from Integrated to Classic.


In details, the following are the steps I did to do this:

- Open IIS Manager
- Browse for the SSRS Sites (usually located at Default Website\Reports and Default Website\ReportServer)
- View site settings and find out in which application pool are they using
- Click the Application Pool section in IIS and open the properties of the Application Pool the SSRS sites use
- Set the Manage pipeline mode to Classic and click OK

After this last step, go back and check the SSRS Report Server or Report Manager and it should be working now.

Hope this helps.





No comments: