News We Recently Launched AD Migrator and AD Reporter.

Fix Error “Maximum Request Length Exceeded” in Lotus Notes

  author
Written By Ashwani Tiwari
Anuraag Singh
Approved By Anuraag Singh
Published On May 29th, 2024
Reading Time 3 Minutes Reading

Every organization requires an email client for its official communication among the employees. Both MS Outlook and Lotus Notes are the most used clients in the corporate world. However, most of the organizations have started to Migrate Lotus Notes to Outlook, as an interface of Microsoft Outlook is much easier and flexible to use. During migration, an error usually occurs “Maximum Request Length Exceeded”. The blog will be discussing the same error, its cause, and its possible solutions.

When Maximum Request Length Exceeded Error Occur?

Among the issues that occur while migrating, one of the common errors is “Maximum Request Length Exceeded”. It occurs when the user tries to move a message greater than 4 MB size. Microsoft offers a migration tool called ‘Microsoft Transporter Suite’ that can easily export user’s mailboxes from Lotus Notes Server to MS Exchange Server. The error usually occurs when large-sized NSF file is migrated displaying the error:

“The message was migrated without the attachments. This error might be due to configuration limitations on the server”

Cause of Maximum Request Length Exceeded Error

The possible cause of the error is because web services ASP.NET does not migrate attachments of the size that are larger than the default limit i.e. 4MB unless further additional configurations are made. Some changes need to be made to overcome this error such as increasing values of two variables input stream buffer threshold value and the execution time-out period.

How to Fix Maximum Request Length Exceeded Error?

Steps that needs to be followed to overcome the error:

  • Search for web.config file located under the following directory: “C:\Program Files\Microsoft\Exchange Server\CleintAccess\Exchweb\ews” and open the file.
  • Add the following line after the tag in the web.config file:

<system.web>

<httpRuntimeexecutionTimeout=”1200” maxRequestLength=”51200”/>

The ExecutionTimeout attribute is in seconds, which defines the maximum number of seconds that a request can last before ASP.NET stops the request automatically and maxRequestLength is in Kilobytes (KB). Both the attributes can be configured as per the requirements.

  • Save the Modifications made to the Attributes and Close the web.config file
  • Restart the World Wide Web Publishing Service.

With the steps defined in the blog, we can increase the input stream buffering threshold value and we can migrate the email size larger than 4MB from Lotus Notes Server to MS Exchange Server.

Conclusion

In the blog, we have thoroughly discussed the commonly encountered error while NSF to PST Conversion process for the emails that are larger than 4MB size. The error displays the message “Maximum Request Length Exceeded”. The blog further explains the cause of the error and how can we fix the same error. We need to increase the input stream buffering threshold value in order to overcome. The issue of migrating larger mails than 4MB size.

  author

By Ashwani Tiwari

Being a Chief Technical Analyst, I am aware of the technicalities faced by the user while working with multiple technologies. So, through my blogs and articles, I love to help all the users who face various challenges while dealing with technology.