Using Web Deploy - Permissions
Asked Answered
R

3

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?

Renz answered 22/6, 2011 at 21:46 Comment(0)
V
3

I don't know if you ever solved your problem, but I had the same problem today. Reading this article helped me solve it. See #5 in the article for setting up specific user permissions for Web Deploy.

Vertebral answered 3/2, 2012 at 11:54 Comment(0)
C
1

If your target machine is running IIS6 or a client version of Windows (Vista/7) then they need to have administrative privileges. Using the Web Deployment Agent should work for this (e.g. publish to http://foobar).

If you want to allow non-admins to publish, you need a machine running IIS7 on a server SKU of Windows (2008/2008R2). You can set up delegation rules to allow users permissions to specific WebDeploy providers. See this for a description of how to get started. This goes through the Web Deploy Management Service, so your target machine will be either https://foobar:8172/MSDeploy.axd, or just foobar).

Cowberry answered 12/7, 2011 at 6:31 Comment(0)
B
0

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

Only users with administrative privileges are allowed to modify the server settings, creating web sites, virtual directories, etc... which is what the Web Deploy does.

Blackandwhite answered 23/6, 2011 at 5:19 Comment(1)
Hello, I did make my new user a member of the Administrators group however this did not work. Do you have any other ideas? Thanks PaulRenz

© 2022 - 2024 — McMap. All rights reserved.