Writing a file to machine on LAN with ASP.NET. Can't get path statement right?

  • Thread starter Thread starter Curt_C [MVP]
  • Start date Start date
C

Curt_C [MVP]

1) fix your clock
2) how are you pointing to the other machines? \\pcname\share or x:\folder
 
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.
 
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
 
I'm using the \\pcname\directory

Thanks,
Charlie
Curt_C said:
1) fix your clock
2) how are you pointing to the other machines? \\pcname\share or x:\folder
 

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

Back
Top