Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  




           


Debug site in edge with iis express gives 401 error
On a new windows 10 box, debugging .NET site with Windows Authentication in IE Edge with iis express gives 401 error.

Solution:
In solution root, browse to hidden .vs subfolder.
Edit applicationhost.config

Find the 2 windowsAuthentication spots and change to:
A)
<section name="windowsAuthentication" overrideModeDefault="Allow" />

B)
<authentication>

<anonymousAuthentication enabled="false" />

<basicAuthentication enabled="false" />

<clientCertificateMappingAuthentication enabled="false" />

<digestAuthentication enabled="false" />

<iisClientCertificateMappingAuthentication enabled="false">
</iisClientCertificateMappingAuthentication>

<windowsAuthentication enabled="true">
<providers>
<add value="NTLM" />
<add value="Negotiate" />
</providers>
</windowsAuthentication>

</authentication>

Created By: amos 12/9/2019 3:29:57 PM