Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

401 Error ServerXMLHTTP/Integrated Auth Problem

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  SAP KM - WebDAV server on IIS 6.0  
Author Message
Lee Tracey

External


Since: Sep 07, 2005
Posts: 1



(Msg. 1) Posted: Wed Sep 07, 2005 5:39 am
Post subject: 401 Error ServerXMLHTTP/Integrated Auth Problem
Archived from groups: microsoft>public>inetserver>iis (more info?)

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/i­nvoiceprint.asp?noadminlogin=t­rue&noprint=true&ID="&id&","

Set objXmlHttpCat= Server.CreateObject("Msxml2.Se­rverXMLHTTP.4.0")
objXmlHttpCat.open "GET", strURL, False, "username", "password"
objXmlHttpCat.send ""
strBody = Replace(objXmlHttpCat.Response­Text, "?", "")
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 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]