471,309 Members | 1,080 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,309 software developers and data experts.

The request failed with HTTP status 401: Access Denied.

Just create a web service and web site.
First wsdl webservice and installed with website i am getting access
denied error.
Second tried web referance my service from website with VS and still
getting access denied error. I am using window auth. This also happens
when i use SQL connection.
so far i have tried.
1. Configure IIS with anonymous access No luck.
2. used Credential access no luck.
ColService.CollectService colsrv = new CollectService();
System.Net.NetworkCredential nc = new
System.Net.NetworkCredential("mgr","pass","myDom") ;
colsrv.Credentials = nc;
Label1.Text = colsrv.MyMehhod();

3. Have try to change web.config. this works for sql conn. Not for web
service.
<identity impersonate="true" userName="Mydom\mgr" password="pass" />

Nov 30 '05 #1
0 1089

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Robin Chatterjee | last post: by
7 posts views Thread by Dhwanil Shah | last post: by
3 posts views Thread by Simon | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.