Hi,
I'm trying to call Web Service located on my computer from asp.net web
application:
WebService ws = new WebService();
ws.Credentials = new NetworkCredential("user", "pwd", "domain/localcomp");
string test = ws.Method(param);
When "user" is the interactive user the call works fine.
When "user" is other user with Administrator's credentials I get 403:
Forbidden.
When I don't set ws.Credentials property at all, I get 401: Unauthorized.
To solve the problem I tried to add in web.config of the WebService
following entries:
<authentication mode="Windows"/>
<authorization>
<allow users="LOCALCOMPUTER\user" />
</authorization>
But it doen't help...
Thanks in advance
Mark Gankin
ma****@cellcom.co.il