Error while uploading large files (file size >3 MB) from the Cute Editor upload interface.

Last post 02-22-2007, 1:19 PM by Abu M Thomas. 2 replies.
Sort Posts: Previous Next
  •  02-21-2007, 5:43 PM 26899

    Error while uploading large files (file size >3 MB) from the Cute Editor upload interface.

    I can not upload large files (file size >3 MB) from the Cute Editor upload interface.
    The maximum file size that can be uploaded to the site is configured as 20 MB.
    As per Adam’s instruction, I have increased the AspMaxRequestEntityAllowed configuration to 2GB. But nothing working!!
     
     
    The issue is with the upload utility provided by Cute Soft it seems. (???).
    I have tried to upload a 5MB file from this forum’s message posting interface. It is throwing an error. Please see the screenshot given below.
    Filed under:
  •  02-21-2007, 8:03 PM 26900 in reply to 26899

    Re: Error while uploading large files (file size >3 MB) from the Cute Editor upload interface.

    Problem

    When uploading large files in .NET, the following error may be received:
     
    System.Web.HttpException: Maximum request length exceeded...
     
    This error relates to ASP.NET's maxRequestLength setting. By default, ASP.NET limits requests to 4096 kilobytes (or 4 MB), as explained in this Microsoft KB article: http://support.microsoft.com/default.aspx?scid=kb;EN-US;295626. This error will occur if an upload is larger than 4 MB and you have not adjusted the maxRequestLength setting for your application in web.config or machine.config.

     

    Solution:


    The maxRequestLength parameter is set in the httpRuntime section of web.config (or machine.config). maxRequestLength is set in kilobytes. So, for example, if you want to allow uploads of 100 MB, you would set maxRequestLength to 102400.

    There are some other settings in httpRuntime which you may want to modify for large uploads. Below is an example httpRuntime element. Please adjust the settings according to the needs of your application.

    <httpRuntime
    executionTimeout="1200"
    maxRequestLength="102400"
    useFullyQualifiedRedirectUrl="false"
    minFreeThreads="8"
    minLocalRequestFreeThreads="4"
    appRequestQueueLimit="100" />

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-22-2007, 1:19 PM 26919 in reply to 26900

    Re: Error while uploading large files (file size >3 MB) from the Cute Editor upload interface.

    Thanks Adam.
    It’s working!!!.

    Your response in this regard is much appreciated!!

    Filed under:
View as RSS news feed in XML