By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,737 Members | 1,478 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,737 IT Pros & Developers. It's quick & easy.

XML Send Error

P: n/a
Hi, I'm trying to send (valid) XML using the function below and get an
Access Denied Message on the line objXMLHTTP.send(xmldoc) when running the
aspx on
a Win2003 Server but the very same code works on Win2000 server.

Private Function SendToSS3(ByVal Input As String) As String

Dim xmldoc As New MSXML2.DOMDocument40
Dim objXMLHTTP As New MSXML2.ServerXMLHTTP40

xmldoc.resolveExternals = False
xmldoc.async = False '##

Dim Loaded As String = xmldoc.loadXML(Input)

objXMLHTTP.open("POST", https://sitename, False)

objXMLHTTP.send(xmldoc)

Loaded = xmldoc.loadXML(objXMLHTTP.responseText)

' Debug.Write(objXMLHTTP.responseText)

Return objXMLHTTP.responseText
End Function
Nov 11 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.