Mariusz, Gorzoch tech Blog

SharePointWarmupJob & (401) Unauthorized.

leave a comment »

Recently I’ve installed SharePointWarmupJob on our production enviroment to improve performance of the first mainpage load and in the same way make early users more happy about our intranet solution. In the past I was using this solution on my dev machine and was quite happy about it. So, this time I decided why not do the same for our users. I’ve downloaded solution, puted on the central admin, added to the solution store and deployed. DONE! … or actually, not exacly. After a while I found strange error message on our central admin server:
On the beggining I thought that it has something to do with security around "Sharepoint timer service", but soon I found that this is not the issue (account used to host this service has access to the page the job was trying to query). I dig for a while and found the solution here KB 896861. In the nut shell this issue comes from the SP1 for Windows 2003, where Microsoft introduced loopback security check. The feature prevents access to a web application using a fully qualified domain name (FQDN) if an attempt to access it takes place from a machine that hosts that application. The end result is a 401.1 Access Denied from the web server and a logon failure in the event log.
As you can see in KB this can be fixed thru two ways:
1. Disabling this check (not recomended solution for production servers)
2. Configuring list of the hosts (FDQM) which can be queried from the server. (prefered way of doing this on the server)
Details around how to do it, are provided in the KB. After I’ve applied the secound option and restarting IIS admin service – everything went to normal and I didn’t saw the issue anymore.

Written by Mariusz Gorzoch

29 July 2009 at 19:51

Posted in SharePoint

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: