1. Marcelo Peñailillo
  2. PowerBuilder
  3. Thursday, 29 April 2021 22:14 PM UTC

How can we do PowerClient version cleanup tasks on the IIS Server that contains all versions?


In my case in previous versions I loaded many external files, those that keep trying to be downloaded by the PowerClient and are registered in the log file "pbdloader.log" located in %AppData%\PBApps\Applications\myapp_folder\log

Example data in log:

2021-04-29 18:06:00.864 ERROR [11400] [CCloudDownloadAsRequired::GetCloudFile@492] Failed to download the file "xxx.png" because it does not exist in the file manifest of the application.

all those external files from previous versions are no longer used, which is why I removed them from the powerclient project.

Thanks

Marcelo Peñailillo

Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Thursday, 6 May 2021 08:08 AM UTC
  2. PowerBuilder
  3. # 1

Hi Marcelo,

 

Failed to download the file "xxx.png" because it does not exist in the file manifest of the application” in the log usually means this png file is used in your application code and it’s using a relative path.

 

So please check your application code and see if there is any relative path defined to use this png file. If there is, then you need to upload this png file to the server.

 

But if you still cannot locate this issue, I suggest that you open a ticket in Appeon Support and give a description of the PB code of using this png file and the PowerClient configuration there so that Appeon support developers can better keep track of and handle this issue.

 

Regards,

Ken

 

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 30 April 2021 02:32 AM UTC
  2. PowerBuilder
  3. # 2

Hi Marcelo,

Your question is not clear to me.  Are you talking about cleaning up the cached files on the user's machine or are you talking about cleaning up files on the IIS Web server?

Best regards,
Armeen

Comment
  1. Marcelo Peñailillo
  2. Friday, 30 April 2021 14:48 PM UTC
Hello Armeen

I was consulting for files on the server.

Anyway after cleaning with Undeploy Option, check the pbdloader.log file and the ERROR [9704] persists.

My application accesses many files that are outside the folders defined in the project, they are defined through the windows registry using the branch

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\myapp.exe

Path = "MyOutsideProjectFolders; RealAppFolder; RuntimeFolder"

So it would be good if PowerClient did not send that error, I think that the loading of my app would be even faster.

Thanks and regards

Marcelo
  1. Helpful
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Friday, 30 April 2021 02:21 AM UTC
  2. PowerBuilder
  3. # 3

Hi Marcelo,

Please try to use the following way to undeploy PowerClient Project:

 

Regards,

Ken

Comment
  1. Marcelo Peñailillo
  2. Friday, 30 April 2021 14:38 PM UTC
Thank you very much, with that the cleaning was done.



Marcelo
  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.