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

Entity Framework destroys publishing functionality of WebMatrix 2 to Azure

$
0
0

A while back I renamed the db for my site from StarterSite.sdf to ThisREV5.sdf.

Wihe I attempt to publish to Azure (this has worked flawlessly for a long time, I get a warning about "only absolute paths being supported"

I did a blanket replace of StarterSite.sdf to ThisREV5.sdf in Visual Studio for the entire project. No references were therefore modified.

The link contained in the log file is of no help.

I am publishing to Azure.

EDIT:

I have since reverted to StarterSite and had to create a new site on Azure, and copied my local site to a new folder.

Was able to publish my site once. But now I can no longer publish updates.

Copied my site to a new folder, created a new site on Azure, and I cannot publish. Same error message as below.

Is Entity Frame mucking things up?

5/12/2013 2:19 PM
2:19:49 PM: Unable to automatically publish framework files. Your remote site may not work correctly.
ERROR: Could not publish to the remote database. Please ensure the publish profile contains a database and verify that the remote database is accessible.
2:19:49 PM: Could not publish to the remote database. Please ensure the publish profile contains a database and verify that the remote database is accessible.
2:19:49 PM: Could not publish the site. Could not publish to the remote database. Please ensure the publish profile contains a database and verify that the remote database is accessible.
2:19:49 PM: Error detail:
2:19:49 PM: File system path 'testthisREV/App_Data\ThisREV5.sdf' is not valid. Only absolute paths are supported.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CANNOT_CONNECT_TO_DATABASE.
2:19:49 PM:    at Microsoft.Web.Deployment.SqlServerCeDatabaseProvider.GetAttributes(DeploymentAddAttributeContext addContext)
2:19:49 PM:    at Microsoft.Web.Deployment.DeploymentObject.EnsureValidAttributes()
2:19:49 PM:    at Microsoft.Web.Deployment.ManifestProvider.GetAttributes(DeploymentAddAttributeContext addContext)
2:19:49 PM:    at Microsoft.Web.Deployment.DeploymentObject.EnsureValidAttributes()
2:19:49 PM:    at Microsoft.Web.Deployment.DeploymentObject.get_IsValid()
2:19:49 PM:    at Microsoft.Web.Deployment.DeploymentManager.CreateObjectPrivate(DeploymentProviderContext providerContext, DeploymentBaseOptions baseOptions, DeploymentObject sourceObject, String serverVersion)
2:19:49 PM:    at Microsoft.Web.Deployment.DeploymentManager.CreateObject(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions)
2:19:49 PM:    at Microsoft.Web.Deployment.Store.ApplicationDefinitionManager.CreateObject(String path, DeploymentBaseOptions baseOptions, String remoteComputername)
2:19:49 PM:    at Microsoft.WebMatrix.Deployment.WebDeployWorker.Execute(CommandManager commandManager, CertificateValidationService certificateValidationService, Boolean skipHiddenFiles)


Viewing all articles
Browse latest Browse all 27852

Trending Articles



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