ramesh p

ramesh p

  • NA
  • 109
  • 0

Is not a valid virtual path

Apr 14 2009 3:47 AM

I am reading one xml file from the server. I have given path like this:

string xmlFilePath = Server.MapPath("http://rnd-johnf.atcl.com/NotifierService/Notifications.xml");

if (File.Exists(xmlFilePath))

{

}

I am getting error in the path 'http://rnd-johnf.atcl.com/NotifierService/Notifications.xml'  Is not a valid virtual path

Please help me....

Thanks in advance.....

 


Answers (3)