Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 23, 2013 01:53 PM by CruzerB
Jan 23, 2013 12:06 PM|LINK
i have added a web refernce of Exchange web service and given my credentials. i m able to work with this on localhost ,
while i am running it on server or to any other machine , its giving me an error - "The request failed with HTTP status 401: Unauthorized."
things i have tried but did'nt worked -
1.enable anonymous authenication
2.given folder permission
3. used service.UseDefaultCredentials = true;
please help me out , if there is any other way i can try .
Jan 23, 2013 01:53 PM|LINK
I think you were saying that the request fail at connect to the web services. Do you have Binding session in the application config file? I have a sample to resolve the authentication issue by using
<transport clientCredentialType="None" proxyCredentialType="None"
<message clientCredentialType="UserName" algorithmSuite="Default" />