<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>24 Jul 2015 13:56:00 Z</lastBuildDate><pubDate>23 Jul 2015 08:10:00 Z</pubDate><description>Hello,&#13;
&#13;
I modified the WXReplication module by Fabrice Harari to access SQL Server database. Added the following connection method, if SQL Server&#13;
&#13;
:m_cnxHFCSRealConnection..Provider = "SQLOLEDB"&#13;
:m_cnxHFCSRealConnection..User = INIRead("DB","User","sa",:m_ccsIniFile)&#13;
:m_cnxHFCSRealConnection..Password = INIRead("DB","Password","a123#",:m_ccsIniFile)&#13;
:m_cnxHFCSRealConnection..Server = INIRead("DB","Server","localhost",:m_ccsIniFile)&#13;
:m_cnxHFCSRealConnection..Database = INIRead("DB","DBName",cstDBName,:m_ccsIniFile)&#13;
//:m_cnxHFCSRealConnection..CryptMethod = hCryptRC5_16&#13;
:m_cnxHFCSRealConnection..Access= hOReadWrite&#13;
//MyConnection..ExtendedInfo = "CRYPT=RC5_16"&#13;
IF HOpenConnection(:m_cnxHFCSRealConnection)=False THEN&#13;
Info(HErrorInfo)&#13;
:SetHError()&#13;
RESULT False&#13;
END&#13;
&#13;
It connects and works fine as far as new record (inserts) are concerned. I get error if I edit the same record, after WXREngine sends that data. ie I edit one record (tried with color file) and WXREngine sends that data and I again edit the same record, It doesn't get saved, instead the following error appears. The following error I get&#13;
&#13;
Error at line 23 of Method hModify Process.&#13;
HModify function called.&#13;
OLE DB access error.&#13;
Error Number = 170147&#13;
&#13;
Faiulure updating record in database&#13;
&#13;
System error details:&#13;
Description = Query timeout expired&#13;
Source = Microsoft OLE DB Provider for SQL Server&#13;
SQL State = HYT00&#13;
Error Number = -2147467259 (0x800004005)&#13;
&#13;
Description = Multiple-step OLE DB operation generated errors.Check each OLE DB status value, if available. No work was done.&#13;
Source = Microsoft OLE DB Provider for SQL Server&#13;
Error Number = -2147217887 (ox80040e21)&#13;
&#13;
and the software quits. Hope some locking is happening on that particular record (by WXREngine) that prevents the WXReplication screen to update the record.&#13;
&#13;
If I edit the same record, before the WXREngine sending the packets, there is no such problem.&#13;
&#13;
As I'm new to WX products, I couldn't locate the error, which is causing this problem. Any suggestion to solve this problem is really appreciable.&#13;
&#13;
Happiness Always&#13;
BKR Sivaprakash</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp</link><title>Re: WXReplication and SQL Server</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/53197-wxreplication-and-sql-server-53248/read.awp</comments><pubDate>24 Jul 2015 13:56:00 Z</pubDate><description>Hello Fabrice.&#13;
&#13;
Two problems.&#13;
&#13;
1. hAlias. It worked for color table, even after those lines are commented out. But with anot…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53248/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53248/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53242/read.awp</comments><pubDate>24 Jul 2015 12:33:00 Z</pubDate><description>Hi,&#13;
&#13;
Now we are going somewhere!&#13;
&#13;
Quote&#13;
Sivaprakash&#13;
&#13;
Btw, I've totally forgot to mention one more changes I've made.   In…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53242/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53242/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53228/read.awp</comments><pubDate>24 Jul 2015 07:58:00 Z</pubDate><description>Hello,&#13;
&#13;
Any parameter to set isolation level in the OLE DB Connection ?&#13;
&#13;
We used to set it to Read Committed in our powerbui…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53228/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53228/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53227/read.awp</comments><pubDate>24 Jul 2015 07:57:00 Z</pubDate><description>Hello Fabrice,&#13;
&#13;
//&#13;
However, the reason why this is happening eludes me... From what you are telling me:&#13;
- The errors occurs …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53227/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53227/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53223/read.awp</comments><pubDate>23 Jul 2015 18:56:00 Z</pubDate><description>Hi guys,&#13;
&#13;
If I remember right, record blocking is not working with OLE DB. (But I'm no expert on this subject.) I think with n…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53223/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53223/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53220/read.awp</comments><pubDate>23 Jul 2015 17:30:00 Z</pubDate><description>Hi again,&#13;
&#13;
your changes are logical and where they should be, so I doubt the problem is there (maybe in the parameters used fo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53220/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53220/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53213/read.awp</comments><pubDate>23 Jul 2015 15:14:00 Z</pubDate><description>Hello Fabrice,&#13;
&#13;
Let me give the full detail. I"m using 1.1 version in Windev 19, with the following modifications done to acco…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53213/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53213/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53211/read.awp</comments><pubDate>23 Jul 2015 14:19:00 Z</pubDate><description>Hi again&#13;
&#13;
now that's mighty strange... the engine does NOT touch (read, modify or anything else) the MAIN file (color file in …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53211/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53211/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53208/read.awp</comments><pubDate>23 Jul 2015 13:23:00 Z</pubDate><description>Hello Fabrice,&#13;
&#13;
Btw, I'm using only your demo package, particularly color table alone for my test. Just switched the database …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53208/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53208/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53207/read.awp</comments><pubDate>23 Jul 2015 12:57:00 Z</pubDate><description>Hello Fabrice,&#13;
&#13;
Thanks for your time and reply.&#13;
&#13;
Without trying the the solution you mentioned, I'm given this reply. This p…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53207/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53207/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53205/read.awp</comments><pubDate>23 Jul 2015 12:07:00 Z</pubDate><description>Hi&#13;
&#13;
I haven't tested in that configuration, so everything I'm telling you here is pure speculation.&#13;
&#13;
I have in the past enco…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53205/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server-53205/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53197-wxreplication-and-sql-server/read.awp">Re: WXReplication and SQL Server</source><title>Re: WXReplication and SQL Server</title></item></channel></rss>
