It looks like the recent Microsoft updates broke ASP.NET / IIS on my development machine. Trying to launch any website hosted on my local IIS server returned a 500 error and the following error message: Calling LoadLibraryEx on ISAPI filter “C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll” failed; And checking the event log just returned a similar error message: ISAPI Filter ‘c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll’ could not be loaded due to a configuration problem. The current configuration only supports loading images built for a . . .
I’ve just spent a good couple of hours trying to debug what appeared to be a corrupt session in NHibernate. The unit tests would work, isolating the NHibernate code causing the problem worked, but within the application when calling Session.Save() the code always complained about a corrupt session. Finally, after much investigation and head-scratching, the problem was traced to an earlier call to AutoMapper. This code was mapping an ID in the source to a . . .