PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Sever address changes after application update in<appname>.wx file
Sever address changes after application update in<appname>.wx file
Débuté par CS, 14 juin 2017 10:56 - 1 réponse
Posté le 14 juin 2017 - 10:56
Hi,

I've got a situation where after initial install of our application the server name has changed, that in itself is fine and all clients connect fine.

After releasing an update some clients (not all) can no longer connect to the database, upon inspection the server name value stored against 'ADRESSE_1=' in the <>.wx file has reverted back to the previous server name - it can easily be fixed by correcting the server name but why does this happen.

I have tried searching through files in the app directory for remnants of the old server name and have checked the registry but cannot find anything wrong.

Any ideas?

Thanks

CS
Posté le 14 juin 2017 - 17:50
I do not trust the WX Files.
I would store the database settings in an INI File using the iniread() and iniwrite() functions.
Then you have full control.

Best Regards



Stefan.