Hi Master,
My application is connecting to one database server and transaction updates to two different database('Data_PG' and 'Data_PG_S'), see attachment, app.ini file. After deployed to PowerServer and run, i had trouble to updates to second database(data_PG_S), can anyone guide me? Thanks.
See below for more details
n_tr_lo = CREATE transaction
n_tr_lo .dbms=ProfileString('app.ini', gs_safeguard_Section, 'dbms', '')
n_tr_lo .Database =ProfileString('app.ini', gs_safeguard_Section, 'database', '')
n_tr_lo .ServerName =ProfileString('app.ini', gs_safeguard_Section, 'servername', '')
n_tr_lo .DBParm = ProfileString('app.ini', gs_safeguard_Section, 'DBParm', '')
n_tr_lo .logid = SQLCA.logid
n_tr_lo .logpass = SQLCA.logpass
PS uses it;s own DB Client configuration as all it's DB drivers are native C# downloaded from the DBMS vendor as a Nuget package.
Thanks. Means, xxx.ini in my application is useless in db connection. Thus, i just setup different dbclient on PS, but, i dnt know what end user need to do in order to connect to different db? For eg, when i provide this URL link to end user 177.8.8.11/test_cloud , how to make it connect to another db and not this one? Can you teach me? Thank you.
Regards ... Chris