8

I am using Web Deploy to deploy my MVC3 applications from Visual Studio 2010.

All goes perfect when I user the Administrator account of the server in the Web Deploy dialog.

I have a new employee starting. I created a new user on the server. This way, I can disable this user if necessary. I gave Administrator permissions as a test, but sadly this user was not allowed to deploy to the server.

Can anyone tell me what (minimum) permissions I need to give this user so they can deploy applications from Visual Studio?

4

3 回答 3

3

我不知道你是否解决了你的问题,但我今天遇到了同样的问题。阅读这篇文章帮助我解决了这个问题。请参阅文章中的 #5 以设置 Web 部署的特定用户权限。

于 2012-02-03T11:54:07.903 回答
1

如果您的目标机器运行 IIS6 或 Windows 的客户端版本 (Vista/7),那么它们需要具有管理权限。使用 Web 部署代理应该可以解决这个问题(例如发布到http://foobar)。

如果您想允许非管理员发布,您需要一台在 Windows (2008/2008R2) 的服务器 SKU 上运行 IIS7 的机器。您可以设置委派规则以允许用户对特定 WebDeploy 提供程序的权限。有关如何开始的说明,请参阅此内容。这通过 Web 部署管理服务,因此您的目标机器将是https://foobar:8172/MSDeploy.axd,或只是foobar)。

于 2011-07-12T06:31:43.143 回答
0

谁能告诉我我需要给这个用户什么(最低)权限,以便他们可以从 Visual Studio 部署应用程序?

只有具有管理权限的用户才能修改服务器设置、创建网站、虚拟目录等……这就是 Web Deploy 所做的。

于 2011-06-23T05:19:55.840 回答