Solved

Failing to make remote connection to Pervasive database

Posted on 2015-01-26
4
278 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

828 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