- Krishnaprasad Sadasivan
- PowerServer 2020 or older (Obsolete)
- Wednesday, 4 November 2020 08:00 PM UTC
Hello All.,
I have an issue in PB17 Application in Web deployed version.
In our application, We have a requirement to handle Transaction object in Array to connect different databases at the same time and hold the transaction. So while establishing the connection using the array instance of transaction object, My deployed application throws the below error when it execute the statement 'Connect using transactionobj[index];'
Below is the sample code that is used to create transaction object which is throwing the above error in web deployed application.
Long ll_tranrow
Transaction dynamic_conn[]
ll_tranrow = upperbound(dynamic_conn)+1
//
dynamic_conn[ll_tranrow] = Create transaction
//
dynamic_conn[ll_tranrow].Database = <sample>
dynamic_conn[ll_tranrow].LogId = <sampleid>
dynamic_conn[ll_tranrow].LogPass = <sampleLog>
dynamic_conn[ll_tranrow].DBMS = <sampleDBMS>
dynamic_conn[ll_tranrow].ServerName= <sampleserver>
dynamic_conn[ll_tranrow].DbParm = <ls_DbParm >
dynamic_conn[ll_tranrow].DBMS = 'MSS'
dynamic_conn[ll_tranrow].DBParm =ls_DbParm+" CacheName='"+ls_ccn+"'"
dynamic_conn[ll_tranrow].lock = 'RC'
dynamic_conn[ll_tranrow].AutoCommit = False
//
CONNECT using dynamic_conn[ll_tranrow];
//
Note : I am facing this error only in Web deployed application version and it works perfectly fine in Normal EXE.
Please find the PB version details.
I really appreciate if someone can help me to resolve this issue.
Thanks,
Krishna
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.