Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

StreamWriter Error

Status
Not open for further replies.

ArizonaRedneck

Programmer
Oct 25, 2004
61
US
hey ya'll, having a little trouble here. I want to save a text file to a mapped network drive (Y) in asp.net. This works fine and dandy in regular vb.net but when I try the same path in asp.net it says
Could not find a part of the path "Y:\WebTExports\FollowUpAlerts\Mailings.txt".
the vb and the asp are running on the same server



Code:
objWriter = New IO.StreamWriter(New System.IO.FileStream("Y:\WebTExports\FollowUpAlerts\Mailings.txt", IO.FileMode.OpenOrCreate), System.Text.Encoding.ASCII)



any help would be appriciated


-
"Do your duty in all things. You cannot do more, you should never wish to do less." Robert E. Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top