-
Mike Sinclair
- PowerServer
- Wednesday, 6 August 2025 02:29 PM UTC
PowerBuilder 2022 r3 build 3397
Development is being done on a DevBox VM running windows 11
We have been converting a number of applications from Client/Server to PowerServer WebApps. One app is being particularly troublesome. The app runs fine from the IDE as a client/server app, and as a web app running locally via Kestral. Screens open, database connects, data displays, no issues. When placing this on an azure web server, the application performs proper web-based authentication, getting private and public keys for the session. However, when it reaches the point where the database connection is requested, the web app throws an error indicating the session is not connected-
"Error #: 224
Menu: w_frame
Object: w_frame
Location: Line 20 of event ue_signon
Error Text: Session fails to respond (Session does not exist). Please close or restart the application. (Web API: <redacted>.azurewebsites.net/api/ServerApi/ConnectAndCreateTransaction).
Learn more at: https://docs.appeon.com/ps/troubleshooting_guide/Session_fails_to_respond_session_does_not_exist.html"
The session is opened and connected earlier in the application after getting the keys using a beginsession() call that succeeds. I can't figure out why this connection fails, when another app with almost identical code works without an issue. The script in question simply gathers the database info from an INI file, sets the appropriate values in SQLCA, then issues a "connect" statement. I have verified that all the values are being properly set in SQLCA.
Any advice would be greatly appreciated. I can add any other specific information that would be helpful. Just tell me what else I need to provide.
Thank you,
Mike Sinclair
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.