1. Olaf Brungot
  2. PowerBuilder
  3. Wednesday, 14 July 2021 09:41 AM UTC

PowerBuilder 2019 R3 2703

Playing around with the PowerClient feature, I get this issue on deployment

...\Temp\pbappscache\html\en because the local folder does not exist. The folder does not exist, but it is supposed to be generated and it's not clear to my why it does not.

 

Here's the setup

Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Friday, 16 July 2021 00:40 AM UTC
  2. PowerBuilder
  3. # 1

Hi Olaf,

According to the log, you are deploying your application via 'Deploy PowerClient Project' on the right-click menu. In this case, please make sure you have successfully deployed your application using 'Build & Deploy PowerClient Project' before this deployment, and the deployed files are not deleted. The error message is indicating that the path doesn’t exist, so please go to the path in the deploy log to check if it exists. If not, please execute 'Build & Deploy PowerClient Project' instead.

Please refer to the article below for building and deploying a PowerClient project.
https://docs.appeon.com/pb2019r3/pbug/ch07s03.html#d0e60276

Regards,
ZhaoKai

Comment
There are no comments made yet.
Olaf Brungot Accepted Answer Pending Moderation
  1. Thursday, 15 July 2021 06:40 AM UTC
  2. PowerBuilder
  3. # 2

Hi Armeen, 

Thank you for your quick reply. 

I did not run PB as an administrator, but it did not resolve the issue as I now tested with that option.

Testing of both FTP and file path was successful.

Changed the deployment to local IIS, but the issue persists.

 

To me this seems not be related to the server it's being deployed to, but to an local issue while generating files getting ready to deploy.

See screenshot where it looks for a 'en' folder, which does not exists. A 'em' folder exists at the local folder (it is empty).

Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 15 July 2021 17:39 PM UTC
Hi Olaf, Did you also check what Chris said: "Note that ALL files *must* be underneath the PB App's working WorkSpace folder. You cannot map external files outside that realm."?
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 14 July 2021 16:27 PM UTC
  2. PowerBuilder
  3. # 3

Hi Olaf,

When you started PowerBuilder did you select "Run as Administrator" option?  PowerClient deployment process requires that you explicitly tell Windows 10 to execute PB as admin.

Also, when you click "Server Configuration" in your screenshot is the FTP connection to your remote server testing successfully?

Lastly, have you tried first deploying to your IIS on your local machine and get that working before going to remote server?  That's a great way to isolate if problem is with your machine or the problem is the remote server.

Best regards,
Armeen

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 14 July 2021 15:56 PM UTC
  2. PowerBuilder
  3. # 4

Hi Olaf;

  My guess is that this issue might be related to the "External Files" mapping or maybe the remote Web Server mapping - and thus, an FTP issue. Just my 1st guess.

  Does it work OK using a local Web Server like IIS?

Regards ... Chris

Comment
  1. Olaf Brungot
  2. Thursday, 15 July 2021 06:43 AM UTC
I haven't changed anything on the External Files. Using the PB Salesdemo 'out of the box'. FTP seems to work good, as it will upload the Cloud App Launcher if I try. Changing deployment server to local IIS does not have any effect on the issue. As stated in my reply to Armeen, I think the problem occurs before actual deployment, while generating the files for deploy (i.e. missing local folder).
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 15 July 2021 17:29 PM UTC
Note that ALL files *must* be underneath the PB App's working WorkSpace folder. You cannot map external files outside that realm.
  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.