cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in powerbuilder 12.6 executable file

Former Member
0 Kudos

Hi All,

We have a PB application with the following PB version.

PB Version - PB 12.6 Bulid 4088.

While running the application from PB workspace, the application works without any errors. On running the EXE file , the following errors were thrown.

Error 1:

When we run the EXE file in Windows 7 machine, it says the application cant connect to database( SQL code = -1) but the application works fine from powerbuilder workspace.

Note: We are having the same INI file for workspace and EXE package folder, where we have configured the DB parameters.

Error 2:

When we run the EXE file in Windows 12 machine, it says "The application was unable to start correctly (0xc000007b). Click OK to close the application". On responding to this message by clicking "ok" button, another message saying "application.exe has stopped working". When see the error message for additional details, it is showing that the fault module is ntdll.dll. We have attached the error screenshots.

Note: The above errors comes for the PB 12.6 build versions 4088 and 4098.error.pngerro1.png
Kindly provide us some resolution to fix this.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Padmagowri;

1) For PB 12.6 build 4088 - that is the GA (initial version) circa 2015. I am currently using build 4139 from June 1, 2017. You might want to apply some EBF's ASAP as the initial release of v12.6 was quite buggy. For the SQL error, you should also capture the SQLCA.sqldbcode and the SQLCA.sqlerrtext properties to really know what is going on. the SQLDBCode of -1 just means the Connect failed for some reason.

2) Assuming that you meant W2012 in your EXE start-up crash, I suspect that the issue could be improperly matched run-time DLL's or the PB Run-time was not installed correctly. Hopefully in the later case, you used the "Packager" utility to load the PBVM DLL's onto the W2012 machine - not just copy some DLL's from the developer's PC.

HTH

Regards ... Chris