Most likely you are having security issue.
The problem is that ASP.NET account is not domain account and you can not
give permissions to folder on another machine.
Make this folder accessible to everyone on that machine,
George.
"Charlie@CBFC" <ch*****@comcast.net> wrote in message
news:ek**************@TK2MSFTNGP11.phx.gbl...
I'm using the \\pcname\directory
Thanks,
Charlie
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OT**************@TK2MSFTNGP11.phx.gbl... 1) fix your clock
2) how are you pointing to the other machines? \\pcname\share or
x:\folder
--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Charlie@CBFC" <ch*****@comcast.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Hi:
My ASP.NET application writes a file to hard drive. The problem I'm
having is getting a valid path to another machine on LAN to receive file. It
works fine when writing to virtual directory or local hard drive, but when I try to point it at another machine on LAN (not machine web server is
running on) it bombs. How do you define such a path for the File.CreateText()
method constructor?
Thanks,
Charlie