You are viewing limited content. For full access, please sign in.

Question

Question

Laserfiche Forms 12 Notification Master Service Keeps Stopping

asked on April 11

We upgraded our Forms test server from version 11 to version 12 (2025 Spring Release) and now the Laserfiche Notification Master Service will start and then immediately stop.

Looking in the Event Viewer logs I see the following 2 errors:

Log Name:      Application
Source:        .NET Runtime
Date:          4/11/2025 8:07:32 AM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxx.xxxx.xxxx.com
Description:
Application: Laserfiche.PushNotificationService.Master.Host.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Configuration.ConfigurationErrorsException
   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean)
   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(System.Configuration.ConfigurationSchemaErrors)
   at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
   at System.Configuration.ClientConfigurationSystem.EnsureInit(System.String)

Exception Info: System.Configuration.ConfigurationErrorsException
   at System.Configuration.ClientConfigurationSystem.EnsureInit(System.String)
   at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(System.String)
   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(System.String)
   at System.Configuration.ConfigurationManager.GetSection(System.String)
   at System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetSectionFromConfigurationManager(System.String)
   at System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetConfigurationSection(System.String)
   at System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetSectionNoTrace(System.String)
   at System.ServiceModel.Diagnostics.TraceUtility.SetEtwProviderId()
   at System.ServiceModel.Diagnostics.TraceUtility..cctor()

Exception Info: System.TypeInitializationException
   at System.ServiceModel.Diagnostics.TraceUtility.SetEtwProviderId()
   at System.ServiceModel.ServiceHostBase..ctor()
   at System.ServiceModel.ServiceHost..ctor(System.Type, System.Uri[])
   at Laserfiche.PushNotificationService.Master.Host.PushNotificationServiceHost.CreatePushNotificationMasterService()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2025-04-11T15:07:32.873776800Z" />
    <EventRecordID>142701</EventRecordID>
    <Channel>Application</Channel>
    <Computer>xxxx.xxxx.xxxx.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: Laserfiche.PushNotificationService.Master.Host.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Configuration.ConfigurationErrorsException
   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean)
   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(System.Configuration.ConfigurationSchemaErrors)
   at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
   at System.Configuration.ClientConfigurationSystem.EnsureInit(System.String)

Exception Info: System.Configuration.ConfigurationErrorsException
   at System.Configuration.ClientConfigurationSystem.EnsureInit(System.String)
   at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(System.String)
   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(System.String)
   at System.Configuration.ConfigurationManager.GetSection(System.String)
   at System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetSectionFromConfigurationManager(System.String)
   at System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetConfigurationSection(System.String)
   at System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetSectionNoTrace(System.String)
   at System.ServiceModel.Diagnostics.TraceUtility.SetEtwProviderId()
   at System.ServiceModel.Diagnostics.TraceUtility..cctor()

Exception Info: System.TypeInitializationException
   at System.ServiceModel.Diagnostics.TraceUtility.SetEtwProviderId()
   at System.ServiceModel.ServiceHostBase..ctor()
   at System.ServiceModel.ServiceHost..ctor(System.Type, System.Uri[])
   at Laserfiche.PushNotificationService.Master.Host.PushNotificationServiceHost.CreatePushNotificationMasterService()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

</Data>
  </EventData>
</Event>
Log Name:      Application
Source:        Application Error
Date:          4/11/2025 8:07:33 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxx.xxxx.xxxx.com
Description:
Faulting application name: Laserfiche.PushNotificationService.Master.Host.exe, version: 12.0.2503.10021, time stamp: 0x67cead80
Faulting module name: KERNELBASE.dll, version: 10.0.14393.7870, time stamp: 0x67ab1b0c
Exception code: 0xe0434352
Fault offset: 0x000dd652
Faulting process id: 0x1304
Faulting application start time: 0x01dbaaf37352dfa0
Faulting application path: C:\Program Files (x86)\Laserfiche\Laserfiche Notification\Service\Laserfiche.PushNotificationService.Master.Host.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 3541f0a1-c214-45e0-b73a-7236c09d36d9
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2025-04-11T15:07:33.280031900Z" />
    <EventRecordID>142703</EventRecordID>
    <Channel>Application</Channel>
    <Computer>xxxx.xxxx.xxxx.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Laserfiche.PushNotificationService.Master.Host.exe</Data>
    <Data>12.0.2503.10021</Data>
    <Data>67cead80</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>10.0.14393.7870</Data>
    <Data>67ab1b0c</Data>
    <Data>e0434352</Data>
    <Data>000dd652</Data>
    <Data>1304</Data>
    <Data>01dbaaf37352dfa0</Data>
    <Data>C:\Program Files (x86)\Laserfiche\Laserfiche Notification\Service\Laserfiche.PushNotificationService.Master.Host.exe</Data>
    <Data>C:\Windows\System32\KERNELBASE.dll</Data>
    <Data>3541f0a1-c214-45e0-b73a-7236c09d36d9</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

Any ideas what may be causing this?

1 0

Replies

replied on April 11

We upgraded our Version 11 forms server to the Spring 2025 version 12 release (single server) and are having the same issue.  

1 0
replied on April 11

The stack trace

System.Configuration.ConfigurationErrorsException

15   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean)

16   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(System.Configuration.ConfigurationSchemaErrors)

Suggests a configuration parsing error. Did you ever run the Forms Multi-Server Configuration Utility against these machines or otherwise modify the Notification service .config file(s) outside of FormsConfig or the Notification Service Utility? Please send them to us in a support case regardless so we can take a look. If you happen to have a backup of the pre-upgrade .config files as well, that would be excellent.

I'd inspect the *.config file(s) for anything obviously malformed and run them through an XML validation parser for good measure. If there's something like a broken tag, fix that and see if it resolves the issue. 

If not, take a local backup of the .config files, then I'd try (one service at a time, starting with the Notification Master):

  • Delete or rename the original .config
  • Restart the Notification (Master|Hub) Service, which I believe regenerates the default config file from a template
  • Verify the .config file was recreated
  • Verify the service starts and runs without error
  • Re-apply any configurations through the LF12 2025H1 versions of bundled utilities and config interfaces

 

0 0
replied on April 11

I moved the Laserfiche.PushNotificationService.Master.Host.exe.config file to my desktop and restarted the Laserfiche Notification Master Service. It started and then immediately stopped again. No new config file was created.

0 0
replied on April 11 Show version history

I copied the Laserfiche.PushNotificationService.Master.Host.exe.config file from our production environment to the test environment and the service now starts.

Our real-time notifications in the Inbox still aren't working, but I'll keep looking into that one.

1 0
replied on April 11

Can you diff the working Prod and not-working Test .config files?

0 0
replied on April 13

The file Laserfiche.PushNotificationService.Master.Host.exe.config itself has no change from 11 Update 5 to 12;

The thing that changed was function to backup and restore config files when upgrade to 12.

Do you have manual customization on this file before upgrade?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.