Wrox Programmer Forums
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 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 October 6th, 2015, 11:26 AM
Registered User
Join Date: Oct 2015
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default Can't connect to SQL Server 2012

On p.411 it says to enter (LocalDB)\v11.0 in the Server Name field, but I get an error when I do this. I am using Express 2015 Web instead of 2013, but I don't think this should make a difference. Ideas?

Imar, you're a genius. (localdb)\MSSQLLocalDB connects well with Express 2015 Web. I wonder if there are other issues with not using Express 2013 Web that your book is based on?

Last edited by Jimmyy; October 7th, 2015 at 10:34 AM..
Old October 6th, 2015, 06:47 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi Jimmy,

It does make a difference, as VS installs SQL Server local DB with a different name. Check out this post for more details: http://thebillwagner.com/Blog/Item/2...sualStudio2015


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Jimmyy (October 6th, 2015)
Old May 28th, 2018, 10:47 AM
Registered User
Join Date: May 2018
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

you can use localhost in the Server Name field

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export SQL database to Excel in VB 2012/VS 2012 KLDeWitt87 Visual Basic 2012 General Discussion 2 December 4th, 2013 05:00 PM
SQL Server 2012 Express - Do I need it for Visual Studio? msmithvb1 Visual Basic 2012 General Discussion 1 September 22nd, 2013 07:28 AM
Force SQL Server 2012 to Use Visual Studio 2012 Titera BOOK: Professional Microsoft SQL Server 2012 Administration 1 May 6th, 2013 02:22 PM
Welcome to Beginning SQL Server 2012 Programming! patkinson BOOK: Beginning Microsoft SQL Server 2012 Programming 2 November 27th, 2012 06:37 PM

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