Solved

Failing to make remote connection to Pervasive database

Posted on 2015-01-26
4
264 Views
Last Modified: 2015-01-26
I'm trying to make a remote connection to a remote Pervasive database (both systems are on a local LAN) with a .NET application we have developed. I know that it works fine on all other PCs' (4 in total) but on one of them I get this

Error in connection. -3496: Server name not found by Pervasive Network Services Layer

When I do a network packet capture on the remote server I see the request coming in

Is there anyone on here who could help me out?
0
Comment
Question by:Gerhardpet
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
Bill Bach earned 500 total points
ID: 40571382
Server Name Not Found is usually a client-side issue, often caused by smaller environments with no internal DNS server -- the client is unable to PING the server by name, and thus name resolution is failing, and the client returns this error.

This could also be caused by a firewall issue on the server side.  If the Windows Firewall (or other third-party firewall) is enabled on the server, try turning it off.  Similarly, turn off the firewall on the client computer as a test.  You can also use the Windows TELNET command like this:   TELNET <servername> 3351
This should return a black screen, with no errors.  Try port 1583, in addition to 3351, if you are using the SQL /ODBC interface.

If you can post the excerpt from your packet capture showing the connection and about 10 packets on either side, this might also yield some other things to try...
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 40571546
Thanks Bill. You pointed me in the right direction! It was a DNS issue. The IP address of the client was pointing to a different PC on their SBS 2011. I created an entry in the host file

The network is a mess.
0
 
LVL 28

Expert Comment

by:Bill Bach
ID: 40571566
A Hosts file is a great workaround, but be sure to document it.  Some time in the future, you're going to be troubleshooting the same site (after DNS gets fixed), and this one computer will be failing, and you won't know why.
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 40571765
You are right. I deleted the wrong DNS entry and remove the line from the host file. Now it works.

Still a lot more to clean up. Thanks again for your help!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Creating and Managing Databases with phpMyAdmin in cPanel.
Read about achieving the basic levels of HRIS security in the workplace.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

747 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