Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Answer to please help

Status
Not open for further replies.
I use Microsoft SQL Server Management Studio...much better than Microsoft SQL Server Management Studio Express tool


and BTW Query Analyzer (2000) CAN see SQl server 2005

Denis The SQL Menace
SQL blog:
 
Hi,

I have been using Microsoft SQL Server Management Studio Express. This was working fine with the database untill I created a data source connection in Visual Studio.

Doing this seemd to change the connection string that was required. This was fine for the VS application I am developing, I just changed the SQLConnection string to what was required. However I can't seem to do that with Microsoft SQL Server Management Studio Express or TOAD.

the old connection string was something like this:
Code:
Server="(local)"; Trusted_Connection="yes";  Database="CDEvolution";
When I could use this all was fine. Both the application and the DB tools could connect.

now I have to use this string:
Code:
Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Program Files\Microsoft SQL Server\MSSQL\Data\CDEvolution.mdf;Integrated Security=True;Connect Timeout=6000;User Instance=True;
This is no problem for the application I have developed as I can change the string and it works well, however I can't connect using the DB tools and I can't see where or how I change the way the db tools connect to the database.

Cheers,
Kevin.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top