Click here to Skip to main content
15,912,977 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am using SQL Server 2005 in my vb.net application, to connect to the DB in my machine i am using the following connection string

Data Source=ADITIDT552\SQLEXPRESS;Initial Catalog=tracker;User ID=sa;Password=matrix2010
and this works fine, but when i am connecting to a SQLserver in another box, then i am receiving SQL Server Not found error. Please let me know what connection string i need to use. Please help. Thanks in advance
Posted

1 solution

Can you try accessing the SQL server in Management Studio using the same server name, user Id and password. I guess one of these attribute is wrong.
 
Share this answer
 
Comments
souvikd 4-Aug-10 5:04am    
Hi Arun Thanks for replying, i am using SQLserver 2005 management studio and i am using the same attributes, for my local machine i have no problem but when i am trying to access my local server from a different machine using my application, i am getting that particular error, i believe in this situation i need a correct connection string
Arun Jacob 4-Aug-10 5:12am    
Instead of using your application, can you try these credentials from that different machine in Management studio.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900