RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
From: mklapp (mklapp_at_zippy.com)
Date: 02/25/04
- Previous message: Chad Z. Hower aka Kudzu: "Re: Is it possible to screen scrape a secure site (HTTPS)....."
- In reply to: mt: "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 25 Feb 2004 13:56:06 -0800
I am working through this very thing (a little different).
You probably have to build a credential cache.
Dim credCache As New System.Net.CredentialCache
Dim uid As String
Dim pwd As String
dim ws as new my.webservice
uid = "realUser"
pwd = "realPassword"
credCache.Add(New Uri(ws.Url), "Basic", New System.Net.NetworkCredential(uid, pwd))
ws.Credentials = credCache
ws.method()
This will likely work. Obviously you won't want to keep real Passwords and user ids in your program.
- Previous message: Chad Z. Hower aka Kudzu: "Re: Is it possible to screen scrape a secure site (HTTPS)....."
- In reply to: mt: "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]