1. SHAMEEM KAKKAD
  2. PowerServer
  3. Tuesday, 28 September 2021 05:23 AM UTC

Hai Appeon team,

I Configured IIS for my small PowerServer test application. But, While I am accessing this url, I am getting this error.

 

---------------------------
PowerBuilder application execution error (R0221)
---------------------------
Application terminated.

Error: Session creation failed.
Cause: Not Found (HTTP status code: 404).

(Web API: http://localhost:81/api/ServerApi/CreateSession)

Last mentioned create session, Where from create this path ?

SHAMEEM KAKKAD Accepted Answer Pending Moderation
  1. Thursday, 30 September 2021 07:27 AM UTC
  2. PowerServer
  3. # 1

Anybody can help for the above issue ?

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 29 September 2021 13:06 PM UTC
  2. PowerServer
  3. # 2

Hi Shameem,

Using Kestrel (running the Web APIs on a console application) is one of the two ways to run the PowerServer Web APIs. You can also do in-process hosting, which runs as a IIS subprocess and doesn't require the console window to be open. We have a tutorial on how to do in-process hosting deployment for PowerServer here

Hope this helps.

Regards,
Francisco

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 28 September 2021 13:16 PM UTC
  2. PowerServer
  3. # 3

Hi Shameem,

This error usually indicates that the Web API is not running, or is not accessible when you launch the Cloud App.
Please make sure the Web API is running when you run the Cloud App (Compile & Run Web APIs on the PowerServer toolbar)

Regards,
Francisco

Comment
  1. SHAMEEM KAKKAD
  2. Wednesday, 29 September 2021 05:28 AM UTC
Hai Francisco,

It is working while keeping the console window which will retrieve from the PB toolbar. But, I need to work through IIS or any other method without a console window. Because in the Customer system we can't install PB.



I need like .....



My application is running in 10 systems in a centre. There is 1 Server and 9 clients. I would like to update and keep application files in a server. If any changes in application we need to update the modified PBD file in all systems. It is very difficult to handle. So, The PowerServer method can handle this issue ?
  1. Helpful
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.