The original Microsoft support article is here: http://support.microsoft.com/kb/896861Cause:This issue occurs if you install Microsoft Windows XP Service Pack 2 (SP2) or Microsoft Windows Server 2003 Service Pack 1 (SP1). Windows XP SP2 and Windows Server 2003 SP1 include a loopback check security feature that is designed to help prevent reflection attacks on your computer. Therefore, authentication fails if the FQDN or the custom host header that you use does not match the local computer name.
Fix:
To set the DisableLoopbackCheck registry key yourself, follow these steps:
This examble is using a table variable.
DECLARE @People TABLE ( ContactID INT, FirstName NVARCHAR(50), LastName NVARCHAR(50) ) INSERT @People (ContactID, FirstName, LastName) EXEC dbo.GetPeopleByLastName @LastName = 'Alexander'