Tuesday, 3 February 2009

Increase File Size limits on .NET Web Services.

Add this to the Web.config file.

Code Snippet
  1. <httpRuntime executionTimeout="3600" maxRequestLength="80960"></httpRuntime>
End of Code Snippet
- executionTimeout is given in seconds.
- maxRequestLength is given in KB.

This will increase the accepted file size over SOAP to 80MB with a timeout of 1 hour.

1 comment:

TutorialGenius said...

test comment
test comment
test comment
test comment
test comment
test comment
test comment
test comment
test comment
test comment
test comment
test comment
test comment
ff