Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Lightswitch 2012 project failed to publish when using SQL Server EXPRESS 2012
and publishing Database Schema

Hi again. As long as I stay with sql servwe 2008 r2 , there is no problem publishing. But try to use the same vs 2012 with sql server 2012 express and I get the following error when I when I Publish the Database Schema. Of course, without publishing the schema, it fails on the login scrren. THIS WORKS WELL WITH sql server 2008.

An exception occurred when deploying the d. atabase for the application. Errors occurred while modeling the target database. Deployment can not continue.

error is in:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v3.0\Publish\v1.8\Microsoft.LightSwitch.Publish.targets

My guess is there is incompatible versions of code running together, so here is the platform

a) vs 2012 regular

b) sql server 2012 express (sp2)

c) WPI inststalled

d) LightSwitch for Visual Studio 2012 - Server Configuration with local SQL. (note: there is the run time for 2012 on machine too)
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900