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 directory i.e. “C:\inetpub\wwwroot”. Ø Following providers must be added in Management service delegation rule: setAct, createApp, contentPath, iisApp. We can use a blank rule and add these providers or following three rules from the templates:
1. Deploy Applications with content
2. Mark Folders as applications
3. Set Permissions for applications. Ø Identity Type should be “ProcessIdentity” Ø Path should be {userScope}Read more: Getting started with IIS 7 - Amol Mehrotra
Ø 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 directory i.e. “C:\inetpub\wwwroot”. Ø Following providers must be added in Management service delegation rule: setAct, createApp, contentPath, iisApp. We can use a blank rule and add these providers or following three rules from the templates:
1. Deploy Applications with content
2. Mark Folders as applications
3. Set Permissions for applications. Ø Identity Type should be “ProcessIdentity” Ø Path should be {userScope}Read more: Getting started with IIS 7 - Amol Mehrotra
0 comments:
Post a Comment