Normally web developers in ASP.NET encounter this error as they are trying to upload a file that is exceeding the size that can be handled by the Request Object. In order to resolve this problem we have to make the change in the web.config file: maxRequestLength = "1048576" />