Solved

ODBC SQL connection not working over PPTP VPN

Posted on 2013-02-01
10
1,658 Views
Last Modified: 2013-03-12
We had a workstation connecting to a SQL server over a normal LAN.  Everything worked.  We had to move this workstation to a new office but wanted to still have access to this software.  We disjoined the workstation from the domain, moved it, and connected it to the VPN.  This is the error we get when opening the software. "Invalid user authorization specification: invalid user ID or password" We've reinstalled the software, and are 100% sure that the user ID and password is correct in the ODBC settings.  We had the software company login and they spent hours working on this but insist it's a networking issue, which I agree since it worked fine before the move. I've also disabled all firewalls on both ends including the firewall on the network adapters.  client pc is XP connecting to server 2003 standard.  Also, I am using the domain admin account for testing to connect.
0
Comment
Question by:seanrhudy
  • 5
  • 3
  • 2
10 Comments
 

Author Comment

by:seanrhudy
ID: 38844456
P.S.  I can ping and browse the server with no issues.
0
 
LVL 77

Expert Comment

by:arnold
ID: 38846188
The situation is not the same since the system is no longer a member of the domain.


What is the authentication mode for the application using odbc are you using sql login or are you using or is the application using windows authentication mode. Now that that the system is not a member of the domain, the credentials used to login into the system do not match the required authorization to access the sql.
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 38847418
make sure odbs dsn  is set  with sql server valid sql server login\password  and if TCP\IP protocol  with port set too.

you need to make sure the new network setup of this PC has ability to see sql server port
default is 1433 - but you may have another (check on the sql server)
telnet from pc to this server port 1433
and you may need to open this port that will let this pc to see sql srrver
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 38847420
<100% sure that the user ID and password is correct in the ODBC settings. >
does it mean when you open DSN properties - you cam get to the test form - and test connectivity was successful?


if is it -- it is probably this software setup problems-- > looks like you need to check this apps   connection string that may use another login
0
 

Author Comment

by:seanrhudy
ID: 38849048
Yes, the test connectivity is successful.  ODBC is set to use SQL credentials, not windows authentication.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 42

Expert Comment

by:EugeneZ
ID: 38849145
check with the vendor  to check the apps connection string  - . you may have there something different than you have in DSN
0
 

Author Comment

by:seanrhudy
ID: 38849298
I could rejoin the domain over the VPN, do you think that would be a smart troubleshooting step?
0
 
LVL 77

Expert Comment

by:arnold
ID: 38849320
Do you have sql login auditing enabled for failure? Look to see whether you have failed login attempts from the remote system looking at what username is being provided by the remote system and see whether it is an SQL or a remotename\username.

Rejoining the domain is not the only thing, you would also need to login into the system using AD credentials which in he current state would require the establishment of he VPN prior to making any login attempts.
0
 

Accepted Solution

by:
seanrhudy earned 0 total points
ID: 38866708
We tried everything above, couldn't get it to work.  We changed to a TS server.
0
 

Author Closing Comment

by:seanrhudy
ID: 38976820
Nothing else worked.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Viewers will learn how the fundamental information of how to create a table.

896 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now