Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

CONNECTION STRING TO REMOTE SERVER FOR SQL EXPRESS Expand / Collapse
Author
Message
Posted Sunday, January 27, 2008 7:01 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, February 8, 2011 3:09 AM
Points: 1, Visits: 11
USING ADO 2.8, I HAVE THE FOLLOWING CONNECTION STRING THAT WORKS:
Public CnMgt As New ADODB.Connection

strServerName = "ABC\SQLEXPRESS"
strFilenameNoExtension = "TEST"

CnMgt.Open "PROVIDER=MS REMOTE;REMOTE SERVER=HTTP://55.66.111.888;REMOTE Provider=SQLNCLI;server=" & strServerName & ";Database=" & strFilenameNoExtension & ";Trusted_Connection=Yes;"

IS THIS THE RECOMMENDED METHOD OR IS THERE A BETTER ONE AND ONE MORE SECURE?

IF YOU RECOMMEND DIFFERENT METHODS, COULD YOU PLEASE INCLUDE SOME SAMPLE CONNECTION STRINGS

THANK YOU
Post #448030
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse