JavaScript message "Unknown error..!" when using UploadType=Auto and neither flash or silverlight installed

  •  06-01-2011, 4:26 PM

    JavaScript message "Unknown error..!" when using UploadType=Auto and neither flash or silverlight installed

    Hi,
     
    For C# ASP.NET 2.0, using IE8/IE9 if flash or silverlight is not installed the upload fails with a javascript message "Unknown error..!".
     
    Here's the control definition:
    <CuteWebUI:UploadAttachments runat="server" ID="AttachedFiles" 
        InsertText="Browse..." 
        AutoUseSystemTempFolder="true" 
        ShowCheckBoxes="true" 
        ShowActionButtons="false" 
        ShowRemoveButtons="false" 
        CancelUploadMsg="Upload cancelled"
        InsertButtonStyle-CssClass="stdButton"
        ShowFileIcons="false"
        UploadType="Auto"
        NumFilesShowCancelAll="999"
        CancelText="Cancel Current Upload"
        OnUploadCompleted="AttachedFiles_UploadCompleted"
    >
     
    I am also using a custom upload provider:
      <add key="CuteWebUI.AjaxUploader.UseAspNetStream" value="True"/>
    <add key="CuteWebUI.AjaxUploader.Provider" value="xxx.UploaderSqlServerProvider,xxx"/>
     
    The upload provider is based on the code provide in post http://cutesoft.net/forums/permalink/48294/48280/ShowThread.aspx#48280 
     
    Walking through the upload provider I can the file being delivered and stored in the database correctly .
     
    I'm using version 3.0.0.0, file description:  AjaxUploader 3.0 20110321
     
    Suggestions? Is there any other information I can provide?
     
    Rob 
     
     
     
     
View Complete Thread