<?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>SharePoint Geek &#187; IIS</title>
	<atom:link href="http://sharepoint-geek.com/category/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepoint-geek.com</link>
	<description>SharePoint Tips &#38; Tricks</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:19:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Host Header On SSL Sites</title>
		<link>http://sharepoint-geek.com/2010/06/24/host-header-on-ssl-sites/</link>
		<comments>http://sharepoint-geek.com/2010/06/24/host-header-on-ssl-sites/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 17:18:00 +0000</pubDate>
		<dc:creator>stewart</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://sharepoint-geek.com/2010/06/24/host-header-on-ssl-sites/</guid>
		<description><![CDATA[This is an update to our previous post (Enable Host Headers On An SSL/HTTPS Site).&#160; Which used the following command to enable host headers on SSL sites: cscript.exe adsutil.vbs set /w3svc/&#60;site identifier&#62;/SecureBindings &#34;:443:&#60;host header&#62;&#34; I ran into some issues with using SecureBindings with the Sharepoint Central Administration sites so I thought I would post some [...]]]></description>
			<content:encoded><![CDATA[<p>This is an update to our previous post (<a href="http://sharepoint-geek.com/2010/02/26/enable-host-headers-on-an-sslhttps-site/">Enable Host Headers On An SSL/HTTPS Site</a>).&#160; Which used the following command to enable host headers on SSL sites:</p>
<div style="border: 1px solid rgb(72, 72, 72); width: 550px; height: 40px; overflow: scroll;">
<pre class="csharpcode">cscript.exe adsutil.vbs set /w3svc/&lt;site identifier&gt;/SecureBindings <span class="str">&quot;:443:&lt;host header&gt;&quot;</span></pre>
</div>
<p>I ran into some issues with using SecureBindings with the <a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">Sharepoint</a> Central Administration sites so I thought I would post some of the other commands that I used:</p>
<p>To find out what bindings are on a site use the following command:</p>
<div style="border: 1px solid rgb(72, 72, 72); width: 550px; height: 40px; overflow: scroll;">
<pre class="csharpcode">cscript.exe adsutil.vbs get w3svc/&lt;site-identifier&gt;/securebindings</pre>
</div>
<p>To remove the host header from an SSL site use the following command:</p>
<div style="border: 1px solid rgb(72, 72, 72); width: 550px; height: 40px; overflow: scroll;">
<pre class="csharpcode">cscript.exe adsutil.vbs set /w3svc/&lt;site identifier&gt;/SecureBindings <span class="str">&quot;:443:&quot;</span></pre>
</div>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>

	Tags: <a href="http://sharepoint-geek.com/category/iis/" title="IIS" rel="tag">IIS</a>, <a href="http://sharepoint-geek.com/category/ssl/" title="ssl" rel="tag">ssl</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://sharepoint-geek.com/2010/06/24/host-header-on-ssl-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete An Extended Web Application</title>
		<link>http://sharepoint-geek.com/2010/05/27/delete-an-extended-web-application/</link>
		<comments>http://sharepoint-geek.com/2010/05/27/delete-an-extended-web-application/#comments</comments>
		<pubDate>Thu, 27 May 2010 17:07:00 +0000</pubDate>
		<dc:creator>stewart</dc:creator>
				<category><![CDATA[Central Administration]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Windows SharePoint Services Web Application]]></category>
		<category><![CDATA[extended web application]]></category>
		<category><![CDATA[web application]]></category>
		<category><![CDATA[wss]]></category>

		<guid isPermaLink="false">http://sharepoint-geek.com/2010/05/27/delete-an-extended-web-application/</guid>
		<description><![CDATA[Extended web applications are not listed in the web application list and cannot be deleted using the Delete Web Application link in Central Administration. Use the following steps to delete extended web applications: Start Central Administration Go to Application Management Click Remove SharePoint from IIS Web Site to get a page with a form similar [...]]]></description>
			<content:encoded><![CDATA[<p>Extended web applications are not listed in the web application list and cannot be deleted using the <strong>Delete Web Application</strong> link in Central Administration.</p>
<p>Use the following steps to <strong>delete extended web applications</strong>:</p>
<ol>
<li>Start <strong>Central Administration</strong></li>
<li>Go to <strong>Application Management</strong></li>
<li>Click <strong>Remove <a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a> from IIS Web Site</strong> to get a page with a form similar to the following.      <br /><a href="http://sharepoint-geek.com/wp-content/uploads/2010/05/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://sharepoint-geek.com/wp-content/uploads/2010/05/image_thumb.png" width="429" height="261" /></a> </li>
<li>Select the web application that the extended web app was extended from </li>
<li>Select which extention/zone to delete </li>
<li>Select whether to keep or delete the IIS Web site </li>
<li>Finally click <strong>OK</strong></li>
</ol>

	Tags: <a href="http://sharepoint-geek.com/category/central-administration/" title="Central Administration" rel="tag">Central Administration</a>, <a href="http://sharepoint-geek.com/category/extended-web-application/" title="extended web application" rel="tag">extended web application</a>, <a href="http://sharepoint-geek.com/category/iis/" title="IIS" rel="tag">IIS</a>, <a href="http://sharepoint-geek.com/category/moss/" title="MOSS" rel="tag">MOSS</a>, <a href="http://sharepoint-geek.com/category/web-application/" title="web application" rel="tag">web application</a>, <a href="http://sharepoint-geek.com/category/windows-sharepoint-services-web-application/" title="Windows SharePoint Services Web Application" rel="tag">Windows SharePoint Services Web Application</a>, <a href="http://sharepoint-geek.com/category/wss/" title="wss" rel="tag">wss</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://sharepoint-geek.com/2010/05/27/delete-an-extended-web-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS Admin Error: Handle Is Invalid &#8211; Permissions SSL Certificate MachineKeys</title>
		<link>http://sharepoint-geek.com/2010/05/05/iis-admin-error-handle-is-invalid-permissions-ssl-certificate-machinekeys/</link>
		<comments>http://sharepoint-geek.com/2010/05/05/iis-admin-error-handle-is-invalid-permissions-ssl-certificate-machinekeys/#comments</comments>
		<pubDate>Wed, 05 May 2010 18:32:18 +0000</pubDate>
		<dc:creator>stewart</dc:creator>
				<category><![CDATA[External Collaboration Tool-Kit]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[adam]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://sharepoint-geek.com/2010/05/05/iis-admin-error-handle-is-invalid-permissions-ssl-certificate-machinekeys/</guid>
		<description><![CDATA[Well, I’ve been trying to setup the External Collaboration Toolkit.&#160; All of the instructions tell how to do it as a standalone SharePoint install, but I am trying to get it setup in a SharePoint farm.&#160; One of the steps in the instructions is to setup ADAM to act as the authentication for external users.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I’ve been trying to setup the <a href="http://technet.microsoft.com/en-us/library/cc268155.aspx">External Collaboration Toolkit</a>.&#160; All of the instructions tell how to do it as a standalone <a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a> install, but I am trying to get it setup in a <a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a> farm.&#160; One of the steps in the instructions is to setup <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9688F8B9-1034-4EF6-A3E5-2A2A57B5C8E4&amp;displaylang=en">ADAM</a> to act as the authentication for external users.&#160; The communications with ADAM need to be SSL encrypted.&#160; So, I set it up the way the instructions say and went through the portion that ensures that the UserID that runs the ADAM service has access to the SSL Certificates.&#160; </p>
<p>That’s when I must have went wrong.&#160; Somehow, I removed access to the SSL Certificates from the service that runs the IIS Admin service.&#160; So, when I rebooted, IIS would not start.&#160; The only thing that was in the event log was:</p>
<blockquote><p><strong>Handle is invalid</strong></p>
</blockquote>
<p>Real helpful, huh?</p>
<p>Luckily, I was able to find <a href="http://support.microsoft.com/default.aspx?scid=KB;EN-US;278381">Microsoft KB Article #278381</a>.&#160; The basic thing is that I needed to reset the security on the SSL Certificates.&#160; Below is an explaination:</p>
<p>The MachineKeys are at the following location:    <br /><strong>All Users Profile\Application Data\Microsoft\Crypto\RSA</strong></p>
<p>The following settings are the default permissions for the MachineKeys folder:</p>
<table cellspacing="0" cellpadding="0" width="500" border="1">
<tbody>
<tr>
<td valign="top" width="104">Administrator</td>
<td valign="top" width="125">(Full Control)</td>
<td valign="top" width="269">This folder only</td>
</tr>
<tr>
<td valign="top" width="104">Everyone</td>
<td valign="top" width="125">(Special) </td>
<td valign="top" width="269">This folder, subfolders, and files</td>
</tr>
<tr>
<td valign="top" width="104">SYSTEM</td>
<td valign="top" width="125">(Full Control)</td>
<td valign="top" width="269">This folder, subfolders, and files</td>
</tr>
</tbody>
</table>
<pre>&#160;</pre>
<p>To view the special permissions for the Everyone group, right-click the <strong>MachineKeys</strong> folder, click <strong>Advanced</strong> on the <strong>Security</strong> tab, and then click <strong>View/Edit</strong>. The permissions consist of the following permissions: </p>
<ol>
<li>List Folder/Read Data </li>
<li>Read Attributes </li>
<li>Read Extended Attributes </li>
<li>Create Files/Write Data </li>
<li>Create Folders/Append Data </li>
<li>Write Attributes </li>
<li>Write Extended Attributes </li>
<li>Read Permissions </li>
</ol>
<p>&#160;</p>
<p>Select the <strong>Reset Permissions on all Child objects and enable propagation of inheritable permissions</strong> check box. </p>

	Tags: <a href="http://sharepoint-geek.com/category/adam/" title="adam" rel="tag">adam</a>, <a href="http://sharepoint-geek.com/category/external-collaboration-tool-kit/" title="External Collaboration Tool-Kit" rel="tag">External Collaboration Tool-Kit</a>, <a href="http://sharepoint-geek.com/category/iis/" title="IIS" rel="tag">IIS</a>, <a href="http://sharepoint-geek.com/category/ssl/" title="ssl" rel="tag">ssl</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://sharepoint-geek.com/2010/05/05/iis-admin-error-handle-is-invalid-permissions-ssl-certificate-machinekeys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Host Headers On An SSL/HTTPS Site</title>
		<link>http://sharepoint-geek.com/2010/02/26/enable-host-headers-on-an-sslhttps-site/</link>
		<comments>http://sharepoint-geek.com/2010/02/26/enable-host-headers-on-an-sslhttps-site/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 16:11:27 +0000</pubDate>
		<dc:creator>stewart</dc:creator>
				<category><![CDATA[Central Administration]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[wss]]></category>

		<guid isPermaLink="false">http://sharepoint-geek.com/2010/02/26/enable-host-headers-on-an-sslhttps-site/</guid>
		<description><![CDATA[The other day we came across an issue where a user inadvertently inserted a “https” in the URL of a SharePoint site.&#160; The resulting page that was displayed was the Central Administration site. The only site that is secured with SSL on our SharePoint servers is the Central Admin site.&#160; The Central Admin site also [...]]]></description>
			<content:encoded><![CDATA[<p>The other day we came across an issue where a user inadvertently inserted a “http<font color="#ff0000"><strong>s</strong></font>” in the URL of a <a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a> site.&#160; The resulting page that was displayed was the Central Administration site.</p>
<p>The only site that is secured with SSL on our <a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a> servers is the Central Admin site.&#160; The Central Admin site also has a host header.&#160; So, I thought that all traffic on port 443 would require the correct host header for Central Admin to respond.</p>
<p>I was wrong.</p>
<p>I was able to find a script on Microsoft TechNet that will enable host headers for SSL sites.&#160; Run the following from the commandline:</p>
</p>
<pre class="csharpcode">cscript.exe adsutil.vbs set /w3svc/&lt;site identifier&gt;/SecureBindings &quot;:443:&lt;host header&gt;&quot;</pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>Where &lt;<i>host header&gt;</i> is the host header for the Web site and &lt;site identifier&gt; is the site’s unique identifier.</p>
<p>You will find the adsutil.vbs file in several places but you should probably use the one located at C:\Inetpub\AdminScripts.</p>
<p><a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/596b9108-b1a7-494d-885d-f8941b07554c.mspx?mfr=true">IIS 6.0</a></p>
<p><a href="http://technet.microsoft.com/en-us/library/cc753195%28WS.10%29.aspx">IIS 7.0</a></p>

	Tags: <a href="http://sharepoint-geek.com/category/central-administration/" title="Central Administration" rel="tag">Central Administration</a>, <a href="http://sharepoint-geek.com/category/iis/" title="IIS" rel="tag">IIS</a>, <a href="http://sharepoint-geek.com/tag/sharepoint/" title="Sharepoint" rel="tag">Sharepoint</a>, <a href="http://sharepoint-geek.com/category/ssl/" title="ssl" rel="tag">ssl</a>, <a href="http://sharepoint-geek.com/tag/wss/" title="wss" rel="tag">wss</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://sharepoint-geek.com/2009/10/07/wssremovefeaturefromsite-bat-file/" title="WssRemoveFeatureFromSite + BAT File (October 7, 2009)">WssRemoveFeatureFromSite + BAT File</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/10/07/wss-v3-moss-2007-features/" title="WSS v3 &amp; MOSS 2007 Features (October 7, 2009)">WSS v3 &amp; MOSS 2007 Features</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/11/05/sharepoint-alerts-not-working/" title="SharePoint Alerts Not Working (November 5, 2009)">SharePoint Alerts Not Working</a> (5)</li>
	<li><a href="http://sharepoint-geek.com/2009/10/22/error-running-the-configuration-wizard/" title="Error Running The Configuration Wizard (October 22, 2009)">Error Running The Configuration Wizard</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/11/06/unable-to-enable-office-sharepoint-server-publishing/" title="Unable To Enable Office SharePoint Server Publishing (November 6, 2009)">Unable To Enable Office SharePoint Server Publishing</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://sharepoint-geek.com/2010/02/26/enable-host-headers-on-an-sslhttps-site/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Add Office 2007 MimeTypes To IIS Metabase</title>
		<link>http://sharepoint-geek.com/2010/02/08/add-office-2007-mimetypes-to-iis-metabase/</link>
		<comments>http://sharepoint-geek.com/2010/02/08/add-office-2007-mimetypes-to-iis-metabase/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 11:00:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Metabase]]></category>
		<category><![CDATA[MimeType]]></category>

		<guid isPermaLink="false">http://sharepoint-geek.com/?p=47</guid>
		<description><![CDATA[If you have trouble downloading Office 2007 documents from IIS you may have to add their MimeTypes to the site. You could do it for the individual extensions by following the steps below: Select [HTTP Headers] tab from the website properties Select [Mime Types] Enter the new extension and the appropriate mime type To apply [...]]]></description>
			<content:encoded><![CDATA[<p>If you have trouble downloading Office 2007 documents from IIS you may have to add their MimeTypes to the site.</p>
<p>You could do it for the individual extensions by following the steps below:</p>
<ol>
<li>Select [HTTP Headers] tab from the website properties</li>
<li>Select [Mime Types]</li>
<li>Enter the new extension and the appropriate mime type</li>
</ol>
<p>To apply the mimetypes globally, you can stop IIS and edit the metabase XML file</p>
<blockquote><p>C:\WINDOWS\system32\inetsrv\MetaBase.xml</p></blockquote>
<p>Using a text editor, search for the
<pre><IIsMimeMap Location="/LM/MimeMap" >
<pre> element and append the following lines to the MimeMap attribute:
<pre>
.docm,application/vnd.ms-word.document.macroEnabled.12
.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotm,application/vnd.ms-word.template.macroEnabled.12
.dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template
.potm,application/vnd.ms-powerpoint.template.macroEnabled.12
.potx,application/vnd.openxmlformats-officedocument.presentationml.template
.ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12
.ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12
.ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow
.pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12
.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation
.xlam,application/vnd.ms-excel.addin.macroEnabled.12
.xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12
.xlsm,application/vnd.ms-excel.sheet.macroEnabled.12
.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltm,application/vnd.ms-excel.template.macroEnabled.12
.xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template
</pre>

	Tags: <a href="http://sharepoint-geek.com/category/iis/" title="IIS" rel="tag">IIS</a>, <a href="http://sharepoint-geek.com/category/metabase/" title="Metabase" rel="tag">Metabase</a>, <a href="http://sharepoint-geek.com/category/mimetype/" title="MimeType" rel="tag">MimeType</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://sharepoint-geek.com/2010/02/08/add-office-2007-mimetypes-to-iis-metabase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Script To Recycle App Pools In IIS</title>
		<link>http://sharepoint-geek.com/2010/02/05/a-script-to-recycle-app-pools-in-iis/</link>
		<comments>http://sharepoint-geek.com/2010/02/05/a-script-to-recycle-app-pools-in-iis/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 14:43:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[application pools]]></category>

		<guid isPermaLink="false">http://sharepoint-geek.com/?p=45</guid>
		<description><![CDATA[Did you know that there is a script that was shipped with Windows 2003 SP2 that allows you to recycle your IIS Application Pools. Below is the command that you use from the command line: Description: list IIS application pools and associated worker process Recycle application pools. Syntax: IIsApp.vbs [{ /a &#124; /p } [/r] [...]]]></description>
			<content:encoded><![CDATA[<p>Did you know that there is a script that was shipped with Windows 2003 SP2 that allows you to recycle your IIS Application Pools.</p>
<p>Below is the command that you use from the command line:</p>
<pre>
Description: list IIS application pools and associated worker process
             Recycle application pools.

Syntax: IIsApp.vbs [{ /a <app_pool_id> | /p
<pid> } [/r] ]

Parameters:

Value              Description
/a <app_pool_id>   Specify an application pool by name. Surround
                   <app_pool_id> with quotes if it contains spaces.
                   If used alone without an accompanying action,
                   IIsApp.vbs will report PIDs of currently running
                   w3wp.exe processes serving pool <app_pool_id>.
/p
<pid>           Specify a process by process ID. If used alone
                   without an accompanying action, IIsApp.vbs will
                   report the AppPoolId of the w3wp process specified
                   by
<pid>. When a PID is specified with /r, that PI
                   is mapped to an application pool and the action is
                   taken upon the application pool. If a PID is given
                   for a web garden, i.e. an application pool served
                   by more than one w3wp, then all w3wp's for that
                   application pool will be acted upon.
/r                 Recycles the application pool.

DEFAULT: no switches will print out the PID and AppPoolId.

Examples:

IIsApp
IIsApp /p 2368
IIsApp /a DefaultAppPool /r
IIsApp /p 2368 /r
</pre>

	Tags: <a href="http://sharepoint-geek.com/category/application-pools/" title="application pools" rel="tag">application pools</a>, <a href="http://sharepoint-geek.com/category/iis/" title="IIS" rel="tag">IIS</a>, <a href="http://sharepoint-geek.com/category/windows-server/" title="Windows Server" rel="tag">Windows Server</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://sharepoint-geek.com/2010/02/05/a-script-to-recycle-app-pools-in-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharepoint And Alternate Access Paths</title>
		<link>http://sharepoint-geek.com/2010/01/05/sharepoint-and-alternate-access-paths/</link>
		<comments>http://sharepoint-geek.com/2010/01/05/sharepoint-and-alternate-access-paths/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 18:10:00 +0000</pubDate>
		<dc:creator>stewart</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[alternate access mappings]]></category>
		<category><![CDATA[wss]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://sharepoint-geek.com/2010/01/05/sharepoint-and-alternate-access-paths/</guid>
		<description><![CDATA[I have been wanting to setup a non-www host header for our external websites and found that there are 2 steps to get this working: Setup an Alternate Access Mapping in the default zone that specifies the domain without the “www”. Manually add the host header to the IIS properties of the website. Tags: alternate [...]]]></description>
			<content:encoded><![CDATA[<p>I have been wanting to setup a non-www host header for our external websites and found that there are 2 steps to get this working:</p>
<ol>
<li>Setup an Alternate Access Mapping in the default zone that specifies the domain without the “www”.</li>
<li>Manually add the host header to the IIS properties of the website.</li>
</ol>

	Tags: <a href="http://sharepoint-geek.com/category/alternate-access-mappings/" title="alternate access mappings" rel="tag">alternate access mappings</a>, <a href="http://sharepoint-geek.com/category/iis/" title="IIS" rel="tag">IIS</a>, <a href="http://sharepoint-geek.com/category/moss/" title="MOSS" rel="tag">MOSS</a>, <a href="http://sharepoint-geek.com/tag/sharepoint/" title="Sharepoint" rel="tag">Sharepoint</a>, <a href="http://sharepoint-geek.com/category/wss/" title="wss" rel="tag">wss</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://sharepoint-geek.com/2009/10/07/wssremovefeaturefromsite-bat-file/" title="WssRemoveFeatureFromSite + BAT File (October 7, 2009)">WssRemoveFeatureFromSite + BAT File</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/10/07/wss-v3-moss-2007-features/" title="WSS v3 &amp; MOSS 2007 Features (October 7, 2009)">WSS v3 &amp; MOSS 2007 Features</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/11/06/unable-to-enable-office-sharepoint-server-publishing/" title="Unable To Enable Office SharePoint Server Publishing (November 6, 2009)">Unable To Enable Office SharePoint Server Publishing</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/05/21/unable-to-activate-office-sharepoint-server-publishing-infrastructure/" title="Unable To Activate Office SharePoint Server Publishing Infrastructure (May 21, 2009)">Unable To Activate Office SharePoint Server Publishing Infrastructure</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/11/04/stop-windows-sharepoint-services-web-application/" title="Stop Windows SharePoint Services Web Application (November 4, 2009)">Stop Windows SharePoint Services Web Application</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://sharepoint-geek.com/2010/01/05/sharepoint-and-alternate-access-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stop Windows SharePoint Services Web Application</title>
		<link>http://sharepoint-geek.com/2009/11/04/stop-windows-sharepoint-services-web-application/</link>
		<comments>http://sharepoint-geek.com/2009/11/04/stop-windows-sharepoint-services-web-application/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 20:24:05 +0000</pubDate>
		<dc:creator>stewart</dc:creator>
				<category><![CDATA[Central Administration]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows SharePoint Services Web Application]]></category>
		<category><![CDATA[wss]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[sharepoint services]]></category>

		<guid isPermaLink="false">http://sharepoint-geek.com/2009/11/04/stop-windows-sharepoint-services-web-application/</guid>
		<description><![CDATA[!!!*** NEVER, NEVER, NEVER, NEVER EVER STOP WINDOWS SHAREPOINT SERVICES WEB APPLICATION ***!!! The Windows SharePoint Services Web Application is what identifies your server as a SharePoint Web Front-End.&#160; If you stop this “service” it will remove all SharePoint websites and the directories from which they are served.&#160; So, unless you know exactly what you [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://sharepoint-geek.com/wp-content/uploads/2009/11/sp.jpg"><img title="sp" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 10px 0px 0px; border-right-width: 0px" height="199" alt="sp" src="http://sharepoint-geek.com/wp-content/uploads/2009/11/sp_thumb.jpg" width="244" align="left" border="0" /></a> !!!*** NEVER, NEVER, NEVER, NEVER EVER STOP WINDOWS <a href="http://sharepoint-geek.com/tag/sharepoint-services/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sharepoint services">SHAREPOINT SERVICES</a> WEB APPLICATION ***!!!</strong></p>
<p>The Windows <a href="http://sharepoint-geek.com/tag/sharepoint-services/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sharepoint services">SharePoint Services</a> Web Application is what identifies your server as a <a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a> Web Front-End.&#160; If you stop this “service” it will remove all <a href="http://sharepoint-geek.com/tag/sharepoint/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Sharepoint">SharePoint</a> websites and the directories from which they are served.&#160; </p>
<p>So, unless you know exactly what you are doing, DO NOT STOP THE WINDOWS <a href="http://sharepoint-geek.com/tag/sharepoint-services/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sharepoint services">SHAREPOINT SERVICES</a> WEB APPLICATION!!!</p>

	Tags: <a href="http://sharepoint-geek.com/category/central-administration/" title="Central Administration" rel="tag">Central Administration</a>, <a href="http://sharepoint-geek.com/category/iis/" title="IIS" rel="tag">IIS</a>, <a href="http://sharepoint-geek.com/tag/sharepoint/" title="Sharepoint" rel="tag">Sharepoint</a>, <a href="http://sharepoint-geek.com/tag/sharepoint-services/" title="sharepoint services" rel="tag">sharepoint services</a>, <a href="http://sharepoint-geek.com/category/windows-sharepoint-services-web-application/" title="Windows SharePoint Services Web Application" rel="tag">Windows SharePoint Services Web Application</a>, <a href="http://sharepoint-geek.com/category/wss/" title="wss" rel="tag">wss</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://sharepoint-geek.com/2009/05/21/sharepoint-search-services-error/" title="SharePoint Search Services Error (May 21, 2009)">SharePoint Search Services Error</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/10/22/error-running-the-configuration-wizard/" title="Error Running The Configuration Wizard (October 22, 2009)">Error Running The Configuration Wizard</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2010/01/04/an-update-conflict-has-occurred-and-you-must-re-try-this-action/" title="An update conflict has occurred, and you must re-try this action (January 4, 2010)">An update conflict has occurred, and you must re-try this action</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/10/07/wssremovefeaturefromsite-bat-file/" title="WssRemoveFeatureFromSite + BAT File (October 7, 2009)">WssRemoveFeatureFromSite + BAT File</a> (0)</li>
	<li><a href="http://sharepoint-geek.com/2009/10/07/wss-v3-moss-2007-features/" title="WSS v3 &amp; MOSS 2007 Features (October 7, 2009)">WSS v3 &amp; MOSS 2007 Features</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://sharepoint-geek.com/2009/11/04/stop-windows-sharepoint-services-web-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
