1. Erick Siliezar
  2. PowerBuilder
  3. Wednesday, 29 June 2022 18:16 PM UTC

Hi everyone,

     I migrated my source code from PowerBuilder 2019 to PowerBuilder 2021 , then I compiled my app in 64 Bit format. After that I created the MSI 64 runtime installer required to run my app in 64 bit.

    The runtime Packager was installed in the following location: C:\Program Files\Appeon\PowerBuilder Runtime Packager\Runtime 21.0.0.1509

    Into my app folder , I deployed the executable, the pbd libraries and the xml configuration file with the following info:



C:\Program Files\Appeon\PowerBuilder Runtime Packager\Runtime 21.0.0.1509

But unfortunately when I tried to run my app , it never starts. My question is what I'm doing wrong. Did I skip a step to deploy my app?

The only key is the event manager saying the following error:

Faulting application name: securityexp.exe, version: 1.1.8.2, time stamp: 0x625eda81
Faulting module name: pbdwe.dll, version: 21.0.0.1509, time stamp: 0x625edac9
Exception code: 0xc0000005

Here you have the XML Event detail log file.

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" />
  <EventID Qualifiers="0">1000EventID>
  <Version>0Version>
  <Level>2Level>
  <Task>100Task>
  <Opcode>0Opcode>
  <Keywords>0x80000000000000Keywords>
  <TimeCreated SystemTime="2022-06-29T17:46:01.1570858Z" />
  <EventRecordID>19714EventRecordID>
  <Correlation />
  <Execution ProcessID="0" ThreadID="0" />
  <Channel>ApplicationChannel>
  <Computer>TestingPCComputer>
  <Security />
  System>
- <EventData>
  <Data>securityexp.exeData>
  <Data>1.1.8.2Data>
  <Data>625eda81Data>
  <Data>pbdwe.dllData>
  <Data>21.0.0.1509Data>
  <Data>625edac9Data>
  <Data>c0000005Data>
  <Data>000000000002bcddData>
  <Data>1e48Data>
  <Data>01d88be0180dda0bData>
  <Data>C:\Users\Public\Informent94\PwrShr\Sec_Express\securityexp.exeData>
  <Data>C:\Program Files\Appeon\PowerBuilder Runtime Packager\Runtime 21.0.0.1509\pbdwe.dllData>
  <Data>9957b203-d0bc-4191-9296-6f60a6f28a0eData>
  <Data />
  <Data />
  EventData>
  Event>

 

Dan Cooperstock Accepted Answer Pending Moderation
  1. Wednesday, 13 July 2022 13:48 PM UTC
  2. PowerBuilder
  3. # 1

I'm wondering whether this might be the same problem I just found out the solution to, with PB2021, which is that PBCRYPT.DLL is needed even if you aren't using the objects that the docs say it is needed for. Its absence was also causing crashes in PBDWE.DLL for my application. See whether the packager is including it, and add it if not. (I've never used the packager, so I'm just assuming that is possible.)

Comment
  1. Mark Goldsmith
  2. Wednesday, 13 July 2022 19:55 PM UTC
Thanks again Dan. Can't see the bug yet but maybe it takes a while to refresh.
  1. Helpful
  1. Dan Cooperstock
  2. Wednesday, 13 July 2022 20:02 PM UTC
Sorry Mark, I think after I changed it to Public I had forgotten to click Save Changes! And now although I did that, the status is "Verifying - Waiting for Appeon" - they probably have to approve making bug reports public to make sure there is nothing in the thread that should have stayed private.
  1. Helpful
  1. Mark Goldsmith
  2. Wednesday, 13 July 2022 20:58 PM UTC
No problem Dan and thanks for checking!
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 29 June 2022 18:47 PM UTC
  2. PowerBuilder
  3. # 2

It is not as simple as recompile your app.  Did you follow the 64-bit migration guide? https://docs.appeon.com/pb2021/migrating_32bit_applications_to_64bit/index.html

Comment
  1. Armeen Mazda @Appeon
  2. Wednesday, 29 June 2022 21:24 PM UTC
If crashing in 32-bit, I would not spend the time on 64-bit conversion. First step to the conversion would be make sure doesn't crash in 32-bit. Most often the cause of crashes is DLL mismatch. Second reason could be some conflict with the accessibility options. You can disable "Accessibility" property by setting it to 0. Here is the relevant doc: https://docs.appeon.com/pb2022/pbug/PBINI_settings.html
  1. Helpful 1
  1. Erick Siliezar
  2. Friday, 1 July 2022 21:52 PM UTC
Hi Armeen, unfortunately my application still not running sending same event manager error message. Is there any additional steps to follow. I'm planning to rollback my source code to PB2019 R3.



Faulting application name: securityexp.exe, version: 1.1.8.2, time stamp: 0x625eda81

Faulting module name: pbdwe.dll, version: 21.0.0.1509, time stamp: 0x625edac9

Exception code: 0xc0000005
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 1 July 2022 22:02 PM UTC
Hi Eric;

Don't forget that the PB packager only installs only the PB runtime DLLs. If you check the PB Help under the keyword "runtime", you'll see that you may also need some Microsoft DLLs as well. They will need to be manually copied over. Please read the PB help carefully about all the extra files that you might need.

Regards... Chris
  1. Helpful 2
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.