Session not created
When running the installable cloud application, the following
error occurs: Session not created. Please create a session using
BeginSession.
Cause:
The application is set to create sessions manually (by calling
the BeginSession function), instead
of automatically.
Solution:
You can resolve this error by either of the following
solutions:
-
Disable the “Dynamic session
parameters” option in the PowerBuilder IDE (so
sessions are automatically created). (To disable this option,
open the application object painter, click Additional Properties in the
application’s Properties
dialog; in the Application
dialog, select the PowerServer
tab and then select the Dynamic session
parameters option and click Apply.)Or
-
Enable the “Dynamic session
parameters” option in the PowerBuilder IDE, and write
scripts to call the BeginSession function in the application
Open event. (View a code
example here)