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

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

    This may or not be related....I started off with the same error mentioned above, started googling, making changes, getting new errors, endless loop.

    The change that got me by that error was messing with the Feature Delegation in IIS Manager under the Management section of the server. I'm sorry I can't remember which one I changed, but googling might help.

    That got me past the 1st error into a whole new stream of others, some totally nonsensical. (I would get one error when running under a virtual directory, converting it to an application yielded another error, etec etc). What finally solved this series of errors was: IIS manager, Application Pools, DefaultAppPool, Enable 32-Bit applications=True

    I had started this app on a 32 bit windows xp box, and I am now running it on a 64Bit Windows 7 box.

    So hopefully this helps someone else.

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

    I had the same issue in Windows 7.

    The solution was to go to basic settings > connect as > specific user - and log in as a user, instead of the default 'pass-through'

    This fixed the issue for me.

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

    This error is related to web.config file. When web.config is not proper or using some features which is not available in IIS, then this issue will come. In my case, I forgot to install URLRewrite module and was referencing it in web.config. It took some time to find the root cause. I started removing sections one by one and checked, only then i was able to find out the actual issue.

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

    Had the same problem as above, same error code etc. Setting up a local website on Windows 8. After much searching it was found that we were missing URL rewrite. After downloading it everything was fine. :)

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

    If you are deploying asp.net.core application you also must install .net core hosting bundle. https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index?view=aspnetcore-3.0#install-the-net-core-hosting-bundle

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

    This lovely detailed error is still present in 2019! I just want to add that if your web.config is valid and accessible it most likely is a dependency issue.

    As mentioned by the OP it was a AJAX module, and as by others commonly the Rewrite module. Just keep your eyes open in your web.config what modules and libraries your tags are referencing to since the error code 0x8007000d can be about ANY dependency.

    In my case I didn't realize the AspNetCore bundle was missing and had to be installed! So happy I found this post!!

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