<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.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/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Media</title><link>http://forums.iis.net/1145.aspx</link><description>Discussions on delivering audio/video media files and best practices for the IIS7 Media Pack features</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Smooth Stream 4001 Error From ASP.NET MVC Page</title><link>http://forums.iis.net/thread/1907555.aspx</link><pubDate>Thu, 18 Jun 2009 18:58:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907555</guid><dc:creator>theregit</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907555.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1145&amp;PostID=1907555</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to use IIS Smooth Stream to deliver some video content to our customers and I need to protect the video content behind a secured portal.&amp;nbsp; I was able to get IIS Smooth Stream installed and able to use Expression Encoder to encode a video.&amp;nbsp; I used the Big Bunny Default.html page as an example and was able to get a Video.html page to deliver my content via Smooth Stream.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;However, when I put the EXACT same HTML that works on the Video.html site into a page that I generated with ASP.NET MVC I get the following error:&lt;/p&gt;
&lt;p&gt;System.Exception: 4001 An error has occurred.&amp;nbsp; Requires output to be hsoted on a web server running IIS 7.0 with the Smooth Streaming handler installed and a Silverlight 2 template that supports Smooth Streaming.&lt;/p&gt;
&lt;p&gt;Both pages that work and don&amp;#39;t work are on the same web server in the same domain.&amp;nbsp; For reference:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://%3cportalurl%3e/Video.html"&gt;http://&amp;lt;portalurl&amp;gt;/Video.html&lt;/a&gt; (works)&lt;/p&gt;
&lt;p&gt;but&lt;/p&gt;
&lt;p&gt;&lt;a href="http://%3cportalurl%3e/Videos/1"&gt;http://&amp;lt;portalurl&amp;gt;/Videos/1&lt;/a&gt; (ASP.NET MVC - doesn&amp;#39;t work).&lt;/p&gt;
&lt;p&gt;Both of these pages have the &amp;lt;object&amp;gt; tag from the Default.html in the Big Bunny example with the url&amp;#39;s changed.&amp;nbsp; Like I said the same exact &amp;lt;object&amp;gt; tag works from the .html page but not the ASP.NET MVC generated page.&amp;nbsp; I thought this would be a client side technology?&amp;nbsp; Why does it matter how I get the &amp;lt;object&amp;gt; tag to the browser?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any ideas would be much appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks.&lt;/p&gt;
&lt;p&gt;theregit&lt;/p&gt;</description></item></channel></rss>