Dev platform: VS 2013, MVC 5, IIS Express 7.5.
Problem: when I edit javascript on the fly and press F5 to refresh the screen, IIS Express processes the application pool for no apparent reason. And since I load some assemblies during application startup, this causes an error:
The process cannot access the file 'C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ root \ 34d1a25b \ a6535eb1 \ Module1.dll' because it is being used by another process.
which is logical. But why does IIS Express recycle the application pool?
I tried to track the cause, according to Scott Gu , but the error is that the viewer is nonsense again:
Description for event id 0 from .NET Runtime source could not be found. Either the component that raises this event is not installed on your local computer or the installation is damaged. You can install or repair the component on the local computer.
If the event occurred on another computer, the displayed information should have been saved with the event.
The following information was included in the event: _shutDownMessage = Change in App_Offline.htm HostingEnvironment initiated shutdown Change in App_Offline.htm Hosting Environment caused shutdown Change in App_Offline.htm
_shutDownStack = at System.Environment.GetStackTrace( e, FileInfo) System.Environment.get_StackTrace()... System.Threading.ThreadPoolWorkQueue.Dispatch() System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
, /
, ,
_shutDownMessage = App_Offline.htm Environment App_Offline.htm
stackoverflow, this , , - ? ?