<?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>@Henning &#187; IIS</title>
	<atom:link href="http://www.eiben.weite-welt.com/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eiben.weite-welt.com</link>
	<description>Yet another blog - surviving the internet</description>
	<lastBuildDate>Sun, 29 Jan 2012 16:37:44 +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>IIS TimeOut while debugging a SharePoint application</title>
		<link>http://www.eiben.weite-welt.com/2011/09/iis-timeout-while-debugging-a-sharepoint-application/</link>
		<comments>http://www.eiben.weite-welt.com/2011/09/iis-timeout-while-debugging-a-sharepoint-application/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 14:10:00 +0000</pubDate>
		<dc:creator>Henning Eiben</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">https://www.eiben.weite-welt.com/2011/09/iis-timeout-while-debugging-a-sharepoint-application/</guid>
		<description><![CDATA[Who has not encounterd this problem: you’re just doing some debugging on your favorite SharePoint application and all over sudden – bam! The application pool gets recycled. Well, the problem is the timeout associated with each application pool. When IIS detects that an application pool is not responding anymore IIS just assumes something terrible happend [...]]]></description>
			<content:encoded><![CDATA[<p>Who has not encounterd this problem: you’re just doing some debugging on your favorite SharePoint application and all over sudden – bam! The application pool gets recycled.</p>
<p><a href="http://www.eiben.weite-welt.com/wp-content/uploads/2011/08/iis_app_timeout.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="iis_app_timeout" border="0" alt="iis_app_timeout" src="http://www.eiben.weite-welt.com/wp-content/uploads/2011/08/iis_app_timeout_thumb.png" width="412" height="170" /></a></p>
<p>Well, the problem is the timeout associated with each application pool. When IIS detects that an application pool is not responding anymore IIS just assumes something terrible happend and recycles the application pool. But all that really happend is some plain-old-debugging.</p>
<p>In order to circumvent this problem you have to disable the pinging of application pools by IIS. Just open up the advanced settings of the IIS application pool and set pinging to false.</p>
<p><a href="http://www.eiben.weite-welt.com/wp-content/uploads/2011/08/iis_adv_setting.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="iis_adv_setting" border="0" alt="iis_adv_setting" src="http://www.eiben.weite-welt.com/wp-content/uploads/2011/08/iis_adv_setting_thumb.png" width="281" height="342" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eiben.weite-welt.com/2011/09/iis-timeout-while-debugging-a-sharepoint-application/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Restart of application pools revised (Windows 2008)</title>
		<link>http://www.eiben.weite-welt.com/2011/01/restart-of-app-pools-in-windows-2008/</link>
		<comments>http://www.eiben.weite-welt.com/2011/01/restart-of-app-pools-in-windows-2008/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 14:20:00 +0000</pubDate>
		<dc:creator>Henning Eiben</dc:creator>
				<category><![CDATA[IIS]]></category>
		<guid isPermaLink="false">https://www.eiben.weite-welt.com/2011/01/restart-of-app-pools-in-windows-2008/</guid>
		<description><![CDATA[Up to Windows 2008 there was a nifty little VB-Script called iisapp.vbs. This allowed to just restart the application pool without having to restart the whole IIS. For one this is much faster and also this doesn’t effect other application pool. Thus you can restart a single application. But with Windows 2008 this script is [...]]]></description>
			<content:encoded><![CDATA[<p>Up to Windows 2008 there was a nifty little VB-Script called <code>iisapp.vbs</code>. This allowed to just <a href="https://www.eiben.weite-welt.com/2011/01/restart-of-an-application-pool-instead-of-iis/">restart the application</a> pool without having to restart the whole IIS. For one this is much faster and also this doesn’t effect other application pool. Thus you can restart a single application.</p>
<p>But with Windows 2008 this script is no longer provided. But fortunatly there is a new kid in town: <code>appcmd.exe</code>. This tool can be found in <code>c:\windows\system32\inetsrv</code>.</p>
<p>To restart (recylce) an application pool you just call:</p>
<pre class="brush: plain;">c:\Windows\System32\inetsrv\appcmd recycle apppool &quot;SharePoint - 80&quot;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.eiben.weite-welt.com/2011/01/restart-of-app-pools-in-windows-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restart of an application pool instead of IIS</title>
		<link>http://www.eiben.weite-welt.com/2011/01/restart-of-an-application-pool-instead-of-iis/</link>
		<comments>http://www.eiben.weite-welt.com/2011/01/restart-of-an-application-pool-instead-of-iis/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 15:19:00 +0000</pubDate>
		<dc:creator>Henning Eiben</dc:creator>
				<category><![CDATA[IIS]]></category>
		<guid isPermaLink="false">https://www.eiben.weite-welt.com/2011/01/restart-of-an-application-pool-instead-of-iis/</guid>
		<description><![CDATA[Once in a while you have to deploy assemblies for a SharePoint based solution (ok, you also might have other solutions which need Assemblies , but in my case I just stumbled across a SharePoint based solution). But deploying the assembly to the GAC or the local bin folder does not mean, that SharePoint (or [...]]]></description>
			<content:encoded><![CDATA[<div class="ExternalClass6B246A1F872F471F8D85292C3573DAEE">
<p>Once in a while you have to deploy assemblies for a SharePoint based solution (ok, you also might have other solutions which need Assemblies <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smiley" src="http://www.eiben.weite-welt.com/wp-content/uploads/2011/01/wlEmoticon-smile.png" />, but in my case I just stumbled across a SharePoint based solution). But deploying the assembly to the GAC or the local bin folder does not mean, that SharePoint (or the IIS) automatically pick up this new version of the Assembly.</p>
<p>Usually you’ll issue an iisreset command in order to get IIS to reload all needed assemblies. Unfortunatly this does take some time, until IIS is fully restarted. This is especially true, when more than one application-pool is running within IIS (for e.g. central administration as well as a couple of web-applications).</p>
<p>Actually it would be sufficient just to restart the portal web-application instead of the whole IIS. So this would mean, we only restart the application pool. Actually this is quite easy to do. Using iisapp.vbs this is just a matter of</p>
<pre class="brush: plain;">cscript iisapp.vbs /a &quot;SharePoint - 80&quot; /r</pre>
<p>Actually this could also be part of a nant-build script, so that with each build the application pool is being restart. </p>
<pre class="brush: xml;">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
&lt;project name=&quot;Solution&quot; default=&quot;deploy&quot; xmlns=&quot;http://nant.sf.net/schemas/nant.xsd&quot;&gt;
  &lt;loadtasks assembly=&quot;f:\build-tools\nantcontrib\bin\nant.contrib.tasks.dll&quot;/&gt;
  &lt;target name=&quot;build&quot;&gt;
    &lt;msbuild project=&quot;FirstActivity.csproj&quot;/&gt;
  &lt;/target&gt;
  &lt;target name=&quot;deploy&quot; depends=&quot;build&quot;&gt;
    &lt;gac-install &gt;
      &lt;assemblies&gt;
        &lt;include name=&quot;bin\Debug\FirstActivity.dll&quot;/&gt;
      &lt;/assemblies&gt;
    &lt;/gac-install&gt;
    &lt;exec program=&quot;cscript&quot; commandline=&quot;iisapp.vbs&quot; workingdir=&quot;c:\windows\system32&quot; verbose=&quot;true&quot;&gt;
      &lt;arg value=&quot;/a &amp;quot;SharePoint - 80&amp;quot;&quot; /&gt;
      &lt;arg value=&quot;/r&quot;/&gt;
    &lt;/exec&gt;
  &lt;/target&gt;
&lt;/project&gt;</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.eiben.weite-welt.com/2011/01/restart-of-an-application-pool-instead-of-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warmup of Application-Pools</title>
		<link>http://www.eiben.weite-welt.com/2011/01/warmup-of-application-pools/</link>
		<comments>http://www.eiben.weite-welt.com/2011/01/warmup-of-application-pools/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 20:42:00 +0000</pubDate>
		<dc:creator>Henning Eiben</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">https://www.eiben.weite-welt.com/2011/01/warmup-of-application-pools/</guid>
		<description><![CDATA[Starting with IIS 7.5 (Windows 7, Windows 2008 R2) application pools can be started with the help of an IIS module. This module issues web-requests whenever a new worker-process is being started. This eliminitates the need for additional warmup-scripts. A more detailed describtion on how to use this module can be found at Using the [...]]]></description>
			<content:encoded><![CDATA[<p>Starting with IIS 7.5 (Windows 7, Windows 2008 R2) application pools can be started with the help of an <a href="http://www.iis.net/extensions/applicationwarmup">IIS module</a>. This module issues web-requests whenever a new worker-process is being started. This eliminitates the need for additional warmup-scripts.</p>
<p>A more detailed describtion on how to use this module can be found at <a href="http://learn.iis.net/page.aspx/688/using-the-iis-application-warm-up-module/">Using the IIS Application Warm-Up Module</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eiben.weite-welt.com/2011/01/warmup-of-application-pools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Need some IIS stuff?</title>
		<link>http://www.eiben.weite-welt.com/2010/02/need-some-iis-stuff/</link>
		<comments>http://www.eiben.weite-welt.com/2010/02/need-some-iis-stuff/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 08:24:10 +0000</pubDate>
		<dc:creator>Henning Eiben</dc:creator>
				<category><![CDATA[IIS]]></category>
		<guid isPermaLink="false">http://www.eiben.weite-welt.com/?p=432</guid>
		<description><![CDATA[I just stumpled across the offical Microsoft IIS Site, which I didn&#8217;t actually knew so far. This is a great resource for IIS, especially if your looking for security or performance related addons for IIS.]]></description>
			<content:encoded><![CDATA[<p>I just stumpled across the offical <a href="http://www.iis.net/">Microsoft IIS Site</a>, which I didn&#8217;t actually knew so far. This is a great resource for IIS, especially if your looking for <a href="http://www.iis.net/downloads/Security">security</a> or <a href="http://www.iis.net/downloads/Performance">performance</a> related addons for IIS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eiben.weite-welt.com/2010/02/need-some-iis-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting the identity for ASP.Net application pools</title>
		<link>http://www.eiben.weite-welt.com/2009/01/aspnet_app_pool_identity/</link>
		<comments>http://www.eiben.weite-welt.com/2009/01/aspnet_app_pool_identity/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 11:52:16 +0000</pubDate>
		<dc:creator>Henning Eiben</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[IIS]]></category>
		<guid isPermaLink="false">http://blog.eiben.weite-welt.com/2009/01/setting-the-identity-for-asp-net-application-pools/</guid>
		<description><![CDATA[I just run into an odd problem. For testing purpose I wanted to run a ASP.Net application with some privileged account. So just...]]></description>
			<content:encoded><![CDATA[<p>I just run into an odd problem. For testing purpose I wanted to run a ASP.Net application with some privileged account. So just for the heck I created a new app-pool in IIS and assigned this pool to my app. Then I set the identity of the app pool to my own domain-account &#8211; this should definitely work, since I&#8217;m a local administrator on this dev-machine &#8211; who if not the admin should run an app?</p>
<p>But the eventlog stated something strange: the identity of my newly created app pool is invalid! And accessing the app kinda proves this: the app pool is being deactivated in IIS.</p>
<p>But now to the rescue: the identity setup in the app-pool must be a member of the local <code>IIS_WPG</code> group.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eiben.weite-welt.com/2009/01/aspnet_app_pool_identity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Installation</title>
		<link>http://www.eiben.weite-welt.com/2007/05/install_php/</link>
		<comments>http://www.eiben.weite-welt.com/2007/05/install_php/#comments</comments>
		<pubDate>Tue, 29 May 2007 10:51:00 +0000</pubDate>
		<dc:creator>Henning Eiben</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">http://blog.eiben.weite-welt.com/?p=219</guid>
		<description><![CDATA[Installation von PHP unter Windows IIS 5.x]]></description>
			<content:encoded><![CDATA[<div>
<p>Grundsätzlich gibt es zwei unterschiedliche Möglichkeiten  um PHP für den IIS unter Windows zu installieren. Zum Einen kann man  PHP manuell installieren, zum Anderen gibt es einen fertigen Installer.  Da ich bisher PHP immer nur manuell installiert habe, und das ganze auch  mit wenigen Handgriffen erledigt ist, werde ich auch nur diesen Weg  beschreiben. Auch gibt es verschiedene Möglichkeiten PHP mit dem IIS zu  &#8220;verbinden&#8221;, am einfachsten und am häufigsten ist die Verwendung des  ISAPI-Filters.</p>
<p>Diese Anleitung beschreibt das Vorgehen für den IIS 5.x; für Windows  2003 bzw. den IIS 6 sieht das ganze ein wenig anders aus, da muss man  den ISAPI-Filter noch explizit zur Auführung aktivieren.</p>
<ol>
<li> Für die Installation muss zunächst die <span><a href="http://www.php.net/downloads.php">aktuelle PHP-Version</a></span> von php.net als ZIP-Archiv herungeladen und in ein beliebiges  Verzeichnis entpackt werden.</li>
<li> Über Systemsteuerung\Verwaltung die IIS-Verwaltungskonsole  Internet-Informationsdienste starten. Nun gibt es grundsätzlich ein paar  Alterantiven:
<ol>
<li> PHP wird für den gesamten Server eingerichtet</li>
<li> PHP wird nur für ein einzelnes Verzeichnis oder einen einzelnen  virtuellen Server eingerichtet</li>
</ol>
<p>Grundsätzlich ist das Vorgehen identisch, ausser daß einmal die  Eigenschaften des Servers und ansonsten die Eigenschaften eines  Verzeichnisses oder eines virtuellen Servers geändert werden müssen.</li>
<li> In den Eigenschaften auf die Reiterkarte &#8220;Basisverzeichnis&#8221;  wechseln und ggf. eine neue Anwendung konfigurieren. Bei virutellen  Servern oder Verzeichnissen die Ausführungsberechtigung auf &#8220;nur  Skritps&#8221; setzen.</li>
<li> Anschließend auf &#8220;Konfiguration&#8221; und auf &#8220;Hinzufügen&#8221; klicken. Als  ausführbare Datei die <code>php5isapi.dll</code> auswählen,  Dateierweiterung ist <code>.php</code>. Bei den Verben kann nun alle  ausgewählt werden, wodurch alle HTTP-Methoden zugelassen werden (auch  solche wie <code>OPTIONS</code> oder <code>PROPFIND</code>), oder das  ganze auf <code>GET, POST, HEAD</code> einschränken. Abschließend noch  sicherstellen, daß die Haken bei &#8220;Skriptmodul&#8221; und &#8220;Prüfen, ob Datei  existiert&#8221; gesetzt sind.</li>
</ol>
<p>Die Einrichtung ist nun schon fast vollständig abgeschlossen. Um die  Konfiguration von PHP noch vornehmen zu können muss entweder die <code>php.ini</code> in das <code>%WINDIR%\system32</code> kopiert werden, oder PHP muss per  Umgebungsvariable <code>PHPRC</code> mitgeteilt werden in welchem  Verzeichnis sich die <code>php.ini</code> befindet. Nach dem setzen der  Umgebungsvariable muss der Rechner ggf. neu gestartet werden, bevor die  Änderung übernommen werden kann, weil die Umgebungsvariablen von dem IIS  nur während des bootens ausgelesen werden.</p>
<p><a href="http://www.php.net/manual/en/install.windows.iis.php" target="_blank">PHP  Installation: Microsoft IIS / PWS (englisch) </a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.eiben.weite-welt.com/2007/05/install_php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Komprimierung von HTTP-Verkehr</title>
		<link>http://www.eiben.weite-welt.com/2005/07/compress_content/</link>
		<comments>http://www.eiben.weite-welt.com/2005/07/compress_content/#comments</comments>
		<pubDate>Mon, 25 Jul 2005 13:29:27 +0000</pubDate>
		<dc:creator>Henning Eiben</dc:creator>
				<category><![CDATA[IIS]]></category>
		<guid isPermaLink="false">http://blog.eiben.weite-welt.com/?p=216</guid>
		<description><![CDATA[Bei der Anbindung von Mobilen Anwendern an ein Firmennetz liegt die Versuchung nahe, den Datenverkehr zwischen Client und Server so gering wie möglich zu halten. Dafür bieten sich verschiedene Kompressionsverfahren an.]]></description>
			<content:encoded><![CDATA[<div>
<p>Eine Möglichkeit besteht darin, den Datenverkehr, der von  einem Webserver zum Browser gesendet wird zu komprimieren. Dazu wird in  der Regel das gzip-Verfahren eingesetzt, welches im Hintergrund den  gesamten Datenverkehr komprimiert. Somit können die Daten zwischen  Server und Client schneller übertragen werden. Dieses Verfahren wird von  den gängigsten Browsern und Servern unterstützt. Auch der IIS bietet  die Möglichkeit sowohl statische als auch dynamisch erzeugte Web-Seite  per gzip zu komprimieren.</p>
<p>Allerdings zeigt die Umsetzung dieser Technik auf Seiten des Clients  (hier konkret des Internet Explorers) ein Problem auf. Gerade bei  dynamischen Seiten, wie sie ja oftmals für Intranet-Inhalte typisch  sind, will man oft nicht, daß die Seiten auf dem Client gecached werden,  sondern die Seiten sollen bei jedem Zugriff immer wieder neu vom Server  angefordert werden. Damit soll sichergestellt werden, daß die mobilen  Anwender immer auf die aktuellen Daten und Informationen des  Unternehmens zugreifen können. Um das Cachen von Seiten zu verhinden  gibt es bestimmte &#8220;Attribute&#8221; die man einer HTML-Seite geben kann, damit  sie vom Client nicht gecached wird. Leider werden diese Attribute vom  Internet Explorer in zusammenhang mit gzip-komprimierten Seiten  schlichtweg ignoriert. Das Ergebnis: die Seiten werden dennoch gecached.</p>
<p>Bei einfachen Inhalten, die sich sowieso nicht so häufig ändern  stellt das noch kein Problem dar, allerdings bei Web-Anwendungen wird  dies schon zu einem Problem. Hier wird oftmals immer nur eine einzige  Seite, jeweils mit unterschiedlichen Parametern, aufgerufen, die dann  die gesamte Darstellung und Verarbeitung übernimmt. Wird hier bei jedem  Klick immer wieder die gleiche Seite angezeigt, weil der Browser die  Seite, mit den nun &#8220;neuen&#8221; Parametern, nicht erneut vom Webserver  anfordert sondern, wegen der permanent gleichen Adresse, die gecachte  Seite anzeigt, so ist dieses Verhalten nicht akzeptabel.</p>
<p>Obwohl das gzip-Verfahren schon lange verwendet wird, gerade im  Unix-Bereich schon seit Jahren etabliert ist, so scheitert der  praktische Einsatz an den unzulänglichkeiten des Internet Explorers.</p>
<p>Informationen von Microsoft: <a href="http://support.microsoft.com/?kbid=321722">Microsoft Knowledge Base Article &#8211; 321722 Content with &#8220;Content-Encoding: gzip&#8221; Is Always Cached Although You Use  &#8220;Cache-Control: no-cache&#8221;</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.eiben.weite-welt.com/2005/07/compress_content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

