Robbo_2020

I have created a custom ASP.NET page in MS Sharepoint 2007. I want to use the objXMLDoc.load function to load an XML file.
However since Sharepoint uses virtual directories, if I try to use objXMLDoc.load(Server.MapPath(vFilename)) I get an error message 'File not found' since the Server.MapPath corresponds to a physical file location rather than a virtual file location. How can I load an XML file in an MS SharePoint custom page Any answers very much appreciated. Thanks.



Re: SharePoint - Development and Programming Unable to load XML using SharePoint custom page

Palaniapan

I have the same problem, Let me know if you find the solution..




Re: SharePoint - Development and Programming Unable to load XML using SharePoint custom page

ganesh

where did you place that XML file

did you try placing the file in the bin folder or wpresources folder