[英]Asp.net hosted(IIS) application does not accept the network shared folder path?
I try to access the network shared file using asp.net application. 我尝试使用asp.net应用程序访问网络共享文件。 But I got to access network shared file when I run a application.
但是运行应用程序时,我必须访问网络共享文件。 But i didn't able access the same shared file when i hosted in IIS.
但是当我托管在IIS中时,我无法访问相同的共享文件。 It did't accept the network shared folder path.
它不接受网络共享文件夹路径。
try this all steps 尝试所有步骤
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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.