Errors seen while using MSbuild to deploy on a remote IIS server and their solutions

Error1: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (3588): Web deployment task failed.((2/8/2011 8:29:13 AM) An error occurred when the request was processed on the remote computer.) Failed to invoke or execute iisApp provider on the web server.  The Web Deployment Tool�s iisApp provider is either not enabled or failed to executed specific commands on the server.  Please contact…

2

Allowing non-admin users to deploy web applications on IIS 7 using web deploy 2.0

One of the main features of web deploy is integration with the IIS 7.0 Web Management Service (WMSVC) for remote deployment by non-administrators. Lets see how to do that. 1. Installing Web Management Service (WMSVC) Click Server Manager in the Start menu, select the Roles node in the left-hand tree view, and scan down to…

3

Deploying Web Applications on a remote IIS server using MSBuild

I have written down some important points that should be taken care while deploying applications. Hope it helps others trying to do that same. Ø  MSBuild arguments should be set correctly.   /p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:MSDeployServiceURL=<web server name>:8172/msdeploy.axd /p:DeployIISAppPath=”<Website Name>/<Application Name>” /p:CreatePackageOnPublish=True /p:AllowUntrustedCertificate=True /p:UserName=<Domain name>\<User Name> /p:Password=<User Password>   Ø  Local Service should have Full Control on website…