Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Having troble conneting to my Sql Server

Author  Topic 

itmasterw
Yak Posting Veteran

90 Posts

Posted - 2009-03-08 : 16:01:57
Hi,
I am trying to connectect to SQL Server Express 2005, through a VB.Net application, and I keep getting the following error message: A network-related or instance-specific.
My connection string is: = "Data Source=(local)\EDPC\SQLEXPRESS;Initial Catalog=NotthWind;Integrated Security=True"
Can someone tell me what I am doing wrong?
Thank you

ITM

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-03-08 : 18:04:24
Check this one and put your correct Database name
http://connectionstrings.com/
Go to Top of Page

itmasterw
Yak Posting Veteran

90 Posts

Posted - 2009-03-08 : 18:57:52
I changed it Data Source=(local)\EDPC\SQLEXPRESS;Initial Catalog=NotthWind;Integrated Security=True" and I am now getting Error: Cannot open database "NotthWind"
And yes the name of the databse that I am using is "NotthWind"
So it looks like I am closer but why am I getting this nwo?
Thank you

ITM
Go to Top of Page
   

- Advertisement -