D
Dale
I know (or certainly think I remember) that this was working last time I
looked but when I deployed a new version of my project to the development
web server, suddenly I seem to have forgotten everything I knew about web
services authentication. Every attempt to use the service results in a 401
error. I am running the app from IE on my pc, the web server is on another
box, and the web service runs on a third box. Both server boxes run in a
clustered environment.
I have made sure that:
1. anonymous access is off to the ASP.Net and the web services applications
2. <identity impersonate="true"> is on both web.config files
3. in theASP app, I have the line: myService.Credentials =
System.Net.CredentialCache.DefaultCredentials;
I have even tried making a simple client for the default HelloWorld service,
putting them both in the same folder on the web services server, and I get
the same 401 error. The only way to get around the error is enable
anonymous access but then, of course, my code doesn't work because I have no
User.Identity information where I need it for authorization.
What am I missing?
Thanks in advance!
Dale
looked but when I deployed a new version of my project to the development
web server, suddenly I seem to have forgotten everything I knew about web
services authentication. Every attempt to use the service results in a 401
error. I am running the app from IE on my pc, the web server is on another
box, and the web service runs on a third box. Both server boxes run in a
clustered environment.
I have made sure that:
1. anonymous access is off to the ASP.Net and the web services applications
2. <identity impersonate="true"> is on both web.config files
3. in theASP app, I have the line: myService.Credentials =
System.Net.CredentialCache.DefaultCredentials;
I have even tried making a simple client for the default HelloWorld service,
putting them both in the same folder on the web services server, and I get
the same 401 error. The only way to get around the error is enable
anonymous access but then, of course, my code doesn't work because I have no
User.Identity information where I need it for authorization.
What am I missing?
Thanks in advance!
Dale