Hello all,
I am trying to build a small silverlight application. I've got files I am hosting on my localhost. I want to be able to use MediaElement to play them. However I keep getting this annoying error message when I launch my silverlight application:
Error: Unhandled Error in Silverlight 2 Application SLControls.xap
Code: 4001
Category: MediaError
Message: AG_E_NETWORK_ERROR
I am using the following line to init the MediaElement source:
Uri.TryCreate(http://localhost:/mywebsite/Data/Users/16/Channels/472.MP3, UriKind.Absolute, out Channellocation);
Thank you in advance,
Vondiplo