Skip to main content

Microsoft Silverlight

AG_E_NETWORK_ERROR loading wmv file from Media ServicesRSS Feed

(0)

OleSorensen
OleSorensen

Member

Member

0 points

2 Posts

AG_E_NETWORK_ERROR loading wmv file from Media Services

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:

  • In Windows Media Services I have enabled the http control protocol at some port (8080).
  • I tried running the web site in these locations, without luck:
  • Is it VC-1 compliant (Tim Heuer)? I don't know, but I assume it is fit for streaming when it plays correctly from Silverlight Streaming.

 

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
SteveWong

Contributor

Contributor

6343 points

1,281 Posts

Re: AG_E_NETWORK_ERROR loading wmv file from Media Services

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

Regards,
SteveWong (HongKong)
Please mark post as answer if they help you

Client App Dev

OleSorensen
OleSorensen

Member

Member

0 points

2 Posts

Re: AG_E_NETWORK_ERROR loading wmv file from Media Services

Thanks for your suggestion. However, it still gives the same error message.

Does anyone have suggestions to answer my initial question above?

Greetings, Ole

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities