What can stop IIS7 from restarting an ASP.NET app when uppdating a dll in the bin folder?
- by Carl Björknäs
We're running ASP.NET 2.0 on MS Server 2008 and IIS 7. During the last releases the app pool hasn't automatically been restarted after changes in the bin folder. It works like a charm on our test server but not on the live server. The site is browsable but runs with the logic of the old version of the updated dll.
One of the changes we have done lately is that one of the dll:s in the bin folder consists of other dlls that have been merged with ILMerge. Interop.ADODB.dll and Interop.CDO.dll is included in the merged dll. It is the user dll of the merged dll that is updated.
What can possibly hinder IIS from restarting the app pool although a file has changed in the bin folder?