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