IE8 JavaScript Error Only On Uploading .txt Files Of Small Size

Last post 06-03-2011, 2:08 PM by sparanza. 3 replies.
Sort Posts: Previous Next
  •  05-31-2011, 8:48 AM 67745

    IE8 JavaScript Error Only On Uploading .txt Files Of Small Size

    Hello.  We are receiving a javascript error only on IE8 with this control.  The error is:
     
     'null' is null or not an object
     
    Error is occurring at:
     
    CuteWebUI_Uploader_Resource...
    else { 0x14b[0x04d59[25]].appendChild(0x14a); }
     
    We are getting this error:
    • Only on IE8
    • Only on subsequent file uploads, varies in testing, but never occurs on the first upload
    • Mostly occurring when the file being uploaded is a .txt file
      • .doc is fine; etc.
    • Seems to be occurring on a range of file sizes <= 68 KB
    Any help would be much appreciated! 
    Filed under:
  •  05-31-2011, 9:14 PM 67754 in reply to 67745

    Re: IE8 JavaScript Error Only On Uploading .txt Files Of Small Size

    Hi sparanza,
     
    Can you reproduce this issue on demo "http://www.ajaxuploader.com/Demo/select-multiple-files-upload.aspx"?
     
    If so, please show me the steps. We will check it and get back to you as soon as possible.
     
    If the demo work with your IE8, please download the latest version and try again.
     
    Latest version downloads http://ajaxuploader.com/download/Ajax-Uploader.zip
     
    Have you try on another pc? Do you get the same issue on your site?
     
    Can you create a simple page like below and test it? Does it works with your ie8?
     
    <%@ Page Language="C#" AutoEventWireup="true" %>

    <%@ Register Assembly="CuteWebUI.AjaxUploader" Namespace="CuteWebUI" TagPrefix="CuteWebUI" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
            <div>
                <CuteWebUI:Uploader ID="uploader1" runat="server">
                </CuteWebUI:Uploader>
            </div>
        </form>
    </body>
    </html>
     
    Keep me posted.
     
    Regards,
     
    Ken
  •  06-03-2011, 2:05 PM 67802 in reply to 67754

    Re: IE8 JavaScript Error Only On Uploading .txt Files Of Small Size

    Hi.  We cannot reproduce the error on your demo through IE8.  Also, the sample code you gave me does not throw the error in IE8, either.  However, it looks like we aren't talking about the same control.  Your sample used CuteWebUI:Uploader, & we are using the CuteWebUI:UploadAttachments control.  Is this the wrong forum for that control?
  •  06-03-2011, 2:08 PM 67803 in reply to 67754

    Re: IE8 JavaScript Error Only On Uploading .txt Files Of Small Size

    We upgraded with the provided DLL to the latest Cute version, & we are still getting the error, although it takes much more file uploads to occur than before.  The specific error we are getting in .NET, when we are in debug mode, is:
     
    'null' is null or not an object
     
    Coming from:  CuteWebUI_Uploader_Resource.axd
     
     
    Unhandled Error in Silverlight 2 Application[Common_MethodFailed] Arguments: Debugging resource strings are unavailable.  Often the key and arguments provide..."
    Silverlight.Uploader<Browse>b_30 
     
     
     
    Filed under:
View as RSS news feed in XML