<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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/"><channel><title>ASP.NET File Change Notifications, exactly which files and directories are monitored?</title><link>http://blogs.msdn.com/tmarq/archive/2007/11/02/asp-net-file-change-notifications-exactly-which-files-and-directories-are-monitored.aspx</link><description>Perhaps one of the most loved and hated features of ASP.NET is the ability to detect file changes and automatically recompile or reconfigure the application. In development scenarios it’s very nice because you can access the application in a browser at</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: ASP.NET File Change Notifications, exactly which files and directories are monitored?</title><link>http://blogs.msdn.com/tmarq/archive/2007/11/02/asp-net-file-change-notifications-exactly-which-files-and-directories-are-monitored.aspx#5837145</link><pubDate>Fri, 02 Nov 2007 17:22:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5837145</guid><dc:creator>Christopher_G_Lewis</dc:creator><description>&lt;p&gt;Hate to say, your color scheme makes reading this *very* hard.&lt;/p&gt;
</description></item><item><title>re: ASP.NET File Change Notifications, exactly which files and directories are monitored?</title><link>http://blogs.msdn.com/tmarq/archive/2007/11/02/asp-net-file-change-notifications-exactly-which-files-and-directories-are-monitored.aspx#5843413</link><pubDate>Fri, 02 Nov 2007 22:57:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5843413</guid><dc:creator>tmarq</dc:creator><description>&lt;p&gt;Do you think the contrast is the problem (text should be brighter, background darker), or is it that you do not like light text on a dark background? &amp;nbsp;I personally find the color scheme as easy to read as the more traditional black text on a white background. &amp;nbsp;Thanks for the feedback, and I will look into making this easily readable for everyone.&lt;/p&gt;
</description></item><item><title>When to restart IIS when making changes to your application</title><link>http://blogs.msdn.com/tmarq/archive/2007/11/02/asp-net-file-change-notifications-exactly-which-files-and-directories-are-monitored.aspx#8945951</link><pubDate>Fri, 12 Sep 2008 09:39:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8945951</guid><dc:creator>IIS 7.0 Server-Side</dc:creator><description>&lt;p&gt;Knowing when to restart IIS to pick up various types of changes to your application has traditionally&lt;/p&gt;
</description></item><item><title>你是否知道:删除站点下的任意目录导致站点重启(Session丢失)及解决办法</title><link>http://blogs.msdn.com/tmarq/archive/2007/11/02/asp-net-file-change-notifications-exactly-which-files-and-directories-are-monitored.aspx#9414093</link><pubDate>Thu, 12 Feb 2009 08:15:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9414093</guid><dc:creator>阿不</dc:creator><description>&lt;p&gt;也许你知道，修改站点的某些特定文件和目录会导致整个站点重启或者重新编译。也许你不注意，你不会知道删除或重命名站点下的任意目录，会导致整个站点重启。这个问题其实是很多Session丢失的根源，比如《关于...&lt;/p&gt;
</description></item><item><title>re: ASP.NET AppDOmain getting unloaded and application crashing.</title><link>http://blogs.msdn.com/tmarq/archive/2007/11/02/asp-net-file-change-notifications-exactly-which-files-and-directories-are-monitored.aspx#9876541</link><pubDate>Thu, 20 Aug 2009 10:23:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9876541</guid><dc:creator>arpan_gutgutia</dc:creator><description>&lt;p&gt;We have looked at the conditions that you have mentioned for the AppDomina to Restart. &lt;/p&gt;
&lt;p&gt;We have a ASP.Net 1.1 application and we are getting the &lt;/p&gt;
&lt;p&gt;[AppDomainUnloadedException]: Attempted to access an unloaded AppDomain.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Threading.Thread.SetCompressedStackInternal(IntPtr unmanagedCompressedStack)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Threading.Thread.SetCompressedStack(CompressedStack stack)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Xml.XmlTextReader.CreateScanner()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Xml.XmlTextReader.Init()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Xml.XmlTextReader.Read()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Xml.XmlReader.MoveToContent()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Web.Configuration.XmlUtil.OpenXmlTextReader()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Web.Configuration.HttpConfigurationRecord..ctor(String filename, HttpConfigurationRecord parent, Boolean inheritable, String path, String mappedPhysicalPath)&lt;/p&gt;
&lt;p&gt;Description : An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.&lt;/p&gt;
&lt;p&gt;Parser Error Message: The XML file c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config could not be loaded. &amp;nbsp;Attempted to access an unloaded AppDomain.&lt;/p&gt;
&lt;p&gt;We added a code snippet in the Global.ASAX n Application_End to log the failure event in the Event viewer.&lt;/p&gt;
&lt;p&gt;The message logged was:&lt;/p&gt;
&lt;p&gt;_shutDownMessage=Overwhelming Change Notification in F:\Data\WebSites\DiffEx\DiffEx_Webservice&lt;/p&gt;
&lt;p&gt;Change in GLOBAL.ASAX&lt;/p&gt;
&lt;p&gt;CONFIG change&lt;/p&gt;
&lt;p&gt;_shutDownStack= &amp;nbsp; at System.Environment.GetStackTrace(Exception e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Environment.GetStackTrace(Exception e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Environment.get_StackTrace()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Web.HttpRuntime.ShutdownAppDomain()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Web.HttpApplicationFactory.OnAppFileChange(Object sender, FileChangeEvent e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Web.DirectoryMonitor.OnFileChange(FileAction action, String fileName)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Web.DirMonCompletion.OnFileChange(FileAction action, String fileName).&lt;/p&gt;
&lt;p&gt;We were doing continuous logging using Log4Net in the application root directory and understood that this could be causing the issue to occur. We moved the logging outside this directory and the problem seemed to have gone away. &lt;/p&gt;
&lt;p&gt;This application was working with this logging for a long time, but the question why is issue coming up now.&lt;/p&gt;
&lt;p&gt;We have done some changes in the code and that was nothing to do with the logging, one some performance changes that take a bit more memory than usual. &lt;/p&gt;
&lt;p&gt;Please suggest, any help will be appreciated. &lt;/p&gt;
</description></item></channel></rss>