Chapter 4: Can't connect to SQLEXPRESS
Newer versions of LightSwitch do not use .\SQLEXPRESS. I'm using LightSwitch in Visual Studio 2013, but I think this applies to 2012 as well.
In order to connect to the Aquarium database in chapter 4, I used the following command instead of the one provided on page 79:
sqlcmd -S "(localdb)\v11.0" -i "<folder>\CreateAquarium.sql"
For example, if your folder is in C:\Temp, use
sqlcmd -S "(localdb)\v11.0" -i "C:\Temp\CreateAquarium.sql"
Then, on page 81, instead of .\SQLEXPRESS the server name should be:
(localdb)\v11.0
|