System.Gadget.Flyout.file gives unspecified error

Hello guys.

the following code is giving a javascript error which says "unspecified error":

System.Gadget.Flyout.file = "channel.htm";

System.Gagdet.Flyout.show = true;

Any clues on why this is happening btw, the file property is the only one that is missing.

thanks a lot.




Answer this question

System.Gadget.Flyout.file gives unspecified error

  • Marie-Thérèse

    Luis Miguel Abreu wrote:
    hello.

    well, it's a pitty that it's working now (and it really is outside my hands since i've already delivered the code to the guy that asked me to develop it).

    I've created a Repro gadget on the Known bugs in Sidebar page. Bug#11

  • Noremac

    No, I tested on Javascript

  • Mateus1223

    hello.

    well, it's a pitty that it's working now (and it really is outside my hands since i've already delivered the code to the guy that asked me to develop it).


  • chakravarthy_b

    I get this problem if I have a timer running and my laptop goes to sleep before the timer finishes. ON resume the timer continues and tries to call the flyout. Bobs your Uncle - or Unspecified error.

    Anyone report this to MS



  • Edmundas

    If anyone has a gadget that even intermittently hits this problem, please send it to me - I'd sure like to track this down.
  • John Sorensen

    hello.

    well, i'm not seeing anything wrong either. as i said in the previous post, i've stepped into the method and the class is missing that property. after rebooting, it started working without any problems. i'm not really sure on why that happened but i can assure that i didn't like having a problem which just disappeared after a reboot...



  • barkingdog

    The only times I've seen the System.Xxx APIs become inaccessible is when using VBScript - one of the reasons why we recommend using JScript for gadget development. Are you by any chance using VBScript
  • Arran Siu

    Are you certain it's those two lines causing it as they're okay Post the rest of the code around it, as I suspect the error is elsewhere.

  • GrayMatter Software

    Exiting and reloading Sidebar would probably have done the trick.

    I've done that since Beta 1 after any Gadget code changes, as it seems to partially cache the Gadget files. Half of the time they're corrupt after you've modified them, so you get really odd error messages! Don't ask me why - it's probably an IE issue.

  • System.Gadget.Flyout.file gives unspecified error