Hi,
I am trying to load an XML file from a path ( using the XMLDOM, but everytime I try this it fails and gives me the following error:
Server.MapPath() error 'ASP 0173 : 80004005
Invalid Path Character
An invalid character was specified in the Path parameter for the MapPath method
Now the code I am using is:
Dim objXML
Set objXML = Server.CreateObject("Microsoft.XMLDOM"
objXML.async = False
objXML.Load(Server.MapPath("
Its the last line which is failing.. and I cannot see any kind of invalid character in the path..
If I use a alternative path, ie, (C:\test\xml\file.xml) then the XML file loads fine, but its only with this http path that it doesn't seem to work.
Does anyone know what is going on?
Any ways around this, as I really need to access the XML file via the http method.
Any help is appreciated.
Thank you
I am trying to load an XML file from a path ( using the XMLDOM, but everytime I try this it fails and gives me the following error:
Server.MapPath() error 'ASP 0173 : 80004005
Invalid Path Character
An invalid character was specified in the Path parameter for the MapPath method
Now the code I am using is:
Dim objXML
Set objXML = Server.CreateObject("Microsoft.XMLDOM"
objXML.async = False
objXML.Load(Server.MapPath("
Its the last line which is failing.. and I cannot see any kind of invalid character in the path..
If I use a alternative path, ie, (C:\test\xml\file.xml) then the XML file loads fine, but its only with this http path that it doesn't seem to work.
Does anyone know what is going on?
Any ways around this, as I really need to access the XML file via the http method.
Any help is appreciated.
Thank you