SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a simple web service that is in a virtual directory under a WSS 3.0 web app virtual directory. If I log on to the box and use IE to execute the web service it works. If I write a web part it fails with:

The request failed with HTTP status 401: Unauthorized

The really strange thing is that it works in production, but not the new test server! I have looked at both web.configs and IIS settings and see no differences. Both boxes are running Server08, IIS7 and WSS 3.0 (

Any ideas?

share|improve this question
up vote 2 down vote accepted

Check the loopback issue:

share|improve this answer
looks like you sniped me.... – Mike Oryszak Jun 9 '10 at 21:18
Sad thing is that I knew about this and did not check it because I thought I already had! – Mike Polen Jun 11 '10 at 12:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.