Solved

ODBC SQL connection not working over PPTP VPN

Posted on 2013-02-01
10
1,645 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 76

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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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 76

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

760 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

17 Experts available now in Live!

Get 1:1 Help Now