401 Error "UnAuthorized" -- need Help

R

Rahul

This Question has been asked by many.
But i still didn;t get the clue how to solve.

I have a machine A in which my web service resides.
I have another Machine B which on Which Sharepoint Web Service resides,

Machine A web Service makes use of SharePoint Web Service sitting on
Machine B.

I have tried mostly all the credentials , NetwordkCredential,
DefaultCredential and it just doesn't work.

I even tried creating a new Credential Object and made use of
NetworkCredential object by givinf Account Name ,Domain and Password
and using it with Basic Authentication type , but it doesn't work.

Any Ideas how can i get away with this error.

Thanks
 
D

Dale

I don't know if these are your problems or not but here are my suggestions to
check:

If you use:
System.Net.CredentialCache.DefaultCredentials
make sure your web site is configured for Windows authentication.

If you use Anonymous access, make sure that your IUSR_ComputerName account -
or whichever account you use for anonymous access - has appropriate
permissions on the webservice file system folders.

Dale
 

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,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top