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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error while loading an XML file

Status
Not open for further replies.

nondrinker

Programmer
Jan 23, 2002
53
0
0
US
Dim xmla
Dim lstElements
Dim xmldocumenta

Dim strDocument
Dim Parse_Err
Dim Loaded
Dim OrderResponse


Set xmla = Server.CreateObject("Microsoft.XMLDOM")


xmla.validateOnParse = true
xmla.async = false

Loaded="0"
xmla.load("C:\inetpub\
If xmla.parseError.errorCode <> 0 Then
Loaded = 0
Set nodeBook = xmla.selectSingleNode("Location/Street1")


Response.Write nodeBook
Else
esponse.Write xmla.parseError.errorCode
Response.Write objXML.parseError.reason
Response.Write objXML.parseError.line

End if


********************************************
I keep getting this erro:

Response object, ASP 0185 (0x80020003)
A default property was not found for the object.
/xml/send_test.asp

*****************************************

All i am trying to do is load an XML file, but i keep getting this error.

Any suggestions?

Thank you.
 
This error means the ASP doesnt know how to output the Response.Write bit.

Try:
Code:
Response.Write nodeBook.text
 
Thank you very much it worked. I have another question about base64 decoding also.

I have an ASP page, where i am trying to decode a base64 file back to its origianl pdf format. In another process, i am already able to convert the pdf file to base64, but now i was wondering if there is any code out there where i can decode the file back to the original pdf?

Thank you.
 
nondrinker -
One question per thread, please. Otherwise the topic doesn't match the content.

Thanks.
Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top