1. Menna Pablo Javier
  2. PowerServer
  3. Friday, 25 November 2022 15:46 PM UTC

Hi,

I have managed to successfully execute the entire process to migrate my application to Powerverser with PB2022. 
From the client, I verified that it executes the first instructions but it generates the following error when connecting to the database


Powerbuilder application execution error (R0222)
Aplication terminated.
Error: session not created. Please create a session using BeginSession.
(Web API:http://localhost/api/serverapi/RollbackAndCreateTransaction)

The application runs on windows server 2019 and the publication is on Internet Information Server.

Any idea what is missing for it to connect?

Regards

 

 

mike S Accepted Answer Pending Moderation
  1. Friday, 25 November 2022 16:09 PM UTC
  2. PowerServer
  3. # 1

"session not created. Please create a session using BeginSession"

that means you set your application to NOT automatically create a session on startup.  so you have to start it yourself, which you didn't do.

 

open your application object, additional properties, powerserver tab.  is the begin session by code checked? If you do, that means you have to start the PS session with powerscript you write.  Uncheck it if you are doing testing only

 

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.