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

Question

Question

Forms Configuration failed to load

asked on September 25, 2018

Hello,

I am attempting to run Forms Config but am getting the error "Forms configuration failed to load. The requested service (IRoutingEngineService) may not be running. [LFF3004-UnableToOpenServiceProxy]" (see also screenshot). The forms routing service is definitely running and the security config for the app pool is under a user that has full access to the repositories, etc. I've also included the detailed corresponding Event Log entry. Any ideas on what I can try?

Thanks,

Julie

[3004]: The requested service (IRoutingEngineService) may not be running. [LFF3004-UnableToOpenServiceProxy]

Details:
URL: /FormsConfig
Error: UnableToOpenServiceProxy
Date: 9/25/2018 9:36:07 AM (Central Standard Time)
HTTP Status Code: 500
Business Process ID: 0
User: ADS\waxj
IP: ::1
Browser: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: The requested service (IRoutingEngineService) may not be running. [LFF3004-UnableToOpenServiceProxy]
   at FormsModel.SharedContracts.RoutingEngineServiceProxy.GetProxy()
   at FormsModel.SharedContracts.RoutingEngineServiceProxy.CheckLicense()
   at FormsConfig.Controllers.ConfigurationController.Configuration()
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)

Inner exception: System.ServiceModel.ProtocolException
Message: The requested upgrade is not supported by 'net.tcp://localhost:8168/lfrouting'. This could be due to mismatched bindings (for example security enabled on the client and not on the server).

Server stack trace:
   at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder, IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at System.ServiceModel.ICommunicationObject.Open()
   at FormsModel.SharedContracts.ServiceProxyBase`1.GetProxy(Int32 hours, Int32 minutes, Int32 seconds)

 

0 0

Replies

replied on February 18, 2022

Hi,

I've having the same issue on my WebPortal server.

Running: Laserfiche Forms Professional Version 10.4.5.282

It just started happening a couple weeks ago. My regular forms server will run FormsConfig with no problem, but the WebPortal keeps giving the "Forms Configuration failed to load" error message. Forms will run fine on the machine, just not FormsConfig.

I've checked the <TcpBinding> on the C:\Program Files\Laserfiche\Laserfiche Forms\Forms\web.config;      and 
C:\Program Files\Laserfiche\Laserfiche Forms\Forms\bin\RoutingEngineServiceHost.exe.config on both machines and the settings are the same in both. (both are set to Transport, not None)

I've tried changing the settings to "None" on the WebPortal and still get the same error.

I've verified the Forms Routing Service is running, stopped and restarted it multiple times, run MS updates on the Server and everything is up to date, Restarted the Server multiple times and can't seem to get this straightened out.

I can post the Windows Event log but it pretty much mirrors the one above.

 

Anyone have any ideas?

Thanks - Eric

0 0
replied on September 25, 2018

Probably best to open a support case so our support team can look at your configuration specifically. 

0 1
replied on January 30, 2019

What was the resolution to this?

1 0
replied on January 31, 2019

Security mode was set incorrectly in the web.config

1 0
replied on February 8, 2019

 

More specifically, below is the change that was made:

In the following files:
C:\Program Files\Laserfiche\Laserfiche Forms\Forms\web.config;
C:\Program Files\Laserfiche\Laserfiche Forms\Forms\bin\RoutingEngineServiceHost.exe.config

<netTcpBinding>
<binding name="timeoutBinding" receiveTimeout="00:20:00" sendTimeout="00:20:00" openTimeout="00:20:00" closeTimeout="00:20:00">
<security mode="Transport" />
</binding>
</netTcpBinding>

We made a line change for the security mode from "Transport" to "None"
 

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

Sign in to reply to this post.