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

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : 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 April 20th, 2015, 03:57 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

You're still missing the closing " in your inner connection string.

Just compare yours with mine and search for " to see what I mean.


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!
Old April 22nd, 2015, 03:33 PM
Authorized User
Join Date: Aug 2014
Posts: 34
Thanks: 3
Thanked 0 Times in 0 Posts
Smile Got it!

Just a follow up on the discussion.

What finally worked was to delete

AttachDbFileName = |\DataDirectory|\GolfDatabase.mdf;
the name used for localDB

which seems to make perfectly logical sense, since earlier in the line I use the command
Initial Catalog = esherr01;
naming the database at the webserver

Just to let you know, I have read both the 4.0 and 4.5 books and think they are the best. I also appreciate all of the forum help which has been invaluable

Thanks so much,

Similar Threads
Thread Thread Starter Forum Replies Last Post
App.Config and Web.Config conflict John.Burke ASP.NET 2.0 Professional 5 March 9th, 2010 11:51 AM
Fix for Web.config Error in ...\Chapter01\LINQforBinding Web Sites rogerj BOOK: Professional ADO.NET 3.5 with LINQ and the Entity Framework ISBN: 978-0-470-22988-0 0 February 18th, 2009 01:59 PM
web.config vs. app.config darlo Visual Studio 2005 11 August 20th, 2008 07:23 AM
Unable to connect: incorrect log on parameters. Dmitriy ASP.NET 1.0 and 1.1 Professional 0 June 18th, 2007 07:53 AM
Unable to connect: incorrect log on parameters casjachan ASP.NET 1.x and 2.0 Application Design 2 July 25th, 2004 04:55 PM

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