In PowerBuilder 2021 build 1506, if more than one instance of the same PowerClient/PowerServer application are run on the client at the same time, instances starting from the second one fail to open and the event viewer shows the following error.


PowerBuilder 2021 Build 1506


This is a known bug and will be fixed in the subsequent MR.


Please follow the steps below to use the Hot Fixed DLL to solve the issue.

1. Delete the folder C:\inetpub\wwwroot\CloudAppPublisher\runtime\ from the web server machine.

2. Use the attached PBSHR.dll to replace the one in folder C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime on the PowerBuilder machine.

3. Go to PowerBuilder 2021 > Menu > Tools > Upload Cloud App Launcher.. to upload runtime files.

For a new client, running the application will automatically download the updated Runtime files. 

For clients that have already run the application, please follow the steps below to update the Runtime files.

1. Close the application.

2. Delete folder %appdata%/PBApps/Applications/Runtime/

3. Run the application via a browser.