question

uuuk-5175 avatar image
0 Votes"
uuuk-5175 asked SamWu-MSFT answered

HTTP Error 500.19 when access localhost

Hi there,

When I tried to access localhost, but I got the following error, can someone tell me why this is?

135948-1.png


windows-server-iis-generalwindows-server-iis-troubleshooting
1.png (23.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SamWu-MSFT avatar image
0 Votes"
SamWu-MSFT answered

Hi @uuuk-5175

This problem can occur if the specified portion of the IIS configuration file is locked at a higher configuration level. you can try to unlock the specified section, or don't use it at the higher level. For more information about configuration locking.

  1. Go to C:\Windows\System32\inetsrv\config\applicationHost.config.

  2. Change the following key value present in:
    a. <section name="handlers" overrideModeDefault="Deny" /> change this value from "Deny" to "Allow".
    b. <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> change this value from "Deny" to "Allow".

More information you can refer to this link:

  1. How to Use Locking in IIS Configuration.

  2. overrideModeDefault and allowDefinition attributes.


If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.