I have a web form (.net frame 4) that has a submit button and a FileUpload control. When I debug the website, from Visual Studio 2010, this form appears. When I size and GT; 438k (According to my comments, the actual value of the maximum file size is unknown, but with a 200k size file, it is working), I get the following error when I click on the button. When I upload a file with a size lower than the upper limit, the code functions are the onclick event handler code in general: net (SO post), I put it in web.config Added: This issue should have been resolved. But it is not. Any help to solve this problem would be highly appreciated. Please debug your site and check whether you are connected to the database? I think you are not connected if you are having trouble uploading large files, then you have to add the following attribute to your web configuration file. Maximum file size is maximum. Updated answer: Run your site on a different browser, such as Google Chrome, Internet Explorer. < Code> Protected sub button handles 1_Click button (System.AventAgg as ByVal E.) as the object. If I click on FileUpload1.HasFile, then after mbbbox ("file is!") Ending the ending sub
& lt; System.web & gt; & Lt; HttpRuntime maxRequestLength = "102400" Execution Time = "360" /> & Lt; /system.web>
& lt; System.web & gt; & Lt; HttpRuntime executionTimeout = "110" maxRequestLength = "20000" /> & Lt; /system.web>
Comments
Post a Comment