There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded.

Have you ever encountered the following message when you try to transfer large data in web service?

There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded.

:)

All you need to do is:
Access to the remote server where the is WebService.
Go to the web.config and set the tag httpRuntime the following code on the "system.web" tag.

<system.web>
  <httpRuntime executionTimeout="999999" maxRequestLength="51200">
...

Roi

Comments

Popular posts from this blog

A sharepoint list view of the current month

The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters

Export SharePoint 2010 List to Excel with PowerShell