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

Question

Question

Forms error 501

asked on September 27, 2017

This error seems to be spreading to more forms even though Windows shows the service is running:

[501]: Could not connect to the Laserfiche Routing Service. The service is not running. [LFF501-RoutingEngineDown]

 

Details:

URL:

Error: RoutingEngineDown

Date: 9/27/2017 12:59:29 PM (Central Standard Time)

HTTP Status Code: 500

Business Process ID: 0

Business Process Name:

 

Stack Trace:

Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException

Message: Could not connect to the Laserfiche Routing Service. The service is not running. [LFF501-RoutingEngineDown]

   at FormsModel.SharedContracts.AutoTriggerServiceProxy.GetProxy()

   at FormsModel.SharedContracts.AutoTriggerServiceProxy.RemoveTriggerByInstanceId(List`1 instanceIds)

   at Laserfiche.Forms.Routing.RoutingMainProcessInstance.CancelProcessInstance(BPInstanceCancelMode cancelMode, Int32 retryCount, IRoutingContext routingContext)

   at Laserfiche.Forms.Routing.RoutingDispatcher.ExecuteSteps()

   at Laserfiche.Forms.Routing.RoutingEngineService.RunRouting(RoutingRequestParameters requestParam)

   at Laserfiche.Forms.Routing.RoutingEngineService.<>c__DisplayClass8_0.<StartRouting_Async>b__0()

 

Inner exception: System.TypeInitializationException

Message: The type initializer for 'FormsModel.SharedContracts.ServiceProxyBase`1' threw an exception.

   at FormsModel.SharedContracts.ServiceProxyBase`1.GetProxy(Int32 hours, Int32 minutes, Int32 seconds)

   at FormsModel.SharedContracts.AutoTriggerServiceProxy.GetProxy()

 

Inner exception: System.Configuration.ConfigurationErrorsException

Message: The value of the property 'address' cannot be parsed. The error is: Invalid URI: The hostname could not be parsed. (C:\Program Files\Laserfiche\Laserfiche Forms\Forms\bin\RoutingEngineServiceHost.exe.Config line 130)

   at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)

   at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)

   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)

   at System.Configuration.ConfigurationManager.GetSection(String sectionName)

  at System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetSectionFromConfigurationManager(String sectionPath)

   at System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetAssociatedSection(ContextInformation evalContext, String sectionPath)

  at System.ServiceModel.Description.ConfigLoader.LookupChannel(ContextInformation configurationContext, String configurationName, ContractDescription contract, EndpointAddress address, Boolean wildcard, Boolean useChannelElementKind, ServiceEndpoint& serviceEndpoint)

   at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address)

   at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress)

   at FormsModel.SharedContracts.ServiceProxyBase`1..cctor()

 

This is very concerning because we have to a process beginning next week that involves a form being completed by all of our client's employees.

Once it gets to Laserfiche, a SQL table is updated and reminders are sent periodically to complete the form. These can't get stuck in a suspended state in forms.

Please help!

0 0

Replies

replied on September 27, 2017

Hi Jonathan,

It might be possible that although Windows shows service running, the service is dead within itself.

As for the error:

Inner exception: System.Configuration.ConfigurationErrorsException

Message: The value of the property 'address' cannot be parsed. The error is: Invalid URI: The hostname could not be parsed. (C:\Program Files\Laserfiche\Laserfiche Forms\Forms\bin\RoutingEngineServiceHost.exe.Config line 130)

Have you changed this file manually? Can you check the line 130 of the above file?

0 0
replied on September 28, 2017

What does it mean that the service is dead within itself?

Yes, I can check line 130 and update you on it.

Thanks, Rui!

0 0
replied on September 28, 2017

130      <endpoint address="http://[https://dmapp01.ad.pisd.edu/LFDSSTS/]:5048/LicenseManager/service2" binding="ws2007HttpBinding" bindingConfiguration="WS2007HttpBinding_ILicenseManager" contract="LicenseManagerService.ILicenseManager" name="AltLicenseManagerService" behaviorConfiguration="AltServiceBehavior" />

0 0
replied on September 28, 2017

A support case was opened for this issue. However, as you can see, the endpoint address is invalid. It needs to be changed to a valid address like

https://dmapp01.ad.pisd.edu:5048/LicenseManager/service2

0 0
replied on September 28, 2017

Hey Alexander, we got endpoint address corrected but whenever we restart the Forms Routing Services we get a 1061 error - The service cannot accept control messages at this time. 

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

Sign in to reply to this post.