Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
please advise regarding how to coonect sql server 2008 remote instance using c#.
We are trying to transfer database from 2008 to 2005. we are able to do this for sql 2008 local instance. But same code is not working for remote instance.
thanks in advance
Pankaj Phukane.
Posted

1 solution

Connecting to a SQL server is the same if you are in the same network : http://www.connectionstrings.com/[^]

If you are not in the same network (i.e. you can't ping the server) then you must setup a VPN/port forwarding system first.
 
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