ASP.NET 401 - Unauthorized, Valid Account

It's a little complicated

I am running a .NET 4.0 site on IIS 7.5 using Windows authentication and starting the site in a custom application pool with Identity set to the domain administrator account (you need to run scripts with administrator rights).

My webconfig is as follows:

<authentication mode="Windows"/> <authorization> <deny users="?"/> </authorization> </system.web> 

Whenever I enter a site using IE8 (it should authenticate me automatically), it asks for my credentials, and I provide some common domain user credentials, they refuse me until it gives me an error: 401 - Unauthorized: access denied due to incorrect credentials.

However, if I put his domain administrator credentials, Iโ€™m granted access, good for me, but bad for my users :)

What's happening?

Some common problems people face are: Installing NTML as the default authentication provider, without cubes. And the wwwroot folder is not used

+4
source share
2 answers

Problem solved itself

+2
source

Have you enabled Windows authentication in your IIS7.5 for the site in your virtual directory?

enter image description here

+2
source

All Articles