LA.NET [EN]

Jul 03

[Update: I must have been drinking when i wrote this :,,) It should be local domain because you cannot get objects from a remote host through the BrowserHttpWebRequest]

These 2 just made me loose +45 minutes:

1. if you”re using the BrowserHttpWebRequest to download files from a remote domain, then make sure you”re testing your page from a web server (the internal server that comes with VS works, but you”ll start getting the object is not on the correct state exception -or something like that – if you try accessing objects from a remote host).

2. The same holds true if you”re loading a remote wmv file on a MediaElement.

Not sure if there”s any explanation for these, but it did steel me 45 precious minutes.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>