Skip to main content
Home Forums General Silverlight Hosting and Streaming AG_E_NETWORK_ERROR loading wmv file from Media Services
2 replies. Latest Post by OleSorensen on July 28, 2008.
(0)
OleSorensen
Member
0 points
2 Posts
07-25-2008 8:37 AM |
Hi,
I get a System.Exception AG_E_NETWORK_ERROR when I in a simple Silverlight application try to play a wmv file located on a Windows Server 2003 with Windows Media Services.
The wmv file in question plays correctly in these cases:
I followed the advices in these posts:
and checked and tested the following:
I used this code to test it:
<MediaElement Source="http://silverlight.services.live.com/MyId/Test/video.wmv"/>
<MediaElement Source="http://localhost:port/WebSite1/Movie1.wmv"/>
<MediaElement x:Name="debugThis" Source="http://server:port/PublishingPoint/Movie1.wmv"/>
<TextBlock x:Name="showDebugInfo" TextWrapping="Wrap"/>
where the reported error message came out on the event: debugThis.MediaFailed
I would like to hear if you have any suggestions to what might be the cause of this, and how I might solve it.
Cheers,
Ole
SteveWong
Contributor
6343 points
1,281 Posts
07-26-2008 1:37 AM |
Just use mms:// should work there
By the way, please check your setting there as I posted here
http://silverlight.net/forums/p/18939/65019.aspx#65019
07-28-2008 10:17 AM |
Thanks for your suggestion. However, it still gives the same error message.
Does anyone have suggestions to answer my initial question above?
Greetings, Ole