<?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>Search results matching tag 'Application Pool'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=Application+Pool&amp;orTags=0</link><description>Search results matching tag 'Application Pool'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Remote Powershell Connection to Outlook Live from IIS7 Application Pool</title><link>http://forums.iis.net/p/1162034/1921962.aspx#1921962</link><pubDate>Fri, 23 Oct 2009 21:25:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921962</guid><dc:creator>Flaxxed1</dc:creator><cs:applicationKey>iis_7_-_aspnet_administration-41</cs:applicationKey><description>&lt;p&gt;I&amp;#39;m not quite sure if this is the right place for this question, but here goes.&amp;nbsp; I have an interesting situation, let me explain:&lt;/p&gt;&lt;p&gt;I have some WCF services that I need to host in IIS7.&amp;nbsp; This .NET code is to help do administration of our email for students and employees at our university.&amp;nbsp; Students are on Outlook Live, employees are on Exchange 2007.&amp;nbsp; The code needs to establish a remote powershell session with Outlook Live to run some cmdlets as well as do powershell for Exchange 2007.&amp;nbsp; Due to what the code is doing, it needs to run with elevated privileges using a service account.&amp;nbsp; I have setup a new application pool and have it running under this service account.&amp;nbsp; I then have my WCF services running in this application pool.&lt;/p&gt;&lt;p&gt;What I am finding is that when I call a service method that needs to remote powershell to Outlook Live, I am unable to establish a connection and the error that powershell gives me is &amp;quot;An internal error occurred.&amp;quot;&amp;nbsp; The interesting this is that if I change the WCF services to run under the DefaultAppPool (Network Service user) it can open a remote powershell session with Outlook Live just fine.&amp;nbsp; I can also log into the server as the service account and use the integrated powershell environment to establish a remote powershell session with Outlook Live and run cmdlets just fine.&amp;nbsp; It appears that it does not like running remote powershell from an Application Pool that is not running as &amp;quot;Network Service&amp;quot;&amp;nbsp; (DefaultAppPool).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have all of the versions of powershell, winRM, Exchange Management Tools, etc. installed.&amp;nbsp; I am not sure why running my services under &amp;quot;Network Service (DefaultAppPool)&amp;quot; allows the remote powershell and running under my service account does not. I really appreciate any help and thoughts. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Trouble with Linkpoint API in IIS7</title><link>http://forums.iis.net/p/1148921/1921928.aspx#1921928</link><pubDate>Fri, 23 Oct 2009 18:23:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921928</guid><dc:creator>Fernando Paiva</dc:creator><cs:applicationKey>iis7_-_setup__migration-41</cs:applicationKey><description>It worked.... finally. Thanks for the good work.&lt;br /&gt;&lt;br /&gt;
I am running 2008 32bits, .net 3.5 framework and my Application Pool is on Classic mode.&lt;br /&gt;&lt;br /&gt;
I just copied files to my bin and registered Interop.LPICOM_6_0Lib.dll (from my bin folder, running regsvr32 Interop.LPICOM_6_0Lib.dll) and voila ! (nothing else had to be done).</description></item><item><title>Missing Service tab in  6.0</title><link>http://forums.iis.net/p/1161827/1921003.aspx#1921003</link><pubDate>Fri, 16 Oct 2009 16:16:58 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921003</guid><dc:creator>michaellprescott</dc:creator><cs:applicationKey>configuration__scripting--1</cs:applicationKey><description>&lt;p&gt;I&amp;#39;m trying to create application pools and know I need to be in worker isolation mode which can be selected in the Service tab.&amp;nbsp; But I have no Service tab available, even though I&amp;#39;m right clicking on the &amp;quot;Web Site&amp;quot; tab/Properties (not individual sites).&amp;nbsp; I&amp;#39;m also using XP Home.&amp;nbsp; The only tabs showing are Directory Securtiy, HTTP Headers, Custom Errors, ASP.NET, ISAPI Filters, Home Directory and Documents.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Desparate for an answer as I&amp;#39;m trying to install DotNetNuke.&amp;nbsp; Did I install IIS wrong to begin with?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>IIS7 Global setting failure</title><link>http://forums.iis.net/p/1161661/1920307.aspx#1920307</link><pubDate>Sun, 11 Oct 2009 12:54:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920307</guid><dc:creator>xintao.liu</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;am using&amp;nbsp;global.asax in my asp.net website. I want to do some initialization when the my asp.net website is visited at the first time, so that the later visiting to my website is fluent. The code is as follows:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;void Application_Start(object sender, EventArgs e) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Application[&amp;quot;mMyClass&amp;quot;] == null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMyClass pClass=&amp;nbsp;new MyClass(Server.MapPath(&amp;quot;Data&amp;quot;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application[&amp;quot;mMyClass&amp;quot;] = pClass;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It works fine after initialization. The problem is, if no one visit my website for a period of time, and then someone visit my website again, the initialization begin again. What&amp;#39;s wrong?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any of your suggestion and reply are highly appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Xintao&lt;/p&gt;</description></item><item><title>Re: Can't get compression to work on 1 site - application pool issue?</title><link>http://forums.iis.net/p/1161560/1919875.aspx#1919875</link><pubDate>Wed, 07 Oct 2009 19:35:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919875</guid><dc:creator>pjsmith</dc:creator><cs:applicationKey>tuning_iis--1</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;Solved :)&lt;/p&gt;&lt;p&gt;It turns out that if you run an application pool with a custom identity you need to set individual permissions on the metabase keys using metabase explorer.&amp;nbsp; I had already added the IIS_WPG group that the account belongs to, but this doesn;t seem to be enough.&amp;nbsp; Adding the actual local account solved the problem and now all content is compressed :)&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;font face="Segoe UI" size="2"&gt;LM –&amp;gt; Read &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face="Segoe UI" size="2"&gt;W3SVC –&amp;gt; Read &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face="Segoe UI" size="2"&gt;AppPools -&amp;gt; Query Unsecure Property (Special Permission) &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face="Segoe UI" size="2"&gt;Filters -&amp;gt; Read and Write &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face="Segoe UI" size="2"&gt;Compression –&amp;gt; deflate (Read and Write - Inherited) &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face="Segoe UI" size="2"&gt;Compression –&amp;gt; gzip (Read and Write - Inherited) &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face="Segoe UI" size="2"&gt;Restart IIS &lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>The Module DLL C:\Windows\System32\inetsrv\validcfg.dll failed to load. The data is the error.</title><link>http://forums.iis.net/p/1161196/1918241.aspx#1918241</link><pubDate>Fri, 25 Sep 2009 03:06:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1918241</guid><dc:creator>david@somuah.com</dc:creator><cs:applicationKey>iis_7_-_troubleshooting-41</cs:applicationKey><description>&lt;p&gt;Recreate Steps:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Installed new instance of IIS on a 64 bit Vista box.&lt;/p&gt;
&lt;p&gt;2. Started Server and attempted to navigate to the default website&lt;/p&gt;
&lt;p&gt;3. Got a 503 &amp;quot;Service unavailable&amp;quot; error.&lt;/p&gt;
&lt;p&gt;4. Ran &amp;quot;appcmd list apppools&amp;quot; . It showed that the default app pool was stopped.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;5. Opened up the event viewer and found &amp;quot;The Module DLL C:\Windows\System32\inetsrv\validcfg.dll failed to load. The data is the error.&amp;quot; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am not sure what this means, and a quick search of the forums&amp;nbsp;failed to&amp;nbsp;pull up any threads with the same error.&amp;nbsp;I did not that there is no such DLL is my inetsrv directory. As this is my third time re-installing IIS to try and fix this problem, I am not sure if doing another reinstall will help.&lt;/p&gt;</description></item><item><title>Enabling 32-bit application Mode in IIS7</title><link>http://forums.iis.net/p/1160640/1915821.aspx#1915821</link><pubDate>Thu, 03 Sep 2009 22:35:38 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1915821</guid><dc:creator>hamdim</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;I have a large number of&amp;nbsp;applications hosted on a Windows 2003 32-bit OS server , which I&amp;#39;m&amp;nbsp;migrating to IIS7 on a Windows 2008 64-bit new server. Some of these applications are using a 32-bit DLL and that&amp;#39;s why I enabled 32-bit application mode for the application pool in order to get them run correctly , otherwise I&amp;#39;m getting an error...&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;cannot get&amp;nbsp;a 64-bit version of this DLL&lt;/p&gt;
&lt;p&gt;What benefit would I loose if I run those applications in 32-bit mode instead of using the default 64-bit mode ?&lt;/p&gt;</description></item><item><title>Error Starting New AppPool</title><link>http://forums.iis.net/p/1160550/1915442.aspx#1915442</link><pubDate>Tue, 01 Sep 2009 15:24:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1915442</guid><dc:creator>lapidarynewbie</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;Just added a new ApplicationPool in preparation for migrating an IIS 6.0 site&amp;nbsp;to and IIS 7.0 site&amp;nbsp;but it will not start. Getting the error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;quot;The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8.)&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Being fairly new to IIS 7.0 and not having done 6 -&amp;gt; 7 migrations, I&amp;#39;m wondering what this is about and how it can be resolved. (And both anonymous and Windows authentication are enabled.)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Many thanks in advance for any help you can give!&lt;/p&gt;</description></item><item><title>Help with backend failover cluster SPN delegation.</title><link>http://forums.iis.net/p/1160309/1914575.aspx#1914575</link><pubDate>Tue, 25 Aug 2009 16:30:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914575</guid><dc:creator>Kapn.K</dc:creator><cs:applicationKey>web_farms--1</cs:applicationKey><description>&lt;p&gt;I have 2 network names. 1 for the cluster and one for the file server resource. When I configure the account, that runs app pools on my nlb, to delegate to the host and cif&amp;#39;s service(cluster attached to san), I use the file server name(b/c that&amp;#39;s what I specify in IIS file location), right? The person that built the cluster did so w/o creating the computer objects for the cluster name and file server name(we don&amp;#39;t have permissions to create the accounts but I can work with the people that do). Can I just create the file server name and spn&amp;#39;s for that name and give permission to the cluster service account? Or do I need to create the cluster name object as well?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;</description></item><item><title>Problems recycling Application Pool from codebehind</title><link>http://forums.iis.net/p/1160096/1913790.aspx#1913790</link><pubDate>Mon, 17 Aug 2009 15:39:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1913790</guid><dc:creator>mjepson</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am trying to recycle an application pool from code. This is needed, because resource files are altered using a CMS for the website, which will only show after the app pool is recycled.&lt;/p&gt;&lt;p&gt;I have found the code at http://www.leandrodg.com.ar/blog/2008/02/find-and-recycle-current-application-pool-programmatically-for-iis-6/ to be helpful, but it keeps confronting me with the following:&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Acces is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) &lt;/p&gt;&lt;p&gt;The application pool is running on a user account, so we can use the login for access to the SQL server using integrated security. I have tried adding the user to the administrators group and Super Users group, with no success.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any idea how I can recycle the app pool from code or how I can get my code to work (i.e. what permissions do I set and how).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>