Web Application Problems (web.config errors) HTTP 500.19 with IIS7.5 and ASP.NET v2

后端 未结 24 2238
别那么骄傲
别那么骄傲 2020-11-27 11:08

This is driving the whole team crazy. There must be some simple mis-configured part of IIS or our Web Server, but every time we try to run out ASP.NET Web Application on IIS

相关标签:
24条回答
  • 2020-11-27 11:43

    After battling with this for a day on a new machine I came across the following links. I was missing the rewrite modules. This fixed everything.

    http://forums.iis.net/t/1176834.aspx

    http://learn.iis.net/page.aspx/460/using-the-url-rewrite-module/

    0 讨论(0)
  • 2020-11-27 11:44

    Aha! I beat this problem! My god, it was a beast for someone like me with limited IIS experience. I really thought I was going to be spending all weekend fixing it.

    Here's the solution for anyone else who ever comes this evil problem.

    First thing to be aware of: If you're hoping this is your solution, make sure that you have the same Error Code (0x8007000d) and Config Source (-1: 0:). If not, this isn't your solution.

    Next thing to be aware of: AJAX is not properly installed in your web.config!

    Fix that by following this guide:
    http://www.asp.net/AJAX/documentation/live/ConfiguringASPNETAJAX.aspx

    Then, install the AJAX 1.0 extensions on your production server, from this link:

    http://www.asp.net/ajax/downloads/archive/
    Update: Microsoft seems to have removed the above page :(

    That's it!

    0 讨论(0)
  • 2020-11-27 11:46

    To sum up based on answers here and elsewhere:

    1. Check the .NET version of the app pool (e.g. 2.0 vs 4.0)
    2. Check that all IIS referenced modules are installed. In this case it was the AJAX extensions (probably not the case these days), but URL Rewrite is a common one.
    0 讨论(0)
  • 2020-11-27 11:46

    Make sure all of your IIS features are properly enabled.

    • Open Windows Features (Turn Windows features on or off).
    • Scroll down to Internet Information Services

    • Open the World Wide Web plus box drop down

    • Open the Application Development Features plus box drop down
    • Manually check all of the subsequent check boxes, then click ok

    0 讨论(0)
  • 2020-11-27 11:49

    Windows 7

    Try this,

    run cmd as Admin.

    Unistall all iis.

    start /w pkgmgr.exe /uu:IIS-WebServerRole;WAS-WindowsActivationService
    

    Reinstall iis and normaly it's work

    Alain

    0 讨论(0)
  • 2020-11-27 11:49

    I got this error by putting the <customErrors> tag inside of <system.webServer> instead of <system.web> where it belongs. There was a little squiggle under the <customErrors> tag but I didn't notice it right away.

    0 讨论(0)
提交回复
热议问题