VB.net & XML
-
Hi All... I am trying to load xml file with code mentioned below. Dim XMLDc as XML.XMLDocument XMLDc.Load(file.Path) The problem in above is some file is getting uploaded where as xml file is not. It gives error 'Check the path' where all file is in same folder. Say the path is "D:\Project" there is 3 files 1.xml, 2.xml, 3.xml 1.xml & 3.xml is getting uploaded and 2.xml is not. Generate Error 'Check the path and file should exist' Please explain me the error and how to solve it... Thanx in advance...
Shazz here to help you...
-
Hi All... I am trying to load xml file with code mentioned below. Dim XMLDc as XML.XMLDocument XMLDc.Load(file.Path) The problem in above is some file is getting uploaded where as xml file is not. It gives error 'Check the path' where all file is in same folder. Say the path is "D:\Project" there is 3 files 1.xml, 2.xml, 3.xml 1.xml & 3.xml is getting uploaded and 2.xml is not. Generate Error 'Check the path and file should exist' Please explain me the error and how to solve it... Thanx in advance...
Shazz here to help you...
There is nothing that would cause that error for only one of the files that you described.
Shazz Rock wrote:
Say the path is "D:\Project" there is 3 files 1.xml, 2.xml, 3.xml
Say what the real file names are instead. Also, where do you get the value for
file.Path
?Despite everything, the person most likely to be fooling you next is yourself.