Click here to Skip to main content
15,894,540 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All, i face problem during connection string while sql server is in other system and its windows has admin username and password. What will be the connection string to connect to the server.
Help please thanks
Posted
Comments
[no name] 20-Jul-12 7:52am    
http://www.connectionstrings.com/

We can't say - it depends on the SQL server setup, not just the remote system.
Try having a look here: http://www.connectionstrings.com/[^]
 
Share this answer
 
Comments
shubham147 20-Jul-12 8:19am    
Hello Sir, In (strConnString = "Data Source=server1 ;Initial Catalog=Test;user id=sa;password=;Connect Timeout=100")what i will add to connect from the server1.
thanks
tiggerc 20-Jul-12 9:34am    
Do you have access to the other machine, is it part of a coporate domain, ?
You need to install The SQL Server Native Client[^] on the computer running your software.

Best regards
Espen Harlinn
 
Share this answer
 

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