-
Mary Jane Foster
- PowerBuilder
- Tuesday, 18 November 2025 06:43 PM UTC
Hello PB Community!
We're migrating from PB2022 to PB2025 and converting from binary to solution/project. It seemed to be going very well until we tried using the PBAutoBuild.
We are encountering a Fatal C0247 Exception occurred while generating PCode when using PBAutoBuild without invoking the compiler. It builds without .pbd's just fine from the IDE. If I run PBAutoBuild and invoke the compiler and build .pbds it works fine. So, I could wave the white flag and just invoke the compiler, but no one learns anything that way and I love a good challenge.
Here are the steps I have taken to try to mitigate the issue that have not been successful:
- Remigrated and converted
- Validated dependencies as thoroughly as possible. Found and resolved missing datawindow issue that exists today in our PB 2022 code and still builds.
- Removed Non-Ascii & BOM characters (even found odd 'wingdings' in one object. They are there today in PB 2022 and build just fine. Your upgrades are getting better at finding our errors
. Trying to find the humor in the frustration. - Rebuilt the pfc_n_base from scratch.
Odd behavior observed (likely red herrings):
- If I do a full build from the IDE first, remove build artifacts, then run PBAutoBuild, it fails on pfc_n_base.
- After that failure if I remove build artifacts and run PBAutoBuild again, it fails on a different object, pfc_n_cst_metaclass. This may be expected.
- If I remember correctly, after I got it to work by invoking the compiler, removed build artifacts and then tried it with PBAutoBuild it failed on the pfc_n_cst_metaclass too.
I am looking for:
- Suggestions on what I should try next.
- If anyone else has experienced this issue and found a way around it, what did you do?
Thank you all!
MJ
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.