Asp.net托管(IIS)应用程序不接受网络共享文件夹路径?

时间:2015-10-15 10:18:01

标签: c# asp.net directory

我尝试使用asp.net应用程序访问网络共享文件。但是当我运行应用程序时,我必须访问网络共享文件。但是当我在IIS中托管时,我无法访问相同的共享文件。它确实不接受网络共享文件夹路径。

1 个答案:

答案 0 :(得分:0)

尝试所有步骤

Running IIS6, I had luck adding permissions for the local computer user IUSR.

"Application pool" > "Advanced Settings" > "Identity" > "Custom account"

Set your website to "Applicaton user (pass-through authentication)" and not "Specific user", in the Advanced Settings.

Now give that IUSR_[identifier] the appropriate NTFS permissions on files and folders

Reference link

other link