1. Monica Petersen
  2. PowerServer
  3. Wednesday, 26 May 2021 18:10 PM UTC

Hi,

I previously had a mobile app that I'd packaged up and run successfully.  In between then and now, we've upgraded from PB 2017 to PB 2019 R2, and upgraded our production environment to Azure.  I've also upgraded to the developer version of PowerServer 2020 Build 2323 on our production server.

 

Product Version: PowerServer (PB Edition) 2020 Build 2323.00
Server Type: 64-bit
Operating System: Windows Server 2019
Application Server: .Net

Product Edition: Developer (View license details)

 

Now when I try to package the mobile app to run against the production databases, I get the error:

Failed to package because the profile verification has failed.  Please modify the profile and try again.

Error: No application engineering file found, please republish the application.

I think the error means that PowerServer can't find the files that were deployed to the production power server, as specified in the App URL setting?  I've checked, and the files are there, and I'm setting up the App URL exactly as it's set up in the PowerServer Profile Configuration, appended with the app name.  The "Test PowerServer Settings" returns "Connected to PowerServer 'Prod' successfully!"

I've tried using different PowerServer templates (for build 2333, 2323, and 2170), in combination with different URLs, and only ever get the same error.  What else should I try?

Thanks,

 

Monica.

 

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 26 May 2021 20:19 PM UTC
  2. PowerServer
  3. # Permalink

Hi Monica;

  In the PS Toolkit ... have you updated the Mobile templates?

   Also, are you packaging for iOS or Android deployment?

Regards ... Chris

Comment
  1. Monica Petersen
  2. Wednesday, 26 May 2021 20:41 PM UTC
Hi Chris,



I'm packaging for Android, and yes, I've updated the mobile templates and I still get the error.



It occurs to me this might be due to the fact that I had installed R3, and then had to uninstall it and reinstall R2 because of performance issues. When I bring up the PowerBuilder Installer, it shows 'Modify' on R3, which maybe implies it wasn't completely uninstalled?



Monica.

  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 26 May 2021 21:10 PM UTC
Yes, that could be the issue!

Each PB IDE installation has a matching "PowerServer Toolkit" and "PowerServer" installation that goes with (exactly matches) the PB IDE CloudPro version & build.

What I would recommend now is to uninstall your PS ToolKit and PowerServer. Reboot, and then install those two software pieces from the PB 2019 R2 CloudPro installation.

Note though that if you that, then the Android 11 O/S version will not be supported. You need R3 & PS2020 (both build 2703) for that feature support.
  1. Helpful
There are no comments made yet.
Monica Petersen Accepted Answer Pending Moderation
  1. Wednesday, 26 May 2021 22:54 PM UTC
  2. PowerServer
  3. # 1

Success!  That was the problem.  Thank you!

 

Monica.

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 27 May 2021 00:01 AM UTC
Excellent. Thanks for the feedback!
  1. Helpful
There are no comments made yet.
Monica Petersen Accepted Answer Pending Moderation
  1. Wednesday, 26 May 2021 19:36 PM UTC
  2. PowerServer
  3. # 2

The dev environment is 

Appeon PowerBuilder CloudPro Edition

Version 2019 R2 Build 2353

 

Yes, I get the same message when I try to package the version of the app that is deployed to PowerServer on my dev machine.

 

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 26 May 2021 18:20 PM UTC
  2. PowerServer
  3. # 3

Is your production server also using version 2020 Build 2323 to match your dev machine?

Does this problem also happen when running the app against your dev machine or only production server? 

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.