1. Bruce Beachy
  2. PowerBuilder
  3. Tuesday, 11 June 2019 20:19 PM UTC

Getting this error when attempting to run PowerBuilder from development environment.  Running PowerBuilder 9.0.3 on Windows 10

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 11 June 2019 20:36 PM UTC
  2. PowerBuilder
  3. # 1

Hi Bruce;

   The PB IDE normally outputs this error when an object cannot be run because it was not compiled OK.

    If you locate the object in the IDE's "System Tree" or via the Library Painter, you can use the RHMB on it and then select the "Regenerate" option from the resulting pop-Up menu. Now either two things will happen .. 1) the regenerate will succeed - thus allowing you to now run the App OK or .. 2) the regenerate will fail and then indicate some reason(s) why not.

HTH

Regards ... Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 11 June 2019 20:39 PM UTC
  2. PowerBuilder
  3. # 2

When you updated from PB 9 GA to 9.0.3, did you do a Full Rebuild?

Comment
  1. Michael Kramer
  2. Tuesday, 11 June 2019 22:04 PM UTC
Full rebuild - or migrate? Sometimes a migrate may be needed.

Also: Does your app contain PBD compiled under different PB target? All PB code needs recompile using new release - even when it is a maintenance release.
  1. Helpful
  1. Bruce Beachy
  2. Wednesday, 12 June 2019 12:34 PM UTC
I did a "Full Build". I'll read how to do a migrate and try this option. Thanks
  1. Helpful
  1. Roland Smith
  2. Wednesday, 12 June 2019 13:07 PM UTC
Migrate is just a variation on Full Rebuild that should be on the menu next to Full Rebuild. The only real difference is that it checks for any version related syntax changes. The Full Rebuild should be enough.
  1. Helpful
There are no comments made yet.
Bruce Beachy Accepted Answer Pending Moderation
  1. Wednesday, 12 June 2019 12:26 PM UTC
  2. PowerBuilder
  3. # 3

Thanks Chris.  When I tried to regenerate I received the following error

Comment
There are no comments made yet.
Bruce Beachy Accepted Answer Pending Moderation
  1. Wednesday, 12 June 2019 18:45 PM UTC
  2. PowerBuilder
  3. # 4

Hi everyone.  Thanks for your suggestions.  I tried them all, which did help narrow down what I needed to do.  My final resolution was to do an "Edit Source" and remove an offending event.  It only contained comments, so all is well.

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 12 June 2019 19:04 PM UTC
Great news Bruce. Yes, I have had this type of issue the odd time where a previous edition of PB corrupted an object's source. That corruption only then manifested at run time. Its a very rare case but, it does happen.
  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.