User264732274 posted
please tell me maximum value is supported for maxRequestLength and maxAllowedContentLength ?
If you are using IIS for hosting your application, then the default upload file size if 4MB. To increase it, please use this below section in your web.config
http://weblogs.asp.net/jongalloway/large-file-uploads-in-asp-net
<configuration>
<system.web>
<httpRuntime maxRequestLength="1048576" />
</system.web>
</configuration>
For IIS7 and above, you also need to add the lines below:
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>
</system.webServer>