Wrox Programmer Forums
|
BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 Databases by Thearon Willis; ISBN: 9780764588945
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 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 June 15th, 2006, 01:27 PM
Registered User
 
Join Date: Jun 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 8

I am lost. Everything is great up til now. I was not sure if this chapter actually creates a sql database on the server (I am using my laptop for this development training) or I was supposed to create one first. SO I created a sql database ProjectTimeTracker with one table and tried to get an open connection (SQL Server) but keeps coming up "login failed. User not associated with trusted sql server connection". Now when I loaded SQL from VS2005, I never set up any logins, passwords nor have I done such on the laptop. I keep playing with Sql Config Mgr and get no where. Please help, so I can move forward.
Thank you, Russ

 
Old June 18th, 2006, 03:49 PM
Authorized User
 
Join Date: Dec 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to luishrd
Default

Hi Russ,

Please post the piece of code you wrote to connect to your server.
Also, are you using SQL Server Express 2005 or another version of SQL Server.

Answer those two and we take it from there...

Good luck


__________________________
I'm just a noob
 
Old June 19th, 2006, 05:30 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

If you are referring to SQL Server 2005 and you installed it on your laptop, you can click on the Start button, go to All Programs > Microsoft SQL Server 2005 > Configuration Tools > SQL Server Configuration Manager. Next, click on SQL Server 2005 Network Configuration and expand it and then click on Protocols for SQLExpress. In the details pane, right click on Named Pipes and select Enable from the context menu. Now click on SQL Server 2005 Services in the tree view and then right click on SQL Server (SQLExpress) in the details pane and select Restart from the context menu.

Thearon
 
Old June 19th, 2006, 02:11 PM
Registered User
 
Join Date: Jun 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The version of Sql is what was delivered with VisualStudio. It shows protocols of MSSQL & SQLEXPRESS. Can't tell which it is using. I already Enabled Named Pipes and restarted but didn't help. When I change the code to IntegratedSecurity=True it will open. I assume this is because my laptop does not require passwords?? The code I used was verbatim from Chapter 8 using Login & Password from textboxes.

 
Old June 20th, 2006, 08:08 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

If you are able to use integrated security then you should do so.

Thearon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 - End of chapter exercises whizzkid1892 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 30th, 2008 12:02 PM
chapter 7 - chapter 11 pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 3 January 6th, 2008 11:40 AM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM





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