<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>31 May 2017 18:23:00 Z</lastBuildDate><pubDate>30 May 2017 15:56:00 Z</pubDate><description>Hi&#13;
&#13;
I have a SAAS app .&#13;
User logs in in main db&#13;
&#13;
In main db his db's are listed. He chooses one and based on that I close the connection to the main db and open the client db.&#13;
&#13;
Ok this goes fine but every now and then I get a strange bug:&#13;
&#13;
If I want to add a client adres for instance&#13;
&#13;
I fhave a client table called: "Klant"&#13;
And I have a client-adres table called : "Klantadres"&#13;
&#13;
reading and mutating this Klant table goes just fine . But if I want to add something and odd error steps in :&#13;
&#13;
Error returned by server:&#13;
Integrity error.&#13;
The "test\klanten.fic" path is not found in the wdsoft database.&#13;
&#13;
WL call:&#13;
Process of 'Click of BTN_Oplsaan_klantadres ( POPUP_nieuw_klantadres ) (server)' (PAGE_klanten.POPUP_nieuw_klantadres.BTN_Oplsaan_klantadres), line 50, thread 0&#13;
'HAdd' function, syntax 1&#13;
&#13;
What happened?&#13;
Error returned by server:&#13;
Integrity error.&#13;
The "test\klanten.fic" path is not found in the "wdsoft" database.&#13;
&#13;
Error code: 74005&#13;
Level: fatal error&#13;
WD55 error code: 4005&#13;
&#13;
Dump of the error of 'WDHFSRV64.DLL' module (22.0.87.3).&#13;
Identifier of detailed information (.err): 73261&#13;
Debugging information:&#13;
IEWDHFSRV=51.5&#13;
Module=WDHFSRV&#13;
Version=22.0.87.3&#13;
Fonction (7,0)&#13;
Additional Information:&#13;
EIT_TYPE_WDFILE : 65538&#13;
EIT_IDCODE : 851984&#13;
EIT_SERVEURCS : localhost&#13;
EIT_LOGICALTABLENAME : klantadres&gt;&#13;
EIT_PILEWL :&#13;
Click of BTN_Oplsaan_klantadres ( POPUP_nieuw_klantadres ) (server) (PAGE_klanten.POPUP_nieuw_klantadres.BTN_Oplsaan_klantadres), line 50&#13;
EIT_DATEHEURE : 30/05/2017 15:30:21&#13;
&#13;
(25, ERR_MSG_BO&#13;
&#13;
Strange thing is that "Test"is the name of an other db&#13;
&#13;
If Ichange something to the klant adres table and let the analysis be generated again then there is no eror all goes fine.&#13;
&#13;
&#13;
I have come to the conclusion that It must have something to do with deleting the old connection and opening the new connection.&#13;
&#13;
&#13;
My code to change connection:&#13;
&#13;
&#13;
// if there is a db to choose form in the table ad stuff to a variabele&#13;
IF HReadSeekFirst(Administratie,AdministratieID,TABLE_administraties.COL_ID) THEN&#13;
gstrDbUser = Administratie.dbuser&#13;
gstrDbPassword = Administratie.dbpaswoord&#13;
gstrDbDatabase = Administratie.dbdatabase&#13;
gstrDbDataSource = Administratie.dbServer&#13;
&#13;
&#13;
&#13;
HCloseConnection(MyConnection)&#13;
//Add variabeles&#13;
&#13;
// Describe the connection&#13;
MyConnection..User = gstrDbUser&#13;
MyConnection..Password = gstrDbPassword&#13;
MyConnection..Server = gstrDbDataSource&#13;
MyConnection..Database = gstrDbDatabase&#13;
MyConnection..Provider = hAccessHFClientServer&#13;
MyConnection..Access = hOReadWrite&#13;
// open the new connection&#13;
HOpenConnection(MyConnection)&#13;
&#13;
IF NOT HChangeConnection("*",MyConnection) THEN&#13;
EndProgram(ErrorInfo())&#13;
END&#13;
&#13;
&#13;
HReadFirst(werkjaar,werkjaarID)&#13;
&#13;
IF HReadSeekFirst(Boekjaar,BoekjaarID,werkjaar.BoekjaarID ) THEN&#13;
gnAdminjaar = Boekjaar.Jaar&#13;
RTA_Admin = "Administratie: "+ gstrDbDatabase +"( "+ Boekjaar.Jaar+ " )"&#13;
END&#13;
PageDisplay(PAGE_start)&#13;
&#13;
&#13;
&#13;
&#13;
If I change something inthe analyse. Like adding a field or changing a field then this faults are gone and it works just fine. But after few days same fault )&#13;
&#13;
&#13;
&#13;
Anyone an Idea what this might be&#13;
&#13;
&#13;
regards&#13;
&#13;
Allard</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp</link><title>strage bug when changing connection</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/61049-strage-bug-when-changing-connection-61070/read.awp</comments><pubDate>31 May 2017 18:23:00 Z</pubDate><description>Hi Allard,&#13;
&#13;
you should read my answer again.&#13;
&#13;
I NEVER said that you should not use link. I just said that you CAN not use th…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61070/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61070/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp">strage bug when changing connection</source><title>Re: strage bug when changing connection</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61068/read.awp</comments><pubDate>31 May 2017 17:21:00 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
&#13;
Indeed you are right. I used to define the db tables in hyperfile classic. If so then not all the links are add…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61068/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61068/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp">strage bug when changing connection</source><title>Re: strage bug when changing connection</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61066/read.awp</comments><pubDate>31 May 2017 16:58:00 Z</pubDate><description>Hi Allard,&#13;
&#13;
this integrity constraints are NOT automatic. They are defined by YOU in the analysis, each time you define a link…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61066/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61066/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp">strage bug when changing connection</source><title>Re: strage bug when changing connection</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61064/read.awp</comments><pubDate>31 May 2017 15:28:00 Z</pubDate><description>I also had this problem in the past. Since a few years i disabled the usage of the .REP file and i have never had this again.&#13;
&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61064/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61064/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp">strage bug when changing connection</source><title>Re: strage bug when changing connection</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61063/read.awp</comments><pubDate>31 May 2017 14:38:00 Z</pubDate><description>Hi Joris,&#13;
&#13;
Indeed. huh I found out that it is managed automatiicly. Can't do anything about it...&#13;
Hmm Maybe one more reason t…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61063/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61063/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp">strage bug when changing connection</source><title>Re: strage bug when changing connection</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61062/read.awp</comments><pubDate>31 May 2017 12:34:00 Z</pubDate><description>Hi Allard,&#13;
&#13;
When using HFCS, the constraints are managed by the database, not by your executable (like in classic HF). Because…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61062/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61062/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp">strage bug when changing connection</source><title>Re: strage bug when changing connection</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61055/read.awp</comments><pubDate>30 May 2017 23:04:00 Z</pubDate><description>Hi Joris&#13;
&#13;
Yes indeed that is the case.&#13;
&#13;
I havenot looked at this ever befor and I donnot know what this means??&#13;
&#13;
what Am I…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61055/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61055/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp">strage bug when changing connection</source><title>Re: strage bug when changing connection</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61052/read.awp</comments><pubDate>30 May 2017 19:01:00 Z</pubDate><description>Hi ,&#13;
&#13;
integrity constraints in the hyperfile control center??&#13;
&#13;
where can I find that ?&#13;
&#13;
regards&#13;
Allard</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61052/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61052/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp">strage bug when changing connection</source><title>Re: strage bug when changing connection</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61050/read.awp</comments><pubDate>30 May 2017 16:58:00 Z</pubDate><description>Hi,&#13;
&#13;
I doubt if it is a bug when changing connections...&#13;
&#13;
Did you already check the integrity constraints in the hyperfile c…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61050/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection-61050/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61049-strage-bug-when-changing-connection/read.awp">strage bug when changing connection</source><title>Re: strage bug when changing connection</title></item></channel></rss>
