M
mt
Hello
Here is my setup
IIS 6 on a Server 2003 machin
..NET framework 1.
I'm trying to copy files from clients to my 2003 server using a HtmlInputFile control.
The code
Tr
'upload the file from the client to the server folde
UploadFileInput.PostedFile.SaveAs("\\servername\e$\folder\file.txt"
Catch ex As Exceptio
'error handling stuf
End Tr
IIS 6 is configured to NOT ALLOW anonymous access. It is set to use windows authentication. The web.config file is set to use impersonation. Authenticated users and the server's ASPNET account have full control over the folder in which I'm trying to dump the files.
When the attempt is made to shove the file into the target folder, I get an "Access to the path "\\servername\e$\folder\file.txt" is denied." error. The mscorlib.dll is the source of the error for whatever that is worth
I can get a step further into the process if I share the folder Then I get this error
Access to the path "c:\windows\system32\inetsrv\file.txt" is denie
I really rather use the first method and skip sharing.
Any ideas? I'm sure it is something obvious
Regards
m
Here is my setup
IIS 6 on a Server 2003 machin
..NET framework 1.
I'm trying to copy files from clients to my 2003 server using a HtmlInputFile control.
The code
Tr
'upload the file from the client to the server folde
UploadFileInput.PostedFile.SaveAs("\\servername\e$\folder\file.txt"
Catch ex As Exceptio
'error handling stuf
End Tr
IIS 6 is configured to NOT ALLOW anonymous access. It is set to use windows authentication. The web.config file is set to use impersonation. Authenticated users and the server's ASPNET account have full control over the folder in which I'm trying to dump the files.
When the attempt is made to shove the file into the target folder, I get an "Access to the path "\\servername\e$\folder\file.txt" is denied." error. The mscorlib.dll is the source of the error for whatever that is worth
I can get a step further into the process if I share the folder Then I get this error
Access to the path "c:\windows\system32\inetsrv\file.txt" is denie
I really rather use the first method and skip sharing.
Any ideas? I'm sure it is something obvious
Regards
m