Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    JS error in IE...

    Our project is throwing this error. Only happens in IE (IE7 to be specific). works ok in FireFox.

    " Could not complete the operation due to error 80020101"

    Any ideas, I know very info to go with...
    Any help is appreciated...

    #2
    This indicates a JavaScript syntax error. Unfortunately when loading JavaScript files via the FileLoader, and in certain other cases, Internet Explorer reports a syntax error in this way rather than a more straightforward "Syntax Error" and line number.

    Since it's IE-specific, it's almost certainly a dangling comma, eg code like this:

    Code:
    var obj = {
       foo : "bar",
       zoo : "mar",  // NOTE trailing comma
    }
    This is incorrect JavaScript and is considered a syntax error in IE, but Firefox allows it.

    If you are using the SmartClient server, you may see server-side logging report this error.

    Comment


      #3
      One more...

      Thankyou very much for the quick reply,
      It seems to be a trailing comma as you mentioned :)

      That went away, I got one more "System error : -1072896658.

      Same : in IE7 not firefox. I have to look into serverside logging, we use smartClient within weblogic...

      Comment


        #4
        Looks like a charset issue:

        http://www.panoramio.com/blog/explor...or-1072896658/

        The good thing about these opaque and unhelpful error messages is that you can search on them and usually find someone complaining about them and providing the solution :)

        Comment

        Working...
        X