Problem with "prDirect" provider

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
DanielNTM
Posts: 10
Joined: Fri 14 Jul 2017 06:53
Location: Switzerland

Problem with "prDirect" provider

Post by DanielNTM » Mon 10 May 2021 08:29

Hello,

I have a random problem with certain workstations in a company.

When there is no activity for a while on
our software and that a connection has remained open,
the following error appears "OLE DB error occured. Code 80004005h" then the message
"[DBNETLIB] ConnectionWrite (Send ()).] General Network error
".

I saw on the following link: viewtopic.php?t=41337 that put the provider
the uniconnection that I use in "prdirect" could solve the problem.

The problem is that when I try to put this, all the TMemo of the software become problematic because
he tells me he expects a string type rather than a memo.

Does anyone have any idea where the problem might be?

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Problem with "prDirect" provider

Post by Stellar » Wed 12 May 2021 18:01

Thank you for the information. Which provider are you using to connect to MS SQL Server (prAuto, prSQL, prNativeClient, prMSOLEDB)?

Post Reply