After enabling the <httpRuntime maxRequestLength="8192" /> parameter per "CSDocStore Installation Guide for E-Notebook", ELN users may see the following error when we trying to save the created PDF after a Sign and Close to the CSDocStore:
------------------------
Title: Error Performing Transition
Message: Sorry, error getting LTA Parameter, Server was unable to process request.
Source: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at CambridgeSoft.ENMarket.LTA.CSDocStore.DocStoreService.GetParameterValue(String username, Byte[] password, String name)
at CambridgeSoft.ENMarket.LTA.LTAProxy.GetParameterValue(String username, String parameterName)
Type: System.InvalidOperationException
------------------------
ROOT CAUSE:
All Web.config files include <httpRuntime targetFramework="4.8" /> attribute under <system.web>. This may result in the CSDocStore Web.config file having two copies of httpRuntime parameters - one from targetFramework, and one from maxRequestLength:
<httpRuntime targetFramework="4.8" />
<httpRuntime maxRequestLength="8192" />
It may lead to for a badly formatted Web.config file, resulting in the 500.19 error reported by CSDocStore service.
SOLUTION:
Combine targetFramework and maxRequestLength parameters as follows:
<httpRuntime targetFramework="4.8" maxRequestLength="8192" />
Comments
0 comments
Article is closed for comments.