What to do if you see a createApp failure

One of our Web Deploy testers was running into a bizarre issue: even though she had set up delegation rules current (and debugged them using failed request tracing logs), she was still seeing an error like this when publishing a site from Microsoft WebMatrix using Web Deploy:

4:23:33 PM: Updating createApp (mysite.webstack01.cytanium.com/rb19).
4:23:34 PM: Updating setAcl (mysite.webstack01.cytanium.com/rb19/web.config).
4:23:38 PM: Updating createApp (mysite.webstack01.cytanium.com/rb19).
4:23:38 PM: Updating setAcl (mysite.webstack01.cytanium.com/rb19/web.config).
4:23:44 PM: Make sure you have appropriate permissions on the server to publish IIS settings. Alternatively, exclude settings that require administrative permission on the server.
4:23:44 PM: Unable to publish. Make sure you have appropriate permissions on the server to publish IIS settings. Alternatively, exclude settings that require administrative permission on the server.
4:23:44 PM: Error detail:
4:23:44 PM: (11/19/2010 4:23:44 PM) An error occurred when the request was processed on the remote computer.
4:23:44 PM:    at Microsoft.Web.Deployment.StatusThreadHandler.CheckForException()
4:23:44 PM:    at Microsoft.Web.Deployment.AgentClientProvider.RemoteDestSync(DeploymentObject sourceObject, DeploymentSyncContext syncContext)
4:23:44 PM:    at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable)
4:23:44 PM:    at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
4:23:44 PM:    at Microsoft.Web.Deployment.DeploymentObject.SyncTo(String provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
4:23:44 PM:    at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
4:23:44 PM:    at Microsoft.WebMatrix.Deployment.MsDeployWorker.Execute(Boolean pullback)
4:23:44 PM: The server experienced an issue processing the request. Contact the server administrator for more information. http://go.microsoft.com/fwlink/?LinkId=178035

It turns out that this can happen rarely if there is write contention on applicationHost.config (as can happen in shared hosting environments). The suggested steps in the error aren’t actually helpful. The solution? Just try again!

Still stuck? Please visit the forum, we'll be happy to help!

No Comments