olisemalis
MIS
Hi,
I´m trying to make an HTTP request to a web site with Integrated windows authentication security.
To pass the credentials I use this code:
Dim MyCredentialCache = New System.Net.CredentialCache
MyCredentialCache.Add(New System.Uri(sURL), "NTLM", _
New System.Net.NetworkCredentia("user", "pass", "domain"))
and then:
HTTPGetRequest.Credentials = MyCredentialCache
However, this is not working. In the IIS log at the computer I´m trying to reach, I can see the credentials are not being send, and so I see a 401 error. I don´t get this error on the client though (it ends with a timeout error).
I´m using VS2005.
Thank you
I´m trying to make an HTTP request to a web site with Integrated windows authentication security.
To pass the credentials I use this code:
Dim MyCredentialCache = New System.Net.CredentialCache
MyCredentialCache.Add(New System.Uri(sURL), "NTLM", _
New System.Net.NetworkCredentia("user", "pass", "domain"))
and then:
HTTPGetRequest.Credentials = MyCredentialCache
However, this is not working. In the IIS log at the computer I´m trying to reach, I can see the credentials are not being send, and so I see a 401 error. I don´t get this error on the client though (it ends with a timeout error).
I´m using VS2005.
Thank you