WS status 401:Unauthorized

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a web service that works fine on the development server
but will not work in production. In IIS Admin I have tried
just about everything to get past the HTTP status 401:Unauthorized
error with little or no success. I have tried everythng from
allowing anonmousy access to allowing script source access.
I have also tried passing the creditials but I never receive anthing
but this generic server error. I can execute the WS directly but
when I try to call it from another web page I always get this error.
Any ideas ? Is there any way to get an error that is not this generic.
 
When you call it directly its probably running with your credentials which
is why it works. Try enabling impersonation in the web.config for the
application and see if you see any difference when calling it from a client.
If that dosn't work - give it and the client web page a named account to
impersonate in each web.config.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
Back
Top