Internal Server Error with httpHandlers section of web.config

前端 未结 4 2164
长情又很酷
长情又很酷 2021-02-12 20:05

I have an asp.net website using the form controls from Telerik. It\'s just moved to a new server but I keep getting a 500 Internal Server Error.

Removing the httpHandler

4条回答
  •  醉梦人生
    2021-02-12 20:40

    I see you mention it has just moved to a new server. Was this an IIS6 to IIS7+ migration?

    IIS7 uses instead of the IIS6 section. On top of this it will throw an error by default if you have the settings in the old section even if the new section is populated correctly.

    Try this:

      
        
        
          
        
        
          
          
        
    

    The validateIntegratedModeConfiguration="false" will allow you to keep your httpHandlers section populated without throwing an error (useful if you are debugging on a cassini / iis6 server) and the entry in the section will configure it for your IIS7 server.

    The runAllManagedModulesForAllRequests="true" is not strictly required but you will probably find yourself needing it if you are new to configuring IIS7 :)

提交回复
热议问题