ASP.NET MVC app restarts itself
.net, asp.net, asp.net-mvc, log4net, nservicebus
Solution
are you using log4net in your application at all? in some of our environments we had log4net logging files to the same directory as the app (i.e. bin directory) and it would cause the application to restart. moving the log files out of that directory resolved the issue.
Problem
We are encountering an issue where our ASP.NET MVC app is restarting for an unknown reason. The cause of the shut down is "A subdirectory in the Bin application directory was changed or renamed." The file in question turned out to be C:\Users\Jason\AppData\Local\Temp\Temporary ASP.NET Files\root\f691a68c\a1593a1e\hash\hash.web. Something noteworthy is that we are starting up a NServiceBus client in Application_Start and if we comment out that line, our web app doesn't restart itself. The the questions are: 1) What does hash.web do and 2) Is this issue NServiceBus related?