Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26542

Webmatrix 2 publishing failures - Database

$
0
0

I am using WM2 to develop and deploy several Umbraco sites using SQL server as the database. I am developing the sites locally and publishing them via WM2. My experience is leading me to believe that I am missing something. Publishing suceeds in the inital publishing of a site to a remote server but subsequent updates fail when using the publish option for updating the database (by clicking the checkbox) results in an error ;

2:00:53 PM: (1/26/2013 2:00:53 PM) An error occurred when the request was processed on the remote computer.
2:00:53 PM:    at Microsoft.Web.Deployment.StatusThreadHandler.CheckForException()
2:00:53 PM:    at Microsoft.Web.Deployment.AgentClientProvider.RemoteDestSync(DeploymentObject sourceObject, DeploymentSyncContext syncContext, Nullable`1 syncPass)
2:00:53 PM:    at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId)
2:00:53 PM:    at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
2:00:53 PM:    at Microsoft.Web.Deployment.DeploymentObject.SyncTo(String provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
2:00:53 PM:    at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
2:00:53 PM:    at Microsoft.WebMatrix.Deployment.WebDeployWorker.Execute(CommandManager commandManager, CertificateValidationService certificateValidationService, Boolean skipHiddenFiles)
2:00:53 PM: The server experienced an issue processing the request. Contact the server administrator for more information.

The error of course tells you nothing (me anyway) about the cause. So I decided to try it manually by exporting the data (via SQL Mgt Studio) which failed with an attempt to update a 'read only' Primary Key (??). So then I dropped the remote database entirely and recreated it (using the remote servers Control Panel) and exported the data again manually with SQL Mgt studio. Then publishing via Webmartix2 without a database update which worked. UGH. So then, I tried to download/sync the site (like you'd want to do if someone updated the content) and that failed with an error due to a foreign key constraint (I would imagine that this may be the same error encountered on publishing). So I examine the table both locally and on the remote server and there is no foreign key contraint on the table. Is this an SQL server problem ??


Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>