Hi,
Hopefully there is a solution to this one.
1 Server 2003 standard edition, thus IIS6, setup to use Integrated +
Basic authentication. Anonomous access is turned off for the target
page.
Code is as folows and produces a 401.1 error
Dim objXmlHttpCat, strURL
strURL =
strUnSecureURL&"/admin/order/invoiceprint.asp?noadminlogin=true&noprint=true&ID="&id&","
Set objXmlHttpCat= Server.CreateObject("Msxml2.ServerXMLHTTP.4.0")
objXmlHttpCat.open "GET", strURL, False, "username", "password"
objXmlHttpCat.send ""
strBody = Replace(objXmlHttpCat.ResponseText, "?", "")
Set objXmlHttpCat = Nothing
However when I turn off Integrated auth (thus using basic) it works
fine and retrieves the page.
I have not got a proxy server and have tried running proxycfg -d and
proxycfg -d -p " " "*" to no avail.
I assume that ServerXMLHTTP can work with Integrated auth, but how do I
go about setting this up?
Am at a loss after much scouring...
Thanks for any help.
Lee Tracey
>> Stay informed about: 401 Error ServerXMLHTTP/Integrated Auth Problem