Wrox Programmer Forums
|
BOOK: Discovering SQL: A Hands-On Guide for Beginners
This is the forum to discuss the Wrox book Discovering SQL: A Hands-On Guide for Beginners by Alex Kriegel; ISBN: 978-1-1180-0267-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Discovering SQL: A Hands-On Guide for Beginners 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 May 4th, 2012, 12:20 AM
Registered User
 
Join Date: May 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question Unable to connect to SQL Database - HELP!


I've followed the "Discovering SQL: A hands on guide for Beginners" instructions and installed SQL Server 2008 Express. However, when following Appendix A, I'm unable to connect to the SQLEXPRESS database. I receive an error stating server was not found.

Obviously I've missed a key instruction.

Last edited by SandyM; May 5th, 2012 at 05:20 AM.. Reason: duplicate
 
Old June 3rd, 2013, 09:44 PM
Registered User
 
Join Date: Apr 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shaikjamaludeen Send a message via Yahoo to shaikjamaludeen
Default

After creating your database click on your database and look at the properties box on the bottom right of your IDE. In the Connection String row you would have the connection string to your database. Use that connection string in your code to connect to your database.
For more information in connection string go to http://www.connectionstrings.com/.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to SQL Database - HELP! SandyM BOOK: Discovering SQL: A Hands-On Guide for Beginners 0 May 4th, 2012 12:13 AM
Unable to connect to SQL database flashmanTom BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 July 19th, 2011 10:58 AM
unable to connect sql server 2005 priyan.viji Internet Information Services 1 December 16th, 2008 11:57 AM
Unable to connect to pubs database... help! scottkhughes BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 1 September 10th, 2008 08:35 AM
[000] Unable to connect to server 'SERVER\SQL'; SQ ctanchan SQL Server 2000 1 August 15th, 2003 07:18 AM





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