CS2008 & IIS7.0 - HTTP Error 500.22

rated by 0 users
This post has 2 Replies | 3 Followers

Not Ranked
Posts 10
Points 185
tuitionu Posted: Sat, Mar 8 2008 7:08 PM

I am in the process of installing CS2008 Beta 1 (webinstaller) on my Windows 2008 Server with IIS7.0 & SQL2005.

I get this error when trying to go to the installer or any other page of the cs2008 directory:

HTTP Error 500.22 - Internal Server Error

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

Detailed Error Information
ModuleConfigurationValidationModule
NotificationBeginRequest
HandlerStaticFile
Error Code0x80070032
Requested URLhttp://localhost:80/
Physical PathC:\Inetpub\CS2008_4.0.30204.1106.web\Web
Logon MethodNot yet determined
Logon UserNot yet determined


Most likely causes:
  • This application defines configuration in the system.web/httpModules section.


Things you can try:
  • Migrate the configuration to the system.webServer/modules section. You can do so manually or by using AppCmd from the command line - for example, %SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/". Using AppCmd to migrate your application will enable it to work in Integrated mode, and continue to work in Classic mode and on previous versions of IIS.
  • If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false.
  • Alternatively, switch the application to a Classic mode application pool - for example, %SystemRoot%\system32\inetsrv\appcmd set app "Default Web Site/" /applicationPool:"Classic .NET AppPool". Only do this if you are unable to migrate your application.
(Set "Default Web Site" and "Classic .NET AppPool" to your application path and application pool name)
Top 10 Contributor
Posts 2,423
Points 19,635
MVPs
Nick replied on Sat, Mar 8 2008 10:49 PM

You need to follow the last step, this isn't a bug in CS this is a bug with you.

Set the application pool that CS uses to classic mode, not integrated mode.  CS doesn't use integrated pipeline mode

  • | Post Points: 5
Top 500 Contributor
Male
Posts 65
Points 1,015
CS Developers

The release of CS 2008 will fully support IIS7 Integrated Pipeline mode. In fact, you can try it now by modfying your web.config according to this blog post: http://www.arcware.net/archive/2008/04/08/Use-a-Single-Web.Config-for-IIS6-and-IIS7.aspx (if you don't modify the web.config, you have to run CS in IIS7 Classic Pipline mode). If you need any help email me at ddonaldson AT telligent DOT com.

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com