MS SQL over a VPN: "table can not be opened ... network error" while Btrieve and TPS apps work (Reported, not reproduced)

Applies to: reported in 2005 with the Microsoft SQL driver against SQL Server 2000 on Windows 2003 Enterprise. Clarion version not named.

Problem as reported

A remote office reached the server over a VPN on a single T1. Btrieve and TPS apps ran fine across it. The SQL app, run DSN-less, failed with a "table can not be opened ... network error". Dictionary settings: driver Microsoft SQL, driver options /TrustedConnection=True /NetworkLibrary=dbmssocn, a server/database/login owner string, full path name dbo.Exceptions. The app itself started, and a browse of a table with 15 rows and 2 fields also failed.

What the thread found

  • The poster confirmed TCP/IP and that Site Server was not in use. Pinging the server from the remote PC was suggested as the first check.
  • One reader saw the TCP/IP network library listed as dbnetlib, not dbmssocn, in his client utility. The poster tried dbnetlib and it made no difference.
  • Bandwidth: a reply said a T1 may be too thin if browses fetch all rows, and that a guaranteed rate should be checked. The poster noted that 15 rows should arrive whatever the bandwidth.
  • A reply advised tracing what is sent to the server, running those queries in a SQL front end outside Clarion, and looking for a cursor that runs locally.
  • The poster did not report a cause. He decided to move away from plain browse/form apps toward query-first designs.

Caveats

  • The error text is paraphrased from the post, not a full error code.
  • The thread does not say whether the ping or the trace was run.
  • Michael G. advised backend views and moving long-running logic into the database for slow links.

Today (2026)

Not reproduced. This entry records a 2005 report with no answer. A reader on a current build who has a working VPN connection string, or the cause, is asked to confirm or close it.

Sources: Lee S. (Feb 2005, the question), Loren L., Jim K., Michael G., Pablo S. (Feb 2005) in softvelocity.clarion.databasedrivers.