gpt4 book ai didi

asp.net - 在本地将 asp.net mvc4 部署到 IIS 7.5

转载 作者:行者123 更新时间:2023-12-04 03:59:27 25 4
gpt4 key购买 nike

我正在尝试将我的 ASP.NET 网站本地部署到 Windows 7 上的 IIS 7.5,但我一直收到相同的错误。我以前从未部署到 IIS。

错误:

Authorization: Cannot verify acces to path (c:\inetpub\wwwroot\website)

留言:

The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that \$ has Read access to the physical path. Then test these settings again.



我正在使用 .NET Framework 4.0.30319

最佳答案

这与应用程序池中设置的权限有关,它们必须正确才能使应用程序在 IIS 上本地运行。

Application Pools
-> Right click Pool
-> Advanced Settings
-> Process Model
-> Identity

我的身份被设置为用于特定应用程序的电子邮件

关于asp.net - 在本地将 asp.net mvc4 部署到 IIS 7.5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15428165/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com