I was also having the problem of being able to view media stream in media player but getting the very useful AG_UNKNOWN_NETWORK_ERROR error.
It turned out that if you are viewing your silverlight site in debug and the webpage is referenced using a file path (e.g. C:\site\website.htm) then it causes a problem, you must view the page using a proper web address (e.g.
http://site/website.htm).
I was having the same problem of MMS working in Windows Media Player and WPF applications but not in SilverLight. The problem was that when I used those applications, WMS got my logged on user which had access to the on-demand files while silverlight was
accessing WMS anonymously. Since WMUS_<server_name> (the inpersonated user for WMS anonymous connections by default) did not have access to those files, it got the AG_E_NETWORK_ERROR error. Giving permissions made it work.
sinds1985
Member
14 Points
16 Posts
Re: Re: Re: Re: Getting AG_E_NETWORK_ERROR Setting Media Element Source. Cross Domain Issue?
Jun 07, 2009 01:10 PM | LINK
I was also having the problem of being able to view media stream in media player but getting the very useful AG_UNKNOWN_NETWORK_ERROR error.
It turned out that if you are viewing your silverlight site in debug and the webpage is referenced using a file path (e.g. C:\site\website.htm) then it causes a problem, you must view the page using a proper web address (e.g. http://site/website.htm).
Chris Venables BA(Hons)
www.advert-exchange.com
AustinWise
Member
2 Points
1 Post
Re: Getting AG_E_NETWORK_ERROR Setting Media Element Source. Cross Domain Issue?
Dec 05, 2009 01:54 AM | LINK
I was having the same problem of MMS working in Windows Media Player and WPF applications but not in SilverLight. The problem was that when I used those applications, WMS got my logged on user which had access to the on-demand files while silverlight was accessing WMS anonymously. Since WMUS_<server_name> (the inpersonated user for WMS anonymous connections by default) did not have access to those files, it got the AG_E_NETWORK_ERROR error. Giving permissions made it work.