Welcome to Mediachase Community Sign in | Join | Help    
in Search   

Min File Length Exceeded

Last post Mon, Dec 08 2008, 12:23 AM by Oleg Zhuk. 7 replies.
Sort Posts: Previous Next
  •  Tue, Dec 02 2008, 10:43 AM 10588

    Min File Length Exceeded

    Using version 1.6.1 of the fileupload control our users are starting to recieve the follow error when trying to upload 80Mb files even though we are allowing 100Mb on the control.  I am guessing that the error is wrong as a 5Mb file will upload correctly.  My web.config maxrequestlength is < 100Mb, but that should not matter correct?

    Source: Mediachase.FileUploader
    Message: Min file length exceeded
    Stack Trace: at Mediachase.FileUploader.McHttpModule.16e4473e25a646f8(add7a045ced3a6be bce90b56ab411c23)
    at Mediachase.FileUploader.McHttpModule.694a7e1d01f817ae(Object 337e217cb3ba0627, EventArgs fbf34718e704c6bc)
    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  •  Wed, Dec 03 2008, 6:50 AM 10592 in reply to 10588

    Re: Min File Length Exceeded

    Please show me your Mediachase Fileuploader.Net section from web.config file.
  •  Wed, Dec 03 2008, 7:22 AM 10594 in reply to 10592

    Re: Min File Length Exceeded

    Oleg

     

    These are the relevant sections of our config

    <configSections>
      <!-- Addon for Mediachase.FileUploader.McHttpModule -->
      <section name="Mediachase.FileUploader.McHttpModule" type="Mediachase.FileUploader.McHttpModule, Mediachase.FileUploader"/>
      <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
         </sectionGroup>
     </configSections>

     

    <system.web>

    <!-- Addon for Mediachase.FileUploader.McHttpModule -->
      <httpModules>
       <add name="Mediachase.FileUploader.McHttpModule" type="Mediachase.FileUploader.McHttpModule, Mediachase.FileUploader"/>
      </httpModules>

    </system.web>

  •  Thu, Dec 04 2008, 12:46 AM 10596 in reply to 10594

    Re: Min File Length Exceeded

    CEC:

    These are the relevant sections of our config



    I didn't see Mediachase.FileUploader.McHttpModule section and your file size limit definition.

    Where you define maxrequestlength is < 100Mb?
  •  Thu, Dec 04 2008, 6:50 AM 10597 in reply to 10596

    Re: Min File Length Exceeded

    Missed that section.  Sorry.  Here is the section.  Also, the 100Mb file is being set in code.

     

    <Mediachase.FileUploader.McHttpModule>

    <httpFile TempStoragePath="%TEMP%"/>

    <httpPost BufferSize="8192"/>

    </Mediachase.FileUploader.McHttpModule>

  •  Fri, Dec 05 2008, 2:47 AM 10600 in reply to 10597

    Re: Min File Length Exceeded

    Try to configure MinSize and MaxSize attributes via httpFile element in config file.

    Like

    <httpFile TempStoragePath="%TEMP%" MinSize="-1" MaxSize="102400" />

    (file size in kilobytes.)

    I think it should solve your problem.
  •  Fri, Dec 05 2008, 9:02 AM 10602 in reply to 10600

    Re: Min File Length Exceeded

    Oleg

    I made this change and it made no difference in file size that we could upload.  Is there anything else that we could try?

    Jason

  •  Mon, Dec 08 2008, 12:23 AM 10606 in reply to 10602

    Re: Min File Length Exceeded

    CEC:

    I made this change and it made no difference in file size that we could upload.  Is there anything else that we could try?

    Send me to ozh@mediachase.ru your web project bin folder, web.config, global.asax and upload pages.
    I'll analyze what is wrong.
View as RSS news feed in XML
Site Terms | Privacy Policy | About Us | Contact Us
Running on Mediachase eCommerce Framework 4.0.
  Copyright © Mediachase, LTD. 1997-2006. All Rights Reserved

E-commerce, HelpDesk, Service Desk & Project Management Software, alternatives to Microsoft Project Server & Sharepoint Collaboration Server
project management software | microsoft project server | sharepoint collaboration server | issues management, helpdesk & service desk
Powered by Community Server, by Telligent Systems