Skip to main content
Waters

How to set the maxRequestLength parameter for NuGenesis LMS components - WKB208569

Article number: 208569

OBJECTIVE or GOAL

Set or adjust the "maxRequestLength" parameter in the configuration files for NuGenesis LMS components. Setting this parameter higher than the default will allow the LMS components to transfer larger amounts of data over the network.

ENVIRONMENT

  • NuGenesis 9 LMS
  • NuGenesis 8 LMS

PROCEDURE

  • NuGenesis LMS Web servers:
    1. Open the web.confg file located in the LMS web server (drive:\inetpub\wwwroot\WATERSLMS).
    2. Change the following lines in the web.config file:
      • Original line: <add key="maxRequestLength" value="268435456" />
      • Change to:  <add key="maxRequestLength" value="536870912" />
    3. Original line: <services>
       <service name="Creon.Dragon.WebService.ExperimentReportService">
       <endpoint binding="basicHttpBinding" contract="Creon.Dragon.WebService.IExperimentReportService" />
       </service>
       </services>
       <behaviors>
    4. Change to (note that you'll need to add the lines <bindings> and </bindings> and everything in between):
       <services>
       <service name="Creon.Dragon.WebService.ExperimentReportService">
       <endpoint binding="basicHttpBinding" contract="Creon.Dragon.WebService.IExperimentReportService" bindingConfiguration="largerMessageSize" />
       
      </service>
       </services>
       <bindings>
           <basicHttpBinding>
               <binding name="largerMessageSize" maxReceivedMessageSize="536870912" />
           </basicHttpBinding
      >
       </bindings>
       <behaviors>
    5. Save and close the file and restart IIS.
  • NuGenesis LMS clients:
    1. Close the NuGenesis LMS client if running. For Citrix servers, log off all users before continuing
    2. Edit the eln.exe.config file in Notepad (drive:\Program Files (x86)\Waters\NuGenesis LMS)
      • Original line: <add key="maxRequestLength" value="268435456"></add>
      • Change to: <add key="maxRequestLength" value="536870912"></add>
    3. Save and close eln.exe.config
    4. Edit the ELNTK_ClientExtern.config file in Notepad (Drive:\Program Files (x86)\Waters\NuGenesis LMS SDK)
      • Original line: <add key="maxRequestLength" value="268435456"></add>
      • Change to: <add key="maxRequestLength" value="536870912"></add>
    5. Save and close ELNTK_ClientExtern.config
    6. Reopen the LMS client
  • NuGenesis LMS Smart Builder:
    1. Edit the following file on each NuGenesis client machine or Citrix server that hosts the NuGenesis client applications:
      • Drive:\Program Files (x86)\Waters\NuGenesis LMS Smart Builder\FormDesigner.dll.config
    2. Add the following line to the file below the <appSettings> tag:
      • <add key="maxRequestLength" value="536870912"></add>
    3. Save and close the file.
    4. Excel must be restarted for the change to go into effect.
      • For a single-user machine, simply close any open Excel sections in LMS and other open Excel windows, and restart Excel.
      • For a Citrix server, either log off all users or perform this change during a scheduled maintenance window.
  • NuGenesis LMS Document Creator Service:
    1. Stop the NuGenesis DCS in the Services control panel
    2. Edit the following configuration file: Drive:\Program Files (x86)\Waters\NuGenesis LMS Document Creator\CreateDocumentService.exe.config
      • Original line: <add key="maxRequestLength" value="268435456"></add>
      • Change to: <add key="maxRequestLength" value="536870912"></add>
    3. Save and close the file.
    4. Restart the DCS.

ADDITIONAL INFORMATION

For NG9.3, the web.config file has altered slightly, therefore the <binding> tag needs editing from <binding name="secureHttpBinding">  to  <binding name="secureHttpBinding" maxReceivedMessageSize="536870912" >

id208569, NGLMS, NGLMSLIC, NGLMSOPT, SUPNG

Not able to find a solution? Click here to request help.