Join me at Google+ ...

Ok this was one of the weeks where I had some trouble with my environment…

After a year without problems this week had some challenges for me. 

HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.

Here is the scenario: I have a development environment with Windows Server 2003 SP1 as a domain controller and Windows Server 2003 R2 as the SharePoint 2007 server. After applying a lot of updates I wasn’t able to browse my SharePoint web:

"You are not authorized to view this page"

“You do not have permission to view this directory or page using the credentials that you supplied.”

“HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.”

Soon I discovered that the reason was neither related to the SQL Server nor to insufficient permissions within SharePoint.

After doing an IIS reset the SharePoint web immediately  prompted for an login without even starting the application pool.

You are not authorized to view this page error message.

Solution

I remembered that I had tried to enable Kerberos on the image which did not succeed. I also created SPNs in the active directory… So I just changed the IIS Authentication Settings to Kerberos and it worked again.

Solution was to enable kerberos in central administration for the web application.

Ok enough challenges for the month… ;)



Get updates

 

Comments (3) -

5/27/2009 3:11:36 PM #

There is something strange with Kerberos and IE 8, when i use Firefox everything works fine.

roger Sweden Reply

12/2/2009 6:35:25 PM #

Worked like a charm!  I had a redirect from HTTP to HTTPS that was giving me a three strikes and you're out authentication which brought me to the 401.1 page.  Once I made this change, the redirection worked without prompting for a login.  Of course it was also important to set my NTAuthenticationProviders to "Negotiate,NTLM" with the cscript adsutil.vbs command to enable Kerberos authentication on the sharepoint site.

Pete Hainlen United States Reply

4/6/2011 5:54:24 AM #

Thanks for the post. I had copied over a kerberos authenticated site over to a test farm and was getting this error. Returning the site to NTLM (no kerberos) fixed the error.

Rebecca Australia Reply

Add comment




  Country flag
biuquote
Loading