>I have a Web Service directory which contains Global.asax, Web.Config and my .asmx. Then, under it is the Bin directory with the DLL.
>
>On some occasions, I receive a hit and it forces IIS to start a new worker process by closing it immediately:
>
>CONFIG change
>HostingEnvironment initiated shutdown
>File Change Notification Error in \\MyNas\MyShare\WebService
>File Change Notification Error in
>HostingEnvironment caused shutdown
>
>I am trying to find out what is going on here.
Where is this being logged ? - odd that it says 'File Change Notification
ERROR'
In 'Advanced Settings' for the AppPool you can log 'Generate Recycle Event Log Entry / Application Pool Configuration Changed'
(You can also 'Disable Recycling for Configuration Changes' - but be sure that won't have other unwanted side effects)
Good explanation of IIS File monitoring here :
http://blogs.msdn.com/b/tmarq/archive/2007/11/02/asp-net-file-change-notifications-exactly-which-files-and-directories-are-monitored.aspxBit of code you can use to create your own log here :
http://chrismay.org/2009/04/02/asp-net-apps-recycling-because-of-fcn-issues/