?
Solved

How to connect to a SQL sever via ODBC using a VPN connection

Posted on 2009-02-15
9
Medium Priority
?
738 Views
Last Modified: 2012-05-06
I'm trying to connect to a sql sever using the ODBC driver using a VPN connection, I can't seem to connect ans the driver locks up.
0
Comment
Question by:Invent121
  • 5
  • 2
  • 2
9 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 23645256
you wouldn't need to use ODBC to connect to SQL Server. it should be exactly the same thing as if the server was a local resource. what are you trying to connect to SQL Server?
0
 

Author Comment

by:Invent121
ID: 23645303
I'm trying to use a ODBC driver to connect so I can add some linked tables in Access 2007
0
 
LVL 25

Expert Comment

by:reb73
ID: 23645356
Setup a DSN using the ODBC control panel (or ODBCAD32.exe) and test the connectivity here before invoking this DSN from MS-Access.. You can test/debug connectivity to the SQL Server using either TCP/IP or NamedPipes protocol here initially..




0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 70

Expert Comment

by:Éric Moreau
ID: 23645384
Can't access link tables without using ODBC?

0
 

Author Comment

by:Invent121
ID: 23645392
I've tried setting up a DSN from the ODBC control panel first but this is where it locks up when i select the server. Ive tried the SQL Server and SQL Native client, it times out and locks up and says not reponding
0
 
LVL 25

Expert Comment

by:reb73
ID: 23645762
Are you able to ping the SQL Server backend when connected over the VPN?

0
 

Author Comment

by:Invent121
ID: 23647529
Yes I can ping the server
0
 

Accepted Solution

by:
Invent121 earned 0 total points
ID: 23930892
This was solved by using the SQL server ODBC driver which enables you to specificy a port, (not sure named pipes works over vpn?)
0
 

Author Comment

by:Invent121
ID: 23931498
I fixed the issue myself
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question