<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tristan Watkins on IT Infrastructure &#187; Silverlight Archive</title>
	<atom:link href="http://tristanwatkins.com/index.php/tag/silverlight/feed/" rel="self" type="application/rss+xml" />
	<link>http://tristanwatkins.com</link>
	<description>Technical guidance for SharePoint, Cloud Services, Windows and more</description>
	<lastBuildDate>Fri, 21 Oct 2011 23:33:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Fix For Bit Rate Throttling W3WP Crashes</title>
		<link>http://tristanwatkins.com/index.php/fix-for-bit-rate-throttling-w3wp-crashes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fix-for-bit-rate-throttling-w3wp-crashes</link>
		<comments>http://tristanwatkins.com/index.php/fix-for-bit-rate-throttling-w3wp-crashes/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 00:11:58 +0000</pubDate>
		<dc:creator>Tristan Watkins</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Bit Rate Throttling]]></category>
		<category><![CDATA[BLOB]]></category>
		<category><![CDATA[Caching]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Progressive Download]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Smooth Streaming]]></category>
		<category><![CDATA[Streaming]]></category>
		<category><![CDATA[w3wp]]></category>

		<guid isPermaLink="false">http://tristanwatkins.com/?p=1320</guid>
		<description><![CDATA[Over the Summer, we dove deep in to SharePoint 2010 for WCM when we re-launched our corporate website. As I mentioned the other day, I spent a decent amount of time looking at caching and some of the new supporting technologies, like Bit Rate Throttling, an IIS.NET extension to IIS 7.x &#8211; part of the [...]]]></description>
			<content:encoded><![CDATA[<p>Over the Summer, we dove deep in to SharePoint 2010 for WCM when we re-launched our corporate website. As I <a title="BLOB Cache, HTTP 304 Results and F5/Refresh" href="http://tristanwatkins.com/index.php/blob-cache-http-304-results-f5-refresh/" target="_blank">mentioned the other day</a>, I spent a decent amount of time looking at caching and some of the new supporting technologies, like <a title="Bit Rate Throttling" href="http://www.iis.net/download/BitRateThrottling" target="_blank">Bit Rate Throttling</a>, an IIS.NET extension to IIS 7.x &#8211; part of the <a title="IIS Media Services" href="http://www.iis.net/Media" target="_blank">IIS Media Services 3.0. package</a> that also includes <a title="Smooth Streaming" href="http://www.iis.net/download/SmoothStreaming" target="_blank">Smooth Streaming</a>. Bit Rate Throttling is like when you watch a YouTube clip and it only buffers a short time in advance of what you&#8217;re watching, also known as <strong>Progressive Download</strong>. In <a title="Plan for caching and performance (SharePoint Server 2010)" href="http://technet.microsoft.com/en-us/library/ee424404.aspx#Section2a" target="_blank">Microsoft&#8217;s words</a>, Bit Rate Throttling is&#8230;</p>
<blockquote><p>&#8220;&#8230;an IIS 7.0 extension that meters the download speeds of media file  types and data between a server and a client computer. The encoded bit  rates of media file types such as Windows Media Video (WMV), MPEG-4  (MP4), and Adobe Flash Video, are automatically detected, and the rate  at which those files are delivered to the client over HTTP are  controlled according to the Bit Rate Throttling configuration.&#8221;</p></blockquote>
<p>It basically saves you bandwidth by only transferring what you&#8217;ve watched plus a small, configurable buffer. Think about each user that starts watching a ten minute video but only watches one minute. In that time, they may have downloaded five minutes of content &#8211; quadrupling the bandwidth consumption unnecessarily. Bit Rate Throttling shares some user experience characteristics with <strong>Streaming Media</strong>, but it works on a normal web server over HTTP. It&#8217;s really quite a simple tool and I won&#8217;t devote space here to explaining it when the IIS.NET site already has some great content, including a brief introductory video. Definitely check it out.</p>
<p>So why am I writing about it?</p>
<p><span id="more-1320"></span></p>
<ul>
<li>It&#8217;s cool! We wanted to turn it on to better manage bandwidth while delivering video with SharePoint 2010&#8242;s <a title="SharePoint 2010: Media Web Part" href="http://www.chakkaradeep.com/post/SharePoint-2010-Media-Web-Part.aspx" target="_blank">Silverlight Media Web Part</a>.</li>
<li>Unfortunately it didn&#8217;t work when we turned it on. In fact, it crashed our <strong>w3wp.exe</strong> for the web application where it was enabled.</li>
</ul>
<p>At the time, I reported the issue on <a title="Bit Rate Throttling crashes my SP2010 web app" href="http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/26585e78-2af1-42d4-b14c-3188451ef209" target="_blank">the SharePoint 2010 TechNet forums</a> and <a title="Bit rate throttling stopping W3WP process" href="http://forums.iis.net/p/1165057/1934467.aspx" target="_blank">IIS.NET</a>, but didn&#8217;t get very far. We eventually decided to live with it, leaving BLOB Caching on, even if the bandwidth was left unoptimised.  To summarise the fault, when Bit Rate Throttling was enabled, my web application would load a page or two, then that application&#8217;s w3wp.exe would (apparently) leak memory until it crashed. Repeat. The issue and my troubleshooting is explained in more detail on those two threads. These are the key error messages:</p>
<div style="padding-left: 30px;">Test 3: BLOB Cache on, Bit Rate Throttling installed and enabled</div>
<blockquote style="padding-left: 30px;" dir="ltr">
<div><strong>Faulting application name: w3wp.exe</strong>, version: 7.5.7600.16385, time stamp: 0x4a5bd0eb<br />
<strong>Faulting module name: bitratemodule.dll</strong>, version: 7.1.625.10, time stamp: 0x4aca8535<br />
Exception code: 0xc0000005<br />
Fault offset: 0&#215;0000000000007669<br />
Faulting process id: 0&#215;2140<br />
Faulting application start time: 0x01cb2cd16410dafa<br />
<strong>Faulting application path: c:\windows\system32\inetsrv\w3wp.exe<br />
Faulting module path: C:\Program Files\IIS\Media\bitratemodule.dll</strong><br />
Report Id: e3004397-98c4-11df-91ae-00155d06ab22</div>
</blockquote>
<div style="padding-left: 30px;">And…</div>
<blockquote style="padding-left: 30px;" dir="ltr">
<div>Fault bucket , type 0<br />
Event Name: <strong>APPCRASH</strong><br />
Response: Not available<br />
Cab Id: 0</div>
<div>Problem signature:<br />
P1: <strong>w3wp.exe</strong><br />
P2: 7.5.7600.16385<br />
P3: 4a5bd0eb<br />
P4: <strong>bitratemodule.dll</strong><br />
P5: 7.1.625.10<br />
P6: 4aca8535<br />
P7: c0000005<br />
P8: 0000000000007669<br />
P9:<br />
P10:</div>
<div>Attached files:</div>
<div>These files may be available here:</div>
<div style="padding-left: 30px;">Analysis symbol:<br />
Rechecking for solution: 0<br />
Report Id: e3004397-98c4-11df-91ae-00155d06ab22<br />
Report Status: 0</div>
</blockquote>
<p>Luckily, I noticed that <a title="Bit rate throttling stopping W3WP process" href="http://forums.iis.net/p/1165057/1957592.aspx#1957592" target="_blank">Jack over at IIS.NET recently posted</a>:</p>
<blockquote><p>I believe we have identified the problem and have a fix for the issue.   The fix will be available as part of IIS Media Services 4.0 which will  be released in the very near future.</p></blockquote>
<p>Good news! I see that a release is now available for <strong>IIS Media Services 4.0 Beta</strong> (second down in the right-hand column on <a title="Bit Rate Throttling" href="http://www.iis.net/download/BitRateThrottling" target="_blank">the Bit Rate Throttling site</a>). Unfortunately I haven&#8217;t had a chance to test this yet and I&#8217;m not sure when I&#8217;ll get the time. For now, I&#8217;m posting this incomplete, as it would be great if many people tested this and the IIS team got as much feedback on this technology as possible while it&#8217;s in a Beta release. Obviously, I&#8217;d caution against installing either version in production for now. 3.0 doesn&#8217;t work and 4.0 is very new.</p>
<p>A few related notes:</p>
<ul>
<li>BLOB Caching is not a requirement for Bit Rate Throttling in general, but it is a requirement for Bit Rate Throttling SharePoint 2010 web applications. The <a title="Plan for caching and performance (SharePoint Server 2010)" href="http://technet.microsoft.com/en-us/library/ee424404.aspx#Section2" target="_blank">Plan for caching and performance</a> document notes, &#8220;<em>Bit rate throttling will not work correctly if you do not first enable  the BLOB cache and configure it to cache the files types that you want  to throttle</em>.&#8221;</li>
<li>We didn&#8217;t look at <strong>Smooth Streaming</strong> for very long, because the Silverlight Media Web Part hasn&#8217;t been built to adapt content in that manner.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tristanwatkins.com/index.php/fix-for-bit-rate-throttling-w3wp-crashes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Can a hardened server play a SharePoint 2010 Silverlight Media Web Part?</title>
		<link>http://tristanwatkins.com/index.php/can-a-hardened-server-play-a-sharepoint-2010-silverlight-media-web-part/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=can-a-hardened-server-play-a-sharepoint-2010-silverlight-media-web-part</link>
		<comments>http://tristanwatkins.com/index.php/can-a-hardened-server-play-a-sharepoint-2010-silverlight-media-web-part/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 00:47:24 +0000</pubDate>
		<dc:creator>Tristan Watkins</dc:creator>
				<category><![CDATA[Client applications]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[desktop experience]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[web part]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows Update]]></category>

		<guid isPermaLink="false">http://tristanwatkins.com/?p=722</guid>
		<description><![CDATA[The answer, obviously enough, is that it can if it has Silverlight installed. Read on if you&#8217;re interested in how the web part will behave in its absence. Last week we built a Windows Server 2008 R2 Hyper-V host that we used for our SharePoint 2010 launch event at Microsoft London. We were practicing the [...]]]></description>
			<content:encoded><![CDATA[<p>The answer, obviously enough, is that it can if it has Silverlight installed. Read on if you&#8217;re interested in how the web part will behave in its absence.</p>
<p><span id="more-722"></span>Last week we built a Windows Server 2008 R2 Hyper-V host that we used for our SharePoint 2010 launch event at Microsoft London. We were practicing the demonstration from connected Windows 7 laptops but we also wanted to understand the limitations of presenting from the host itself, should something go wrong with the networking. For the most part this worked fine, but we ran in to problems when we tried to run the media web part. The dialogue box would pop up as normal, but there was no option to <em>Play</em>. If I clicked <em>View</em> I would be prompted to download the .WMV file. At this point I realised that this hardened server did not have the Desktop Experience enabled, so it didn&#8217;t have a default media player.</p>
<p>After installing the Desktop Experience and rebooting (note: this does a few reboots), the pop-up looked the same; the <em>Play</em> button was still missing. Now if I clicked <em>View</em> it would launch in Windows Media Player.</p>
<p>Eventually it occurred to me that the server might be missing Silverlight. We install it by default, so it took some time for me to catch on. I checked the installed updates and sure enough, it was missing. When I tried to run Windows Update it revealed that Silverlight was the only availably update. I tried to install it and I quickly got error 80244019. Searching for a solution suggested a few possible answers &#8211; mostly network/DNS-related. To expedite things I visited the Silverlight site and installed it manually. I believe the problem may have been DNS or proxy-related but since all other Windows updates installed fine it&#8217;s a bit of a mystery.</p>
<p>Installing Silverlight manually did the trick. The Play option returned in the pop-up and video played normally. Out of curiosity I removed the Desktop Experience and tested again. Everything continued to work normally. All of this is totally clear in retrospect, but with the new technology cocktail that is SharePoint 2010, Silverlight 3, IE8 and Windows Server 2008 R2, it&#8217;s easy enough to loose sight of the obvious.</p>
]]></content:encoded>
			<wfw:commentRss>http://tristanwatkins.com/index.php/can-a-hardened-server-play-a-sharepoint-2010-silverlight-media-web-part/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

