Hi,
Have you configured the IIS virtual directory to use Windows Authentication
?. According to what you said, it seems like you configured the virtual
directory with Basic Authentication.
The DefaultCredentials only work with Windows Authentication.
Regards,
Pablo Cibraro.
<mbrand@gmail.comwrote in message
news:1163628371.869031.38140@e3g2000cwe.googlegrou ps.com...
Quote:
When trying to connect to my web service from a client application, the
System.Net.CredentialCache.DefaultCredentials doesn't authenticate
properly.
>
I can see in the event viewer on the server (windows server 2003) that
my domain/username are getting passed properly but it gives a 529
error. If I hard code in my credentials using:
Service.Credentials = new System.Net.NetworkCredential("Username",
"Password", "Domain")
it authenticates properly.
>
Is there some sort of intermediary user account that doesn't have the
proper priveleges?
>
Also, in the web.config I've set <identity impersonate="true"/and
<authentication mode="windows"/>
In IIS I have anonymous access turned off and integrated windows
authentication turned on.
>