22 August 2011

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

No comments:

Post a Comment