A
AA
I want to copy a file from within an ASP.NET page using
File.Copy(file1,file2). Both file1 and file2 are given in UNC
notation, like "\\MACHINE1\c$\xyz\file.txt". The ASP.NET page
impersonates a user that has access to those files. I get an error
stating that the file does not exist. If I try from within a windows
app I have no problem. I think the problem is that aspnet_wp.exe runs
under ASPNET's identity.
Can you give me further help?
Thx,
Alejandro
File.Copy(file1,file2). Both file1 and file2 are given in UNC
notation, like "\\MACHINE1\c$\xyz\file.txt". The ASP.NET page
impersonates a user that has access to those files. I get an error
stating that the file does not exist. If I try from within a windows
app I have no problem. I think the problem is that aspnet_wp.exe runs
under ASPNET's identity.
Can you give me further help?
Thx,
Alejandro