简体   繁体   中英

IIS application pool access to remote directory on network

I am trying to create file in remote directory on network within .ashx asp.net handler using File.Create(string path)

I am getting error that access to this path is denied. I tried to change identity setting application pool to 'network service', to 'local system', still getting access denied.

Via file system manager I can create files in mentioned remote directory with no problems.

Maybe someone had this kind of problem? What setting could be useful in application pool to solve this issue?

Thanks in advance!

您需要创建具有适当权限的网络用户,并分配应用程序池标识以使用此网络用户。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM