Error: Could not find a part of the path

J

jessica

Hi, I got a problem "Could not find a part of the path". On my loca
machine I mapped the V:\LoggerNet to a remote server folder where th
real-time data come in. I checked the file, it gets updated with th
original server source. The code is like

streamreader sr=null;
sr = File.OpenText("V:\\LoggerNet\\newdata.dat");
text = sr.ReadToEnd();

But when I run the code, it gave error "Could not find a part of th
path "V
:\LoggerNet\newdata.dat" on my webpage. The program is using C# an
ASP.NET.

Does anyone have any idea why this happen and how to solve it?? Thank
a lot!

Jessic


-
jessic
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,701
Latest member
XavierQ83

Latest Threads

Top