AjaxUploader Server Side Exception

  •  01-06-2014, 7:05 PM

    AjaxUploader Server Side Exception

    Web.Config

    <add key="CuteWebUI.AjaxUploader.GlobalMaxSizeKB" value="5120" />

     

     Asp

     <CuteWebUI:Uploader runat="server" ID="CuteUpload" InsertText="Upload" OnFileUploaded="CuteUpload_OnFileUploaded" FileTypeNotSupportMsg="This file type is not allowed. Allowed file types are pdf, jpeg, jpg, doc, docx, png, tiff, bmp." MultipleFilesUpload="False">

          <ValidateOption AllowedFileExtensions="pdf,jpg,gip,jpeg,doc,docx,png,tiff,bmp"></ValidateOption>

    </CuteWebUI:Uploader> 

     

    It is a newly implemented site which encountered the following EXCEPTIONs  yesterday.

    Exception 1 :

    Message: The file is corrupt or has an incorrect extension! 

    Stack Trace: at CuteWebUI.UploaderValidateOption.ValidateFileData(UploaderProvider provider, Guid fileguid) at CuteWebUI.UploaderBase.a(Int32 A_0, String A_1, String A_2, String A_3, Stream A_4) at CuteWebUI.UploaderBase.a() at CuteWebUI.UploaderBase.b(String A_0) at CuteWebUI.UploaderBase.a(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Type: System.Exception 

     

    Exception 2:

     Message: Error:TOOLARGE:5836369

     Stack Trace: at CuteWebUI.UploaderBase.a(Int32 A_0, String A_1, String A_2) at CuteWebUI.UploaderBase.a(Int32 A_0, String A_1, String A_2, String A_3, Stream A_4) at CuteWebUI.UploaderBase.a() at CuteWebUI.UploaderBase.b(String A_0) at CuteWebUI.UploaderBase.a(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     Type: System.Exception 

     

    I have not been able to replicate the issue and am hoping you can shed some light on it. Apologies for the lack of information.

     


    www.instantchecks.com.au

    www.fit2work.com.au
View Complete Thread