<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: asx file  in silverlight radio playergiving 4001 error, while typing that file to ie url plays correctly it</title><link>http://forums.silverlight.net/forums/thread/176870.aspx</link><pubDate>Fri, 20 Feb 2009 05:44:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:176870</guid><dc:creator>Jonathan Shen – MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/176870.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=176870</wfw:commentRss><description>&lt;p&gt;Hi Skm,&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;skm.software@yahoo.com:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;In my appication , asx file contains only the path of wma file and nothing else like&lt;/p&gt;
&lt;p&gt;mms://sitepath/wma_file_path.wma&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please make sure your asx file has the correct format. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;For example,&lt;/p&gt;&lt;p&gt;&amp;lt;ASX VERSION=&amp;quot;3.0&amp;quot; &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;ENTRY href=&amp;quot;http://sample.microsoft.com/sample1.ASX&amp;quot; /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //absolute url is preferred&lt;br /&gt;&amp;lt;/ASX&amp;gt;&lt;/p&gt;&lt;p&gt;To create the asx file, please reference to &lt;a href="http://msdn.microsoft.com/en-us/library/ms983653%28printer%29.aspx"&gt;this article&lt;/a&gt;.&lt;br /&gt;Some of the properties, listed on &lt;a href="http://silverlight.net/members/bryant.aspx" class="namelink"&gt;bryant&lt;/a&gt;&amp;#39;s reply are not supported.&amp;nbsp; MMS protocol is not supported and will fall back to http.&lt;/p&gt;&lt;p&gt;
                    The following Web protocols/schemes are supported:
                &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;
                    http
                &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;
                    https
                &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;
                    mms (You can use an mms URL, but it will fall back to http.)
                &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;
                    rtsp (You can use an rtsp URL, but it will fall back to http.)
                &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;
                    rtspt (You can use an rtspt URL, but it will fall back to http.)
                &lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Best regards,&lt;/p&gt;&lt;p&gt;Jonathan &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: asx file  in silverlight radio playergiving 4001 error, while typing that file to ie url plays correctly it</title><link>http://forums.silverlight.net/forums/thread/174887.aspx</link><pubDate>Mon, 16 Feb 2009 10:09:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:174887</guid><dc:creator>skm.software@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/174887.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=174887</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks for reply,&lt;/p&gt;
&lt;p&gt;In my appication , asx file contains only the path of wma file and nothing else like&lt;/p&gt;
&lt;p&gt;mms://sitepath/wma_file_path.wma&lt;/p&gt;
&lt;p&gt;asx file contains only the above line and not anything.&lt;/p&gt;
&lt;p&gt;Can you please specify which changes are reqired.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: asx file  in silverlight radio playergiving 4001 error, while typing that file to ie url plays correctly it</title><link>http://forums.silverlight.net/forums/thread/174841.aspx</link><pubDate>Mon, 16 Feb 2009 08:07:30 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:174841</guid><dc:creator>bryant</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/174841.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=174841</wfw:commentRss><description>&lt;p&gt;Make sure you&amp;#39;re not using an unsupported part of ASX and that your media files are the &lt;a class="" href="http://msdn.microsoft.com/en-us/library/cc189080(vs.95).aspx"&gt;right encoding for Silverlight. From the SDK&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;a id="ctl00_rs1_mainContentContainer_ctl20" href="http://msdn.microsoft.com/en-us/library/system.windows.controls.mediaelement(VS.95).aspx"&gt;&lt;font color="#800080"&gt;MediaElement&lt;/font&gt;&lt;/a&gt;&lt;/span&gt; also supports playlists in the form of Advanced Stream Redirector (ASX) files, also known as Windows Media metafiles. Although the file name extension does not matter, these files typically have the .asx, .wax, .wvx, .wmx, or .wpl extension. For more information about these file types, see &lt;a id="ctl00_rs1_mainContentContainer_ctl21" href="http://go.microsoft.com/fwlink/?LinkID=87285"&gt;&lt;font color="#0033cc"&gt;Windows Media Metafiles&lt;/font&gt;&lt;/a&gt;. &lt;/p&gt;
&lt;div class="alert"&gt;
&lt;table class=""&gt;

&lt;tr&gt;
&lt;th class=""&gt;&lt;img alt="Cc189080.alert_note(en-us,VS.95).gif" src="http://i.msdn.microsoft.com/Cc189080.alert_note(en-us,VS.95).gif" /&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;The following features of ASX files are not supported in Silverlight. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;
&lt;div class="caption"&gt;&lt;/div&gt;
&lt;div class="tableSection"&gt;
&lt;table class=""&gt;

&lt;tr&gt;
&lt;th class=""&gt;
&lt;p&gt;ASX feature &lt;/p&gt;&lt;/th&gt;
&lt;th class=""&gt;
&lt;p&gt;Description &lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;PreviewMode Attribute&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;This attribute is found on the root ASX object. It is not supported and will raise a MediaError with AG_E_ASX_UNSUPPORTED_ATTRIBUTE. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;BannerBar Attribute&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;This attribute is found on the root ASX object. It is not supported and will raise a MediaError with AG_E_ASX_UNSUPPORTED_ATTRIBUTE. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;SkipIfRef&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;This attribute is found on the root ENTRY object. It is not supported and will raise a MediaError with AG_E_ASX_UNSUPPORTED_ATTRIBUTE. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;PARAM Element&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;This is not supported and will raise a MediaError with AG_E_ASX_UNSUPPORTED_ELEMENT. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;REPEAT Element&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;This is not supported and will raise a MediaError with AG_E_ASX_UNSUPPORTED_ELEMENT. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;EVENT Element&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;This is not supported and will raise a MediaError with AG_E_ASX_UNSUPPORTED_ELEMENT. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;STARTMARKER Element&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;This is not supported and will raise a MediaError with AG_E_ASX_UNSUPPORTED_ELEMENT. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;ENDMARKER Element&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;This is not supported and will raise a MediaError with AG_E_ASX_UNSUPPORTED_ELEMENT. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;Invalid content&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;If a valid ASX tag has content that is not accepted (for example, a MOREINFO tag contains a REF tag), a MediaFailed error is raised. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;Fallback URLs&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;
&lt;td class=""&gt;
&lt;p&gt;If an ENTRY tag has multiple REF children, only the first one is read. Unlike WMP, Silverlight will not attempt to open additional REF URLs in case the first one fails, and a MediaFailed error is raised. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;For more information on ASX elements, see &lt;a id="ctl00_rs1_mainContentContainer_ctl23" href="http://go.microsoft.com/fwlink/?LinkId=99377"&gt;&lt;font color="#0033cc"&gt;ASX Elements Reference&lt;/font&gt;&lt;/a&gt;. &lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>asx file  in silverlight radio playergiving 4001 error, while typing that file to ie url plays correctly it</title><link>http://forums.silverlight.net/forums/thread/174840.aspx</link><pubDate>Mon, 16 Feb 2009 08:02:29 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:174840</guid><dc:creator>skm.software@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/174840.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=174840</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have created a radio player in silverlight, wma file correctly working on this radio(i.e if we give the path&lt;br /&gt;of wma file) but if I give the path of asx file, it gives 4001 error while typing that asx url in internet explorer&lt;br /&gt;will play the audio correctly.&lt;br /&gt;Is anyone has the solution for this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>