AjaxUploader Server Side Exception

Last post 04-07-2014, 9:44 PM by vickMercury. 4 replies.
Sort Posts: Previous Next
  •  01-06-2014, 7:05 PM 78698

    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
  •  01-07-2014, 5:32 AM 78700 in reply to 78698

    Re: AjaxUploader Server Side Exception

    Hi,

     

    Please try setting "EnableMimetypeChecking" to false.

     

       <CuteWebUI:UploadAttachments runat="server" ID="Uploader1">

                <ValidateOption EnableMimetypeChecking="false" />

            </CuteWebUI:UploadAttachments> 

     

    Regards,

     

    Ken 

  •  01-13-2014, 11:33 PM 78750 in reply to 78700

    Re: AjaxUploader Server Side Exception

    Thanks Ken

     

    But that did not work, the error messages continue.

     

    Any other suggestions?

     

    Vick 


    www.instantchecks.com.au

    www.fit2work.com.au
  •  01-14-2014, 7:15 AM 78759 in reply to 78750

    Re: AjaxUploader Server Side Exception

    Hi vickMercury,

     

    Which error? the issue 1 or 2? Can you post your uploader page url here? So we can check on it directly. Also, you can send it to Kenneth@CuteSoft.net.

     

    Regards,

     

    Ken 

  •  04-07-2014, 9:44 PM 80230 in reply to 78759

    Re: AjaxUploader Server Side Exception

    Issues resolved by using the latest version of the uploader.

     

    Thanks Ken 


    www.instantchecks.com.au

    www.fit2work.com.au
View as RSS news feed in XML