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!

knotty problem

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Can anyone tellme whats wrong with this piece of code

dim xmldoc, root

set xmldoc = Server.CreateObject("microsoft.xmldom")
ls_filepath = Server.MapPath("xxxx.xml")
xmldoc.load(ls_filepath)

set root = xmldoc.documentElement

IE 5.5 gives the following error
Microsoft VBScript runtime (0x800A005B)
Object variable not set

the line which corresponds to the error is

set root = xmldoc.documentElement


The same stuff is working for another page in another applicaiton.

Advance thanks for any help
suresh


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top