1. Praveen Rajarao
  2. PowerBuilder
  3. Tuesday, 3 July 2018 13:40 PM UTC

Hello All,

I had posted this question some time back but didnt get any help on this. I am still facing this issue randomly. 

Here is the link to my previous post -https://community.appeon.com/index.php/qna/q-a/pb12-5-2-net-runtime-error-please-help

Today morning around 1:14AM I saw this error again on our application server. Note that this is happening at random times and there is no way I can recreate it. The same application runs every night and through the day without any issues. 

 

Error 1:

Application: pbgo.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.Runtime.InteropServices.COMException

   at Sybase.PowerBuilder.WinWebDataWindowCommon.PBSession..ctor(System.String)

   at Sybase.PowerBuilder.Win.PBSession..ctor(System.String)

   at Sybase.PowerBuilder.Win.PBSession.CreateSession(System.Type, System.String)

   at PBApplicationEntryPoint.Main()

 

Error 2:

Faulting application name: pbgo.exe, version: 1.0.0.1, time stamp: 0x592742a1

Faulting module name: KERNELBASE.dll, version: 6.3.9600.18666, time stamp: 0x58f32841

Exception code: 0xe0434352

Fault offset: 0x00015608

Faulting process id: 0xe58

Faulting application start time: 0x01d331ce02e877c8

Faulting application path: C:\DBAPP\pbgo.exe

Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll

Report Id: 40a0ee91-9dc1-11e7-8114-005056a7490c

Faulting package full name:

Faulting package-relative application ID:

 

 

Olan Knight Accepted Answer Pending Moderation
  1. Tuesday, 3 July 2018 16:20 PM UTC
  2. PowerBuilder
  3. # 1

Is it possible to have code installed that would reboot the app once a day?

These kinds of errors tend to be stack or memory-related issues, and rebooting the app once a day >>> MAY <<< reduce or eliminate the source of the error.

This gives you time - you can add debug code to capture more information if it does occur again; extended log files, and so on.

 

Good Luck,

Olan

Comment
  1. Praveen Rajarao
  2. Thursday, 5 July 2018 14:15 PM UTC
Hi Olan,



There are around 12 different applications that kick off at different times during the night. When you say "reboot the app" what exactly do you mean? The application closes successfully every day after it has been run. I do not see any memory-related errors being logged in the event viewer of the app server. 



Adding Debug code: I have a log message which is the very first line in the open event of the app. That also is NOT captured/logged. Means to say the app doesnt even get to that point of execution. 



Not sure what else I can do. 

  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 5 July 2018 13:54 PM UTC
  2. PowerBuilder
  3. # 2

Why are you compiling it as a .Net Winform app if it is running unattended on a server at night?

 

Comment
  1. Praveen Rajarao
  2. Thursday, 5 July 2018 14:20 PM UTC
Hi Roland,



We are consuming a .NET service in this one app and that is why we had to migrate this to a .NET Winform app. It acts as a wrapper for other PB Classic apps. The main functionality of this .NET version of the app is to decrypt the DB password from a GUID and send it to the PB Classic app. 



Let me know if that helps.



Thanks



Praveen

  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.