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?
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.
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 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).
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.
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
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With