401 1 5 - web service refusing access

P

pkermeen

Hi,
I'm having trouble getting a .net 1.1 web site calling a .net 2.0 web
service to impersonate the calling client.

I'm using
WebServiceProxy.Credentials =
System.Net.CredentialCache.DefaultCredentials

And the web sites are both using integrated windows authentication,
with Anonymous access switched off.

Both web server and web service have

<authentication mode="Windows" />
<identity impersonate="true"/>

Set in the web.config

Both sites are using App pools that use the IWAM account, who is
allowed to do impersonation.

The web service log shows:
2006-11-15 10:49:20 W3SVC1169898807 172.16.45.169 POST /Service.asmx -
82 - 172.16.40.254
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+1.1.4322.2300)
401 2 2148074254
2006-11-15 10:49:20 W3SVC1169898807 172.16.45.169 POST /Service.asmx -
82 - 172.16.40.254
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+1.1.4322.2300)
401 1 0
2006-11-15 10:49:20 W3SVC1169898807 172.16.45.169 POST /Service.asmx -
82 - 172.16.40.254
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+1.1.4322.2300)
401 1 5
when the call fails. The 401 5 is an ISAPI/ CGI authorisation issue i
think, so it looks like the web site is not passing the appropriate id
when challenged.

The web server is showing my id when i ask it:
_userID = context.User.Identity.Name; so it appears to be using
impersonation....

Any ideas?
 

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

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top