简体   繁体   English

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

[英]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

Reference link 参考链接

other link 其他连结

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用具有凭据的网络共享路径作为 asp.net 核心中的 static 文件夹 - How to use network shared path with credentials as static files folder in asp.net core IIS 8.5上托管的404错误ASP.NET MVC应用程序 - 404 error ASP.NET MVC application hosted on IIS 8.5 IIS / Asp.NET应用程序中托管时的HttpClient证书不起作用 - HttpClient certificate when hosted in IIS/Asp.NET Application not work 使用asp.net在网络上打开共享文件夹文件的问题 - Issue opening Shared folder files on network using asp.net 在IIS / ASP.NET上的物理文件夹中创建虚拟应用程序/目录 - Creating virtual application/directory in physical folder on IIS/ASP.NET 无法将 IIS 托管应用程序写入 Ubuntu 中的共享文件夹,但 IISExpress 没有问题 - Unable to write IIS hosted application to a shared folder in Ubuntu but no problem with IISExpress 为什么我的ASP.NET 5应用程序不能在IIS 7.5上运行? - Why does my ASP.NET 5 Application Not Run On IIS 7.5? 用于代码的CoreCLR解决方案知道ASP.NET 5应用程序是自托管的还是在IIS上运行的? - CoreCLR solution for having the code know whether an ASP.NET 5 application is self hosted or running on IIS? 在 IIS 8 上托管的 ASP.NET Web 应用程序上读取系统事件日志条目时访问被拒绝 - Access denied when reading system event log entries on ASP.NET web application hosted on IIS 8 IIS 8托管的应用程序ASP.NET上的Crystal Report 13.2获取字段名是未知错误 - Crystal Report 13.2 getting field name is unknown error on IIS 8 hosted application ASP.NET
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM