试图找出为什么 IIS 7 中的站点目录会删除权限?

发布于 2024-11-03 17:40:35 字数 304 浏览 2 评论 0原文

所以突然间我无法再运行我的网站并出现服务器错误 500.19。事实证明,我丢失了 Web 项目目录中的 IUSR 和 IIS_IUSRS 帐户(或者至少解决了问题)。

我绝对没有在文件夹级别或 IIS 中对权限执行任何操作,并且我所做的唯一可能无法控制的更改是通过 Visual 中的 NuGet 安装 NuGet 包 (structuralmap-mvc3) Studion 2010。

我很好奇它为什么或如何失去权限。我担心的是,还有另一个或更大的问题仍然存在,而且我只知道通过加载 web.config 文件解决了一个问题。

有什么想法吗?

So all of a sudden I couldn't run my website any longer getting server error 500.19. Turned out that I had lost the IUSR and IIS_IUSRS accounts on my web project directory (or at least that resolved the issue).

I definitely didn't do anything with permissions either at a folder level or within IIS, and the only change I had made that could have had control that was out of my hands was installing a NuGet package (structuremap-mvc3) through NuGet in Visual Studion 2010.

I am curious on why or how it could loose permissions. My worries is there is another or larger issue that still has looming issues and I am only aware of the one problem that I resolved with the loading of the web.config file.

Any thoughts?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

追星践月 2024-11-10 17:40:35

您(或其他人)可以重新创建该文件夹吗?如果在该文件夹上明确设置了权限,但它被删除/重新创建,它可能会再次继承父文件夹权限。我们通常尝试在父(“网站”)文件夹上设置 IIS 权限,以便所有新创建的文件夹都会继承它们。

Could you (or someone else) have re-created the folder? If permissions were explicitly set on that folder, but it was removed/re-created, it'd probably inherit the parent folders permissions again. We generally try to set IIS permissions on the parent ("Websites") folder so all newly-created folders will inherit them.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文