troubleshooting Question

web service using windows authentication gives access denied error

Avatar of 5281
5281 asked on
.NET ProgrammingC#ASP.NET
4 Comments1 Solution932 ViewsLast Modified:
I have a simple web service to get user's username who has been authenticated by Windows.  I have to set this web service as Integrated Windows Authentication in IIS.  It works fine on my localhost, but when it is moved to server, it will have problem, when you access it on server, it will pop up a login windows 3 times, then gave you the following messages:

Access is denied.
Description: An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources.

Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists). Ask the Web server's administrator to give you access.

However, I believe user who has system administrator right can view this web service without any problem.  And if the web service is set as anonymous access, it would work fine on server, only when it set as windows authentication, it will give above error message.  
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros