Man Made Code
Statistics
Total Posts: 34
This Year: 0
This Month: 0
This Week: 0
Comments: 174
Admin
Sign In
Navigation
Home
imorfus (Complete Intranet Solution)
The Alchemist - India
Mix Match Parade
Developers Logic
Speaking Dodo
Programmer's Logic
i-Vista Digital Solutions Pvt Ltd
Recent Posts
How to limit the data returned by each columns in a SELECT statement?
How to swap data between two columns of a table in SQL Server?
Favicon – The little icon on the address bar
Smarter the better – SQL Server tips – part 03
Smarter the Better – SQL Server Tips – Part 02
How do I read excel file data columns as TEXT always?
Applying Windows Integrated Authentication in IIS 6 gives error HTTP 401.1 – Unauthorized: Logon Failed
Smarter the Better – SQL Server Tips – Part 01
Finding Stored Procedure Create and Modified Date in SQL Server
What is the max length of a file name or folder name in Windows OS?
On this page....
Archives
Full Archives By Category
2007 Calendar View
November, 2009 (1)
August, 2009 (1)
July, 2009 (1)
June, 2009 (1)
May, 2009 (2)
April, 2009 (1)
March, 2009 (2)
February, 2009 (5)
January, 2009 (6)
December, 2008 (12)
November, 2008 (2)
<
March 2010
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
Categories
CDOSYS (1)
Classic ASP (10)
Command Line (2)
Databases (16)
Excel (1)
HTML (1)
IIS (10)
Indexing Service (1)
Internet Explorer (7)
Media Streaming (1)
MS.Net (2)
SQA (7)
SQL Server (16)
Windows OS (2)
CDOSYS
Classic ASP
Command Line
Databases
Excel
HTML
IIS
Indexing Service
Internet Explorer
Media Streaming
MS.Net
SQA
SQL Server
Windows OS
Blogroll - Fav Blogs
Geek Speak
Gyan Guru
Acknowledgments
DasBlog Theme Design by:
Tom Watts
E-mail:
Theme Image by:
dreamLogic
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
Technology Blog
« Smarter the Better – SQL Server Tips – P...
|
Main
|
How do I read excel file data columns as... »
Saturday, April 11, 2009
Applying Windows Integrated Authentication in IIS 6 gives error HTTP 401.1 – Unauthorized: Logon Failed
Recently I did hosting of a website on IIS 6 on Windows XP Professional SP2. The website is applied with Basic Authentication and Windows Integrated Authentication. Strangely the Integrated Authentication does not work, but the same website on Windows 2003 Server SP2 works fine. When attempted to browse the website, it does ask for username and password; but does not login and shows the error
HTTP 401.1 – Unauthorized: Logon Failed
.
I did some research on the Internet and found help at Microsoft Support (ref. link below).
This issue is with Windows XP SP2 and Windows 2003 Server SP1, which include a
loopback check security feature
that is designed to help prevent reflection attacks on the computer. When you use the fully qualified domain name (
FQDN
) or a custom host header to browse a local website that is hosted on a computer using IIS 6 shows the error “
HTTP 401.1 – Unauthorized: Logon Failed
”. This happens when the website uses Integrated Authentication and has the name which is mapped to the local loopback address.
The workaround for the issues needs changes in the registry, which should be done correctly else it would lead to serious problems. It’s advisable to keep the backup of the registry before making the changes.
Method 1: Specify Host Names
Open Registry Editor
Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
Right-click
MSV1_0
, point to New, and then click
Multi-String Value
Type
BackConnectionHostNames
, and then press
ENTER
Right-click BackConnectionHostNames, and then click
Modify
In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK
Quit Registry Editor, and then
restart the IIS Admin service
Method 2: Disable the Loopback Check
Open Registry Editor
Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Right-click
Lsa
, point to New, and then click
DWORD
Value
Type
DisableLoopbackCheck
, and then press
ENTER
Right-click DisableLoopbackCheck, and then click
Modify
In the Value data box,
type 1
, and then click OK
Quit Registry Editor, and then
restart your computer
Ref. Link:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;896861
IIS
|
Internet Explorer
|
Windows OS
Saturday, April 11, 2009 1:48:38 PM (India Standard Time, UTC+05:30)
|
Akash Heranjal
|
Disclaimer
|
Comments [0]
|
Trackback
Related posts:
Favicon – The little icon on the address bar
What is the max length of a file name or folder name in Windows OS?
Debugging web pages with IE Developer Toolbar
Using Advanced Stream Redirector (ASX) to stream audio/video through HTTP Protocol
How to open .MSG Outlook file in Internet Explorer from a web application?
Gardening W3WP Worker Processes in IIS Web Garden
All comments require the approval of the site owner before being displayed.
Name
E-mail
(will show your
gravatar
icon)
Home page
Remember Me
Comment (Some html is allowed:
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u
) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.
Enter the code shown (prevents robots):
Live Comment Preview