Click here to Skip to main content
11,641,392 members (61,381 online)
Rate this: bad
good
Please Sign up or sign in to vote.
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 26-Jul-12 23:51pm

1 solution

Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 Mika Wendelius 400
1 OriginalGriff 205
2 DamithSL 203
3 CPallini 185
4 Afzaal Ahmad Zeeshan 129


Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 27 Jul 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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