Click here to Skip to main content
14,332,142 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100