Wrox Programmer Forums
BOOK: Beginning Microsoft Visual Studio LightSwitch Development
This is the forum to discuss the Wrox book Beginning Microsoft Visual Studio LightSwitch Development by István Novák; ISBN: 978-1-1180-2195-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Studio LightSwitch Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 15th, 2013, 04:50 PM
Registered User
Join Date: Nov 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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:


Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 6 gab can not connect with openfire 3.7.1 erkany BOOK: Professional XMPP Programming with JavaScript and jQuery 5 November 9th, 2012 04:46 PM
Chapter 11 - Can't connect to database G276 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 February 7th, 2009 04:46 AM
Cannot connect to MYSERVER\SQLEXPRESS hertendreef SQL Server 2005 3 April 8th, 2007 09:02 AM
SQLExpress right issue mar0364 ASP.NET 1.0 and 1.1 Basics 0 April 13th, 2005 05:59 AM
SQLExpress Beta1 stu9820 SQL Server 2000 1 October 25th, 2004 12:33 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.