<?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>IIS7 - Configuration &amp; Scripting</title><link>http://forums.iis.net/1046.aspx</link><description>Forum aimed at understanding the system.Webserver or system.ApplicationHost using a text editor or scripting</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: .dll 's that are cached by IIS from the GAC</title><link>http://forums.iis.net/thread/1878168.aspx</link><pubDate>Tue, 02 Sep 2008 15:12:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1878168</guid><dc:creator>Zhao Ji Ma - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1878168.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1878168</wfw:commentRss><description>&lt;p&gt;Hi theadmirableone,&lt;/p&gt;&lt;p&gt;Is it &lt;a href="http://forums.iis.net/p/1067723/1878073.aspx#1878073"&gt;http://forums.iis.net/p/1067723/1878073.aspx#1878073&lt;/a&gt; ?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>.dll 's that are cached by IIS from the GAC</title><link>http://forums.iis.net/thread/1877994.aspx</link><pubDate>Fri, 29 Aug 2008 17:31:28 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1877994</guid><dc:creator>theadmirableone</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1877994.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1877994</wfw:commentRss><description>&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 you 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 that 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).&amp;nbsp; If I do this, and reset the IIS 5.1, I have the ability to replace the same .dll with the same name, version and build.&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&lt;/p&gt;
&lt;p&gt;If I go and rebuild the .dll to returna different hard coded string and then replace it again in the GAC and then call the same web app, (without 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 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;</description></item></channel></rss>