WS status 401:Unauthorized

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.
 
J

John Timney \(ASP.NET MVP\)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top