Start a conversation

Error: 'The process was terminated due to an unhandled exception' when Core service stops unexpectedly ( ONLY)

Answer

PROBLEM

The GFI Archiver Core service stops unexpectedly.

Application event logs shows error:
 
Log Name:      Application
Source:        .NET Runtime
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
Description:
Application: MArc.Core.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: FirebirdSql.Data.FirebirdClient.FbException
Stack:
   at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader(System.Data.CommandBehavior)
   at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader()
   at MArc.UMPolling.Core.Queue.GetNumberOfItemsInQueue()
   at MArc.UMPolling.Core.MonitorPolling.DatabaseChecker(System.Object)
   at System.Threading._TimerCallback.TimerCallback_Context(System.Object)
   at System.Threading.ExecutionContext.runTryCode(System.Object)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading._TimerCallback.PerformTimerCallback(System.Object)
 
...\GFI\Archiver\Core\DebugLogs\AttendantService.log shows error:
 
2012-10-04,11:08:26,427,1,"#0000475C","#0000001B","error  ","Attendant Service","Error: CRITICAL Unhandled error, terminating:True"
2012-10-04,11:08:26,427,1,"#0000475C","#0000001B","error  ","Attendant Service","Error details: FirebirdSql.Data.FirebirdClient.FbException (0x80004005): Implementation limit exceeded
;Transactions count exceeded. Perform backup and restore to make database operable again ---> 
;   at FirebirdSql.Data.FirebirdClient.FbTransaction.BeginTransaction()
;   at FirebirdSql.Data.FirebirdClient.FbCommand.Prepare(Boolean returnsSet)
;   at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteCommand(CommandBehavior behavior, Boolean returnsSet)
;   at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader(CommandBehavior behavior)
;   at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader()
;   at MArc.UMPolling.Core.Queue.GetNumberOfItemsInQueue()
;   at MArc.UMPolling.Core.MonitorPolling.DatabaseChecker(Object state)
;   at System.Threading._TimerCallback.TimerCallback_Context(Object state)
;   at System.Threading.ExecutionContext.runTryCode(Object userData)
;   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
;   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
;   at System.Threading._TimerCallback.PerformTimerCallback(Object state)"

ENVIRONMENT

  • GFI Archiver 
  • All supported environments 

SOLUTION

  1. Open the web page
  2. Navigate to: Configuration > Mailbox Folder Structure Retrieval
  3. Click on: Change Settings
  4. Ensure that the feature is configured to connect to Exchange using the correct protocol for the environment
    • EWS for Microsoft Exchange 2007 SP1 or newer or Microsoft Office 365
    • MAPI for Microsoft Exchange 2003
  5. Stop the GFI Archiver services
  6. Delete the file: ..\GFI\Archiver\Core\UMPolling\queue\MARCEMQUEUE.FDB
  7. Start the GFI Archiver services

CAUSE

The database ..\GFI\Archiver\Core\UMPolling\queue\MARCEMQUEUE.FDB is corrupt or has grown too large.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments