Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Web Deploy - Permissions

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?

like image 998
Paul Brown Avatar asked Jun 22 '11 21:06

Paul Brown


People also ask

What is web Deploy used for?

The Web Deploy is a tool for simplifying migration, management and deployment of Web applications, sites and servers. It can be used to package a Web site, automatically including content, configuration, certificates and databases. It can be used to synchronize between IIS 6.0, IIS 7.

Can I uninstall Microsoft web Deploy?

In general, it is recommended to uninstall Microsoft Web Deploy by using the Add/Remove Program feature in the Control Panel. This error may occur if related installation file/registry is missing or damaged.

What does web deployment mean?

What does it mean to deploy a website? Deploying a website means that you are deploying changes you have made to your website, typically code, from source control to an environment (typically development, staging, or live).


2 Answers

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.

like image 104
Miros Avatar answered Sep 22 '22 20:09

Miros


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).

like image 42
Jimmy Avatar answered Sep 23 '22 20:09

Jimmy