Copy data to a file server with ASP .NET 2.0

  • Thread starter Lorenzo Soncini
  • Start date
L

Lorenzo Soncini

Buongiorno,
I have a problem with an ASP.NET 2.0 and Wisual studio 2005 on a Windows
2003 enviroment.
I have an ASPNET Web Apllication who create some directory and copy some
file using an ASPX page on a shared folder off our file server.

On a IISSERVER who run the WebApplication on a specific application pool in
IIS 6.0 (Windows 2003), I have changed the identity of the Application pool
and now run as <DOMAIN\UsersAccount> (if I look in the task manager I see
the correct owner of the peocess w3wp.exe is <DOMAIN\UsersAccount>)
On a file server, is a Windows 2003 cluster, the user <DOMAIN\UsersAccount>
have the correct permission on the correct share

I have prepared a text page who only create a directory by the the command :
System.IO.Directory.CreateDirectory(\\SERVER\share\directory)

If I access on my dev machine with <DOMAIN\UsersAccount> and run the
"ASP.NET application" using the embedded server in VS2005 all work fine.
But the same application run on IISSERVER generate the error "access denied
on \\SERVER\share\directory"

In the log I see two row of the POST command of the page: the first without
the username (there is a - symbol) and the second with the correct user
name.

Any suggestion?
Sorry for my english, I'm studing it :)
Lorenzo Soncini
Trento (TN) - Italy
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top