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
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