Wrox Programmer Forums
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics 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 September 13th, 2007, 02:02 PM
Registered User
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default connect ing to sql 2005


Am kinda new to vb.net 2005 and of late i have been trying to connect to sql server 2005 express edition. I have been getting the following error and I have tried changing my connection string, but this has been to no avail. I am receiving this error.

I have also tried connecting to a sql 2000 database and I am still getting the same problem. How can I fix this. I have also included my connections string below, maybe there is something wrong with it.

I hope u will be able to help me.

twsted F8

Cannot open database "C:\Documents and Settings\chiko-shumba\My Documents\Visual Studio 2005\Projects\YMCA\YMCA" requested by the login. The login failed.
Login failed for user 'CHIKO\chiko-shumba'.

Data Source= .\SQLEXPRESS;Initial Catalog = C:\Documents and Settings\chiko-shumba\My Documents\Visual Studio 2005\Projects\YMCA\YMCA;Integrated Security=True;User Instance=True;"

Old September 13th, 2007, 09:47 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Duplicate post: http://p2p.wrox.com/topic.asp?TOPIC_ID=64972

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect sql server 2005 priyan.viji Internet Information Services 1 December 16th, 2008 11:57 AM
I can't connect to the sql 2005 developer DB gulfpaddler BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 16 August 21st, 2008 04:17 AM
connect to SQL EXPRESS 2005 angelboy C# 2005 0 June 8th, 2007 01:34 PM
Connect to MSSQL 2005 express salemkoten SQL Server 2005 2 October 11th, 2006 04:46 AM
VB 2005 connect to server 2003 with SQL database Derek_05 Visual Basic 2005 Basics 3 September 20th, 2006 10:10 AM

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