IIS 8.0 ASP.NET and Error 500.19

后端 未结 9 1862
故里飘歌
故里飘歌 2020-12-08 06:58

I can\'t seem to get any ASP.NET sites to run under IIS8 on Windows 8. Under IIS Express they are fine, but I\'ve:

  1. Installed IIS8
  2. Installed ASP.NET 3
相关标签:
9条回答
  • 2020-12-08 07:19

    After trying all of the above, I was still stuck, so I decided to go look at the file referenced in my error message, "c:\some\path\web.config"

    It was 3KB, and I renamed it to "_web.config", and the script immediately started working properly.

    I assume the original created with how things were set before my myriad changes. With all the changes I did, it could now create a proper web.config.

    Something to try if the above doesn't get you where you need to be, guys.

    0 讨论(0)
  • 2020-12-08 07:20

    You probably tried this first but have you tried turning your pc off and on again? I tried all of the above first to no avail while simply doing this worked for me. Possibly one of my previous actions locked an important file in my project.

    0 讨论(0)
  • 2020-12-08 07:24

    ASP.Net applications come pre-wired with a handlers section in the web.config.

    By default, this is set to readonly within feature delegation within IIS.

    Take a look in IIS Manager, under the Server nameFeature delegation. If Handler Mappings is set to readonly and your site web.configs have a handlers section, flip the value to read/write and see what happens.

    Worked for me when moving to Windows 8 / IIS 8 / ASP.Net MVC 4.

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