When I tried to access localhost, but I got the following error, can someone tell me why this is?
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.
Change the following key value present in:
<section name="handlers" overrideModeDefault="Deny" /> change this value from "Deny" to "Allow".
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> change this value from "Deny" to "Allow".
More information you can refer to this link:
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.
3 people are following this question.