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

后端 未结 24 2434
别那么骄傲
别那么骄傲 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: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!

提交回复
热议问题