<?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>Thomas Maurer (tm) &#187; IIS6</title>
	<atom:link href="http://www.thomasmaurer.ch/tag/iis6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomasmaurer.ch</link>
	<description>Just another private cloud weblog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:10:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Error: Unable to get the private bytes memory limit for the W3WP process</title>
		<link>http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/</link>
		<comments>http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 13:19:31 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[AppPool]]></category>
		<category><![CDATA[AppPools]]></category>
		<category><![CDATA[ASP.NET cache]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[IIS6]]></category>
		<category><![CDATA[IIS_WPG]]></category>
		<category><![CDATA[memory limit]]></category>
		<category><![CDATA[metaacl.vbs]]></category>
		<category><![CDATA[Metabase]]></category>
		<category><![CDATA[permission]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[W3SVC]]></category>
		<category><![CDATA[W3WP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1495</guid>
		<description><![CDATA[Error ================== Event Type: Error Event Source: ASP.NET 2.0.50727.0 Event Category: None Event ID: 1093 Date: 13.01.2011 Time: 11:11:50 User: N/A Computer: Server01 Description: Unable to get the private bytes memory limit for the W3WP process. The ASP.NET cache will &#8230; <a href="http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/" data-count="horizontal" data-text="Error: Unable to get the private bytes memory limit for the W3WP process" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F01%2Ferror-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><div><span style="font-size: medium;"><span style="line-height: 24px;"><span style="font-size: small;"><span style="line-height: 19px;"></p>
<h2>Error</h2>
<p>==================<br />
Event Type:	Error<br />
Event Source:	ASP.NET 2.0.50727.0<br />
Event Category:	None<br />
Event ID:	1093<br />
Date:	 13.01.2011<br />
Time:	 11:11:50<br />
User:	 N/A<br />
Computer:	Server01</p>
<p>Description:</p>
<p>Unable to get the private bytes memory limit for the W3WP process. The ASP.NET cache will be unable to limit its memory use, which may lead to a process restart. Error: 0&#215;80070005</p>
<p>For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.<br />
==================</p>
<h2>Environment</h2>
<ul>
<li>Windows Server 2003</li>
<li>IIS 6</li>
<li>.NET 2.0 and 1.1</li>
</ul>
<p></span></span></span></span></div>
<h2>Summary</h2>
<p>This Error is caused by the a know issue with permissions of the IIS metabase. The metabse ACL&#8217;s do not include the IIS_WPG group on the W3SVC/AppPools part in the metabase.</p>
<h2>Solution</h2>
<ul>
<li>Download <a title="metaacl.vbs" href="http://support.microsoft.com/?id=267904" target="_blank">metaacl.vbs</a></li>
<li><a title="metaacl.vbs" href="http://support.microsoft.com/?id=267904" target="_blank"></a>Run the following command:<br />
cscript metaacl.vbs IIS://Localhost/W3SVC/AppPools IIS_WPG RE</li>
</ul>
<h2>More Information</h2>
<ul>
<li><a title="http://support.microsoft.com/?id=267904" href="http://support.microsoft.com/?id=267904" target="_blank">http://support.microsoft.com/?id=267904</a></li>
<li><a title="http://blogs.msdn.com/b/carloc/archive/2006/09/20/unable-to-get-the-private-bytes-memory-limit-for-w3wp-exe-process.aspx" href="http://blogs.msdn.com/b/carloc/archive/2006/09/20/unable-to-get-the-private-bytes-memory-limit-for-w3wp-exe-process.aspx" target="_blank">http://blogs.msdn.com/b/carloc/archive/2006/09/20/unable-to-get-the-private-bytes-memory-limit-for-w3wp-exe-process.aspx</a></li>
<li><a title="http://support.microsoft.com/?id=812614" href="http://support.microsoft.com/?id=812614" target="_blank">http://support.microsoft.com/?id=812614</a></li>
<li><a title="http://forums.iis.net/t/1057159.aspx" href="http://forums.iis.net/t/1057159.aspx" target="_blank">http://forums.iis.net/t/1057159.aspx</a></li>
</ul>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-1495"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring IIS for Silverlight Applications</title>
		<link>http://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/</link>
		<comments>http://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 13:05:10 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[.xaml]]></category>
		<category><![CDATA[.xap]]></category>
		<category><![CDATA[.xbab]]></category>
		<category><![CDATA[IIS Manager]]></category>
		<category><![CDATA[IIS6]]></category>
		<category><![CDATA[mime]]></category>
		<category><![CDATA[mime types]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[silverlight 3]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=391</guid>
		<description><![CDATA[You can simply add Silverlight support to your IIS6 webserver running on Windows Server 2003. To enable IIS 6.0 in Windows Server 2003 or IIS7 in Windows Vista RTM with the appropriate MIME Types, add: .xap     application/x-silverlight-app .xaml    application/xaml+xml .xbap    application/x-ms-xbap Adding MIME Types &#8230; <a href="http://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/" data-count="horizontal" data-text="Configuring IIS for Silverlight Applications" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2010%2F01%2Fconfiguring-iis-for-silverlight-applications%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p style="text-align: left;"><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/01/silverlight.png" rel="lightbox[391]"><img class="size-medium wp-image-395  aligncenter" title="silverlight" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/01/silverlight-271x300.png" alt="silverlight" width="271" height="300" /></a>You can simply add Silverlight support to your IIS6 webserver running on Windows Server 2003.</p>
<p>To enable IIS 6.0 in Windows Server 2003 or IIS7 in Windows Vista RTM with the appropriate MIME Types, add:</p>
<ul>
<li>.xap     application/x-silverlight-app</li>
<li>.xaml    application/xaml+xml</li>
<li>.xbap    application/x-ms-xbap</li>
</ul>
<blockquote>
<h3>Adding MIME Types by a simple VB script:</h3>
<ul>
<li>Here is a VBS script you could run to enable each of these types:</li>
</ul>
<p><code><br />
Const ADS_PROPERTY_UPDATE = 2<br />
'<br />
if WScript.Arguments.Count &lt; 2 then<br />
WScript.Echo "Usage: " + WScript.ScriptName + " extension mimetype"<br />
WScript.Quit<br />
end if<br />
'<br />
'Get the mimemap object.<br />
Set MimeMapObj = GetObject("IIS://LocalHost/MimeMap")<br />
'<br />
'Get the mappings from the MimeMap property.<br />
aMimeMap = MimeMapObj.GetEx("MimeMap")<br />
'<br />
' Add a new mapping.<br />
i = UBound(aMimeMap) + 1<br />
Redim Preserve aMimeMap(i)<br />
Set aMimeMap(i) = CreateObject("MimeMap")<br />
aMimeMap(i).Extension = WScript.Arguments(0)<br />
aMimeMap(i).MimeType = WScript.Arguments(1)<br />
MimeMapObj.PutEx ADS_PROPERTY_UPDATE, "MimeMap", aMimeMap<br />
MimeMapObj.SetInfo<br />
'<br />
WScript.Echo "MimeMap successfully added: "<br />
WScript.Echo "    Extension: " + WScript.Arguments(0)<br />
WScript.Echo "    Type:      " + WScript.Arguments(1)</code></p>
<ul>
<li>If you copy and paste the code above into a VBS file and save it as ADDMIMETYPE.VBS the syntax to add each type would be:</li>
</ul>
<p>ADDMIMETYPE.VBS  .xap  application/x-silverlight-app ADDMIMETYPE.VBS  .xaml application/xaml+xmlADDMIMETYPE.VBS  .xbap application/x-ms-xbap</p>
<p>or you could add it very simple over the IIS Manager.</p></blockquote>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-391"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

