Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 126543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:20:04+00:00 2026-05-11T05:20:04+00:00

I have a web service running in IIS 6.0 on Windows 2003. It’s authentication

  • 0

I have a web service running in IIS 6.0 on Windows 2003. It’s authentication mode is Integrated Windows security (anonymous disabled), and authorization is done with Authorization Manager and an XML authorization store. My test user is a domain user (admin, actually) with membership in an authorized role.

I am testing this (for now) on the web server (localhost), and using (for now) Internet Explorer to access the web service (.asmx).

I can successfully open the web service (wsdl) page through localhost, like this:

http://localhost:8080/MyService/MyService.asmx 

Using this url, integrated windows authentication succeeds (silently), and I am sucessfully authorized by AzMan to access the service. The same goes for the server name:

http://myserver:8080/MyService/MyService.asmx 

Now I need to use the external host name (www.mysite.no) to access the service (this in order to get ssl to work with a certificate issued to that sitename). To do this, I add the host name to my HOSTS file, like this:

127.0.0.1   www.mysite.no 

…then type this into IE:

http://www.mysite.no:8080/MyService/MyService.asmx 

What happens then is that authorization fails. I get the IE/Windows login box and enter my correct credentials three times. Then I get a 401.1:

HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials. Internet Information Services (IIS) 

How is authorization through AzMan influenced by the host name?

Edit: I have reason to believe AzMan has nothing to do with it – it seems to be the authentication that fails.

I have reproduced the problem on another server. The essence seems to be that accessing localhost via an entry in the local host file somehow messes up the integrated windows authentication between the browser and IIS.

I have worked around the problem, now my curiosity is all that’s left…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:20:04+00:00Added an answer on May 11, 2026 at 5:20 am

    Enable audit login failure auditing & check the security event log on the host.
    1) On the webserver, go to Control Panel, Administrative Tools, Local Security Policy. 2) Go to local policies, audit policy. Add failure for ‘audit logon events’.
    3) Close the MMC. Open a command prompt and type gpupdate. 4) browse to http://www.mysite.no. You will get the error again. 5) Launch event viewer (control panel, admin tools, event viewer). Navigate to the security event log and look for the login failure(s).They shoudl tell you something descriptive, like ‘the user has not been granted the specified logon type’. Unfortunately the login type itself is not descriptive; logon type 2 is interactive (locally), 3 is ‘access this computer over the network’, 5 is ‘logon as a service’ (NT service, not WCF service). The rights required can be granted in the local security policy.

    Also, check to see if you have a proxy enabled in IE. If your traffic is being routed to the proxy, it is possible that the proxy does not support NTLM. Add the host as a proxy exception while you test using IE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have web service, which use integrated security in IIS. Now, I want to
I have a WSE 3.0 based web service running in Windows Server 2003 under
I am running on Windows 7/IIS 7.5, and have a web service set up
I have a web service that is running on IIS (6 or 7, doesn't
I have a ASP.NET 1.1 application running on IIS 6 / Windows Server 2003.
I have web-services applications, running on Windows Server 2003. These hosts (each of them
We have a .NET 3.5 Web Service ( not WCF) running under IIS. It
We have Windows Service with tcp binding. It has a transport security mode and
I have a WCF web service that I am hosting in IIS (actually running
I am running windows vista business 64 bit. I have a web service that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.