Author: techtravis | Posted on: 3/5/2010 12:22:27 PM | Views : 506

Really hoping someone can help me out with this....
This is all being ran on a company Intranet.
I am trying to do a screen scrape from another webhost.  The following works when ran from my local machine.  but fails when ran from the IIS6.0 server.  Web.config is set to Windows Authentication.   Server is set to windows integrated authentication

Dim _response As String Dim _auth As String = "NTLM" Dim _uri As Uri = New Uri(url) Dim _req As HttpWebRequest = WebRequest.Create(_uri) Dim _cc As CredentialCache = New CredentialCache() Dim _res As HttpWebResponse Dim _sr As StreamReader Try _cc.Add(_uri, _auth, New NetworkCredential("UN", "PW", "CORP")) _req.PreAuthenticate = False _req.Credentials = _cc.GetCredential(_uri, _ ...

Go to the complete details ...