Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XMLHttp object error

Status
Not open for further replies.

Pipe2Path

Programmer
Aug 28, 2001
60
Has anyone seen the following error on the XMLHTTP object?

"Internal server error". The xmlhttp.Status value is 500.
This happens when I try to send a dom document to an asp page using XMLHttp.Send domdocument. I have even tried using XMLHttp.Send domdocument.xml

Please help!!!!

Thanks.
 
Post more of your code. With the ASP page that is creating the xml you shouldn't need to instantiate the XMLHTTP object, only output like so:
Code:
<%
Option Explicit
Response.ContentType = &quot;text/xml&quot;

Response.Write &quot;<myxml>&quot;
Response.Write &quot;<achild>&quot;
Response.Write &quot;some text in child&quot;
Response.Write &quot;</achild>&quot;
Response.Write &quot;</myxml>&quot;
%>

Or if you are using an XMLDOM object to create your original xml file just set the response type like above and then Response.Write yourObject.xml

-Tarwn
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...) :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top