Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

  • gerard1234

    gerard1234

    Member

    112 Points

    61 Posts

    Re: Downloader Error 4001?

    May 10, 2007 10:13 AM | LINK

    Hello.
    I've got the same problem and don't know how to solve it.
    I do somewhere: this.downloader.open('GET', "XAML/test.xaml", true); and the
    this.downloader.addEventListener("completed", Sys.Silverlight.createDelegate(this, this.downloadCompleted)); won't start, I get the error.
    So I gues that the link to "XAML/test.xaml" isn't correct.
    Does anyone know how I can reach this file on my webserver? (use silverlight beta 1.0)

    ps : and my xaml file has : x:Name="item$0" ,   $1: ,  $3:  signs., maybe that matters.

    Hope somebody can help me.
    Thanx    

    I know what I missed. It most be:
    usr/Scroll/xaml/test.xaml
    instead off: XAML/test.xaml
    When I want to see it from my pc I just have to do the second option.
    When I put it on my webserver, it mst be the first option.
    So when I test I most switch all the time. Is there not an easier why to solve this? something like window.location.pathname (but then without the xaml/test.xaml )just usr/Scroll/.
    Bye