App connected to SQL Server uses 12.6 PFC and PB 12.6 classic and runs in IDE but once deployed it does not and behaves differently. Running in the IDE in the open event of the app gnv_app.pfc_open() fires in n_cst_steps_appmanager. When I deploy the app with all the required PB dll files as it gets to gnv_app.pfc_open() it now fails to go to the pfc_open causing the app break later with login and DB errors. If connected to Sybse the exe works great. I am using SNC for PB 12.6.
My next step will be running pb debug tracing in IDE and deployed.
If anyone has any ideas or has an idea if this an issue with PFC 12.6 or an issue in PB 12.6 classic that would be helpful.
Simple fix #2: Ensure that the folder and the EXE have the rights required to run, and that none of the PBDs have a security setting that restricts their processing.
Otherwise ~
The issue is that when running with the IDE, it uses all of the linkages specified in the PATH variable of the platform you are on. This can hide a multitude of sins. That's why to test the app you double-click the EXE you just created, which resides in the same folder as everything else. That makes the code run like it would on a client machine. Please be sure that doing that on your PC worked.
The problem is almost certainly the PFC - it has usually been the culprit when I've seen this issue.
BE SURE that you take the PBLs of the PFC and recompile them in your current version of PB; in that same single folder. Test again by double clicking the EXE in the single folder on the development machine. If it works, then you can take the PBLs of the PFC and load them into the client folder on the client machine and try again. If that's still failing then start moving the PBDs of the app one at a time into the client folder.
Be sure to include the RUNTIME files you need.
To run an app you need three things:
1) all of the runtime files required for your app,
2) all of the application and class PBDs required by your app that have been compiled in a single target, and
3) the rights to execute the application and WRITE to the drive.
Good Luck,
Olan