Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在从 windows vista 机器开发一个应用程序。Web 应用程序托管在 IIS 中。从该应用程序中,我尝试写入另一台 vista 机器上的网络共享,但我不断收到拒绝访问错误。在共享上,我给了所有人、访客、网络、匿名登录完全控制共享和 ntfs 访问权限。但仍然拒绝访问。
但是,当我从 Visual Studio 启动应用程序时,它可以完美运行,但从 IIS 会抛出拒绝访问。
任何的想法?
这是一个安全问题。如果您不以具有网络权限的用户身份运行,则标准 IIS 用户没有网络权限。考虑这篇文章。