从 UNC 路径运行 asp.net 应用程序
我的 IIS 遇到问题。我正在尝试从 UNC 路径托管应用程序,但出现错误 - 它无法从 bin 文件夹加载程序集。 我是否缺少一些棘手的事情或者无法完成?我提供了物理路径凭据中所需的所有凭据,我还尝试以允许的用户身份运行应用程序池,但问题似乎有所不同。PS
:我正在运行 .NET 4.0
I got a problem with IIS. I am trying to host application from UNC path, but I get errors - that it can't load assemblies from bin folder.
Is there something tricky I am missing or it just can't be done? I am providing all the credentials needed in Physical Path Credentials, I also tried running the application pool as the allowed user, but it seems the problem is different..
PS: I am running .NET 4.0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
出于安全性和可靠性原因,从 UNC 运行 IIS 应用程序通常不是一个好主意,但是 从网络共享运行“部分受信任的”.NET 程序集 stackoverflow 上的问题可能会对您有所帮助。
Running an IIS app from a UNC is generally not a good idea for both security and reliability reasons, however the Running “partially trusted” .NET assemblies from a network share question here on stackoverflow will probably help you.