1. Edinson Nongrados
  2. PowerServer
  3. Monday, 29 November 2021 14:13 PM UTC

Hi,

I'm unabled to run my powerServer app on a client PC. I can install and run the app using localhost in the developemnt PC with PowerServer project and having the IIS server ON but on a client pc when I try to access using http://<ip>/<app>/ it shows me the launcher and it looks like i downloaded and installed the app but.

It doesn't open the app and there aren't any desktop, start menu or App Uninstall shortcuts.

I think that i forget something important about the IIS server, cause on the development machine i have in running clicking "Compile and Run Web APIs".

 

In the image I access the development computer from the client computer (from here I compile) but when I run the "Start the aplication" it doesn't do anything and
"Download the Launcher" looks like it installed and runs something but finally it doesn't do anything neither.

 

Attachments (1)
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 29 November 2021 17:09 PM UTC
  2. PowerServer
  3. # 1

Hi Edinson,

There are a number of things you have to do to take a localhost project and publish it for real users to access from client PC.  Please refer to the documentation: https://docs.appeon.com/ps2021/Hosting_Web_APIs_in_IIS.html

In summary, I think your app is failing for one or more of the following reasons:

1. The generated C# code for the Web APIs needs to be compiled using SnapDevelop.  The compile & run is only for running locally on your machine.

2. The compiled Web APIs need to be deployed to IIS Web server that is accessible by your users.

3. The Web API URL configured in Web API tab of your PowerBuilder IDE needs to be externally accessible URL not localhost.  If you don't want to regenerate the app to change this URL, please follow these instructions: https://docs.appeon.com/ps2021/bk03ch15s02.html

Best regards,
Armeen

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 29 November 2021 15:12 PM UTC
  2. PowerServer
  3. # 2

Hi Edison;

  Did you build the Cloud App Launcher to run without needing to be installed "as an MS-Windows service"? If not then the machine that you are running on and he account you use must be logging into that machine with "local Admin" privileges.

Regards ... Chris

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.