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:
- Open the web.confg file located in the LMS web server (drive:\inetpub\wwwroot\WATERSLMS).
- Change the following lines in the web.config file:
- Original line: <add key="maxRequestLength" value="268435456" />
- Change to: <add key="maxRequestLength" value="536870912" />
- Original line: <services>
<service name="Creon.Dragon.WebService.ExperimentReportService">
<endpoint binding="basicHttpBinding" contract="Creon.Dragon.WebService.IExperimentReportService" />
</service>
</services>
<behaviors> - 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> - Save and close the file and restart IIS.
- NuGenesis LMS clients:
- Close the NuGenesis LMS client if running. For Citrix servers, log off all users before continuing
- 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>
- Save and close eln.exe.config
- 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>
- Save and close ELNTK_ClientExtern.config
- Reopen the LMS client
- NuGenesis LMS Smart Builder:
- 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
- Add the following line to the file below the <appSettings> tag:
- <add key="maxRequestLength" value="536870912"></add>
- Save and close the file.
- 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.
- Edit the following file on each NuGenesis client machine or Citrix server that hosts the NuGenesis client applications:
- NuGenesis LMS Document Creator Service:
- Stop the NuGenesis DCS in the Services control panel
- 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>
- Save and close the file.
- 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