File Creation on Network

  • Thread starter Thread starter abhanjee
  • Start date Start date
A

abhanjee

Hello,

I am facing some challenges in creating a folder in the file server on
the same network. The application will create a folder on the network
share when the user clicks a button. This works when testing from my
PC as local host.

However, when I run this application from webserver (with the same
settings as my localhost) I get Access To the Path xxxx is Denied.

- I have set the impersonate to true in the webconfig file and
unchecked anonymous access on IIS (using integrated Windows access).

- My network user account has read/write access to the network folder.

- I double checked the identity being used on the applicatioin using
WindowsIdentity.GetCurrent().Name and it shows my user account.

- If I specifically enter the user name and password in the impersonate
tags this works. I do not wish to take this route because there is
more than one user.

Can anyone shed some light on what I might be missing?

Thank you for your time and help.

AB
 
Abhanjee,

You know that in ASPNET all things are done by the ASPNET user, that is the
first thing almost everybody is strubling with.

Cor
 
Back
Top