There is a point to this story, but it has temporarily escaped my mind...
Contact Me MyFaceBook MyLinkedIn MyGitHub MyTwitter

IIS Express -- HTTP Error 401

I recently reinstalled my development workstation and ran into an strange access denied issue when I tried to debug an MVC application that I had worked on previously without issue. No matter what I did, I continued to receive an access denied message any time that I tried to access the application.

After doing some research on the Internet, I realized that my application uses Windows Authentication and IIS Express seems to disable this by default:

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

The simple solution to this problem is to change the “enabled” attribute to true…

Copyright © 2022 by Julian Easterling. SOME RIGHTS RESERVED.
Privacy Policy              Terms of Use             


Creative Commons License
Except where otherwise noted, content on this site is
licensed under a Creative Common Attribution-Share Alike 4.0 International License.


All of the opinions expressed on this website are those of Julian Easterling and
do not represent the views of any of my current and previous clients or employers in any way.

If you notice an error on the site or content that has not been properly attributed, bring
it to my attention using the contact page and I will endeavor to fix it as soon as I can.

I accept no responsibility or liability for any damages incurred by following any of
my advice or by using any of the information on my site or of those sites that I link to.