1. Kevin Thai
  2. PowerBuilder
  3. Tuesday, 11 October 2022 23:50 PM UTC

Powerbuilder 2022 Build 1878

Windows 10 Build 21H2

Hi all,

We are currently on PB 2022 Build 1878 and are experiencing issues with Powerclient for users. We had the powerclient server set up since the beginning of Powerclient on Powerbuilder, the last version before PB 2022 was PB 2021 verison 1506. I pushed the PB 2022 Cloud App Launcher onto the server and updated the files with the 2022 versions.

Before upgrading version did not give us any issues but this time we are encountering an issue when users start the application. I believe users have already updated to the new version and are encounter this issue when starting the application.

The error is as follows :

Information for context

Server: PBServer

Application name: PBTest

Server and application names were alter but it should be the same behavior 

 

2022-10-04 16:50:10.751 ERROR [22232] Application terminated.

2022-10-04 16:50:10.750 ERROR [16752] Failed to download the file. URL: http://pbserver:80/PBTe/deploylist.ini.zip, Error description: HTTP error.(error code: 404). 

 

For some reason the URL cuts off the last 2 characters of the Application name so it returns 404 error.

The work around is going to the computers and uninstall and reinstalling the powerclient application, but we wanted the powerclient setup so we did not have to manually update computers. 

 

Thank You for your help, and let me know if more information is needed

---------------------------------------------------------------------------------------------------------------

I have found out why we are getting the error. 

Now I need help finding why it happening.

Here is the pbapp.ini file from a user having the issue:

[dwcenter]
url=http://pbserver:80/PBTest/8.5.4385
showStartPage=1
shellPath=C:\Users\TestUser\AppData\Local\Launcher\CloudAppShell.exe
startParam=-userapp "-userapp" "-userapp" "-userapp" "-userapp" "-userapp" "cloudapp://http://pbserver:80/PBTest/" "cloudapp://http://pbserver:80/PBTest/" "cloudapp://http://pbserver:80/PBTest/" "cloudapp://http://pbserver:80/PBTest/"
preloadEvent_Executed={133FC1AA-AF44-41E0-93EE-B4D92781DA2A}
appname=PBTest
[shortcut]
appname=PBTest
desktopshortcut=1
startmenushortcut=1
desktopshortcutname=C:\Users\TestUser\Desktop\PBTest.lnk
startmenushortcutpath=C:\Users\TestUser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\PBTest
startmenushortcut_uninstall=1

 

Notice how the startParam setting is long. I found out that if it is long enough the startparam gets cut off and errors on startup.

Now I am trying to figure out why this is happening.

A unique thing about our powerclient is we do not increment the version number because we want all users to be on the latest version and doing this auto updates their application. We have been doing this since PB2019 so I don't know if is different now.

 

Kevin Thai Accepted Answer Pending Moderation
  1. Friday, 14 October 2022 16:18 PM UTC
  2. PowerBuilder
  3. # 1

More info was found question was updated.

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 14 October 2022 16:55 PM UTC
Thanks for sharing the more info. This seem to me like a bug. Please open a support ticket: https://www.appeon.com/standardsupport/newbug
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 12 October 2022 16:30 PM UTC
  2. PowerBuilder
  3. # 2

My guess is there is some version mismatch of 2021 and 2022 stuff on your Web server.  It would be best to delete everything 2021 and 2022 related from the Web server, do a full build (not incremental) in PowerBuilder 2022, then deploy the 2022 version of the Cloud App Launcher and your app to the Web server.  

Comment
There are no comments made yet.
Mora Wang @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 12 October 2022 10:05 AM UTC
  2. PowerBuilder
  3. # 3

Hi Kevin,

 

According to your description, I upgraded my PB 2021 build 1506 PowerClient Project to PB 2022 Build 1878 with the same configuration but didn’t reproduce this problem.

 

Could you provide a reproducible PB case (including the specific PowerClient Project configuration) and the detailed steps to reproduce the problem for us to analyze?

 

 Also, can you elaborate on what you mean by “ Server and application names were alter but it should be the same behavior“?

 

Thanks & Regards,

Mora

Comment
  1. Kevin Thai
  2. Friday, 14 October 2022 16:17 PM UTC
Hi Mora,



I cannot recreate the error as it seems to happen to people when using the powerclient application. One day they are working fine, the next this error appears when they try to startup. It seems the users have already updated to the PB2022 version before the error occurred.







What I mean when I say I altered the names is the original error did not contain pbserver and pbtest in the url it was actually our hosting server and the real name of the application but I change the text for security reasons. I changed the text so it would be similar to the error we are encountering.



My main issue right now it why is the url being cut off?



2022-10-04 16:50:10.751 ERROR [22232] Application terminated.



2022-10-04 16:50:10.750 ERROR [16752] Failed to download the file. URL: http://pbserver:80/PBTe/deploylist.ini.zip, Error description: HTTP error.(error code: 404).



The correct URL should be: http://pbserver:80/PBTest/deploylist.ini.zip



but the error is return a URL with the application name being cut off:http://pbserver:80/PBTe/deploylist.ini.zip hence why we are getting the error.







Thank You
  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.