<?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>Configuration &amp; Scripting</title><link>http://forums.iis.net/1034.aspx</link><description>Use this forum to get assistance with understanding, editing, or using the IIS metabase including automating with ADSI or WMI</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: dll being cached by IIS</title><link>http://forums.iis.net/thread/1878514.aspx</link><pubDate>Fri, 05 Sep 2008 09:49:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1878514</guid><dc:creator>WenJun Zhang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1878514.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1034&amp;PostID=1878514</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;IIS 7.0 no longer&amp;nbsp;uses metabase so the adsutil.vbs&amp;nbsp;script&amp;nbsp;will not work. I&amp;#39;m not aware a supported way to disable in memory caching of ISAPI on IIS7. What I can suggest is recycling your app&amp;#39;s application pool with something like appcmd on IIS7. This&amp;nbsp;may address your goal to clear up the cache.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>dll being cached by IIS</title><link>http://forums.iis.net/thread/1877995.aspx</link><pubDate>Fri, 29 Aug 2008 17:44:41 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1877995</guid><dc:creator>theadmirableone</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1877995.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1034&amp;PostID=1877995</wfw:commentRss><description>&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have already posed this question elsewhere and AnilR does not seem to be able to answer my question.&amp;nbsp; I was hoping someone could.&lt;/p&gt;
&lt;p&gt;My question is a rarely discussed topic.&amp;nbsp; It involves dll&amp;#39;s in the GAC that the IIS caches.&amp;nbsp; The problem is this:&amp;nbsp; with IIS 5.1, I can turn off the caching of the .dll by IIS 5.1, (which only returns a hard coded string), by executing this line from the command prompt: &amp;quot;cscript.exe adsutil.vbs set w3svc/1/root/myWebApp/cacheisapi 0&amp;quot; (without quotes).&lt;/p&gt;
&lt;p&gt;If I do this, and &amp;quot;reset&amp;quot;&amp;nbsp;IIS 5.1, I have the ability to replace the same .dll with the same name, version and build over and over.&amp;nbsp; The only difference would be that the .dll would return different hard coded string.&amp;nbsp; By this I mean that the calling web application would then retrieve a different string after calling the funtion within the .dll.&amp;nbsp; This works fine.&lt;/p&gt;
&lt;p&gt;If I go and rebuild the .dll to return a different hard coded string and then replace it again in the GAC and then call the same web app, (&amp;quot;without&amp;quot; reseting IIS), the web app will get the new string too.&amp;nbsp; But this only works&amp;nbsp;if &amp;quot;cacheisapi&amp;quot; in above command is turned off.&amp;nbsp; If I don&amp;#39;t turn the &amp;quot;cacheisapi&amp;quot; off, then the IIS 5.1&amp;nbsp;caches the .dll.&amp;nbsp; This prevents the calling web application from retrieving the correct string, even though the .dll has been modified and readded to the GAC.&amp;nbsp; This is because the IIS is referring to the IIS cache.&lt;/p&gt;
&lt;p&gt;The question is, how to replicate the same line:&amp;nbsp; &amp;quot;cscript.exe adsutil.vbs set w3svc/1/root/myWebApp/cacheisapi 0&amp;quot; (without quotes), for IIS 7.&amp;nbsp; This line does not seem to have an effect on the IIS 7?&lt;/p&gt;
&lt;p&gt;Please help.&lt;/p&gt;
&lt;p&gt;Thanks, theadmirableone&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>