How do I resolve "HTTP Error 500.19 - Internal Server Error" on IIS7.0 [closed]

Solution 1:

I had the same issue, but reason was different.

In my web.config there was a URL rewrite module rule and I haven’t installed URL rewrite module also. After I install url rewrite module this problem solved.

Solution 2:

Looks like the user account you're using for your app pool doesn't have rights to the web site directory, so it can't read config from there. Check the app pool and see what user it is configured to run as. Check the directory and see if that user has appropriate rights to it. While you're at it, check the event log and see if IIS logged any more detailed diagnostic information there.

Solution 3:

On Windows 10 I had to install ASP.NET 3.5 and ASP.NET 4.6 under Internet Information Services (the other boxes automatically check themselves):

enter image description here

Solution 4:

Finally I get the solution for my problem. The asp.net account not appear in the IIS manager because I didn't check its check Box in IIS to do this in windows 7 follow the steps

  1. Open control panel
  2. Click on” program” link (not uninstall programs)
  3. Click” turn windows features on/off” link
  4. locate” Internet Information services IIS” in the pop up window and expand its node
  5. Expand the” World Wide Web Service” node
  6. Expand “Application Development Features” node
  7. check the check box of”ASP.NET”
  8. Then click ok button

Now you will see the Asp.net account on the IIS manager and by default you see IIS account Now you should move you asp.net website from “my document” to another place the IIS have permission to access it (to any partition on your computer) Now browse your website from IIS manager and it should work.