<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>23 Oct 2014 23:16:00 Z</lastBuildDate><pubDate>23 Oct 2014 21:28:00 Z</pubDate><description>Our application uses a SQL Server 2014 database. When we get disconnected we will get this error&#13;
&#13;
the following HyperFileSQL error occurred:&#13;
=============================&#13;
OLE DB access error.&#13;
Error Number = 170129&#13;
&#13;
Failure opening file.&#13;
=============================&#13;
&#13;
We solved it in WD 16 with the procedure below, but it stopped working after upgrading to WD 18&#13;
&#13;
dsTest is Data Source&#13;
sTest is string = [&#13;
SELECT[TestID]&#13;
FROM [Test].[dbo].[Test]&#13;
WHERE TestID = 1&#13;
]&#13;
&#13;
IF HExecuteSQLQuery(dsTest,CurrentConnection,hQueryWithoutCorrection,sTest) THEN&#13;
IF gbDisconnected = True THEN&#13;
gbDisconnected = False&#13;
// Info("Connection Re-Established")&#13;
END&#13;
RESULT True&#13;
ELSE&#13;
gbDisconnected = True&#13;
HConnectionClose(CurrentConnection)&#13;
&#13;
&#13;
HOpenConnection(CurrentConnection)&#13;
HChangeConnection("*",CurrentConnection)&#13;
&#13;
&#13;
Info("Connection was lost, try again")&#13;
&#13;
RESULT False&#13;
END</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48633-wd18-reconnecting-ole/read.awp</link><title>[WD18] Reconnecting to OLE db</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48633-wd18-reconnecting-ole-48638/read.awp</comments><pubDate>23 Oct 2014 23:16:00 Z</pubDate><description>I just installed sqlServer 2014 express with (32/64bit combo)SQL Server Native Client 11.0 2011.110.2100.60 from microsoft and i…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48633-wd18-reconnecting-ole-48638/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48633-wd18-reconnecting-ole-48638/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48633-wd18-reconnecting-ole/read.awp">[WD18] Reconnecting to OLE db</source><title>Re: [WD18] Reconnecting to OLE db</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48633-wd18-reconnecting-ole-48635/read.awp</comments><pubDate>23 Oct 2014 21:31:00 Z</pubDate><description>Instead of the procedure reconnecting us, the query just fails now even when the connection is re-established. HReconnect also d…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48633-wd18-reconnecting-ole-48635/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48633-wd18-reconnecting-ole-48635/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48633-wd18-reconnecting-ole/read.awp">[WD18] Reconnecting to OLE db</source><title>Re: [WD18] Reconnecting to OLE db</title></item></channel></rss>
