I'm having issues while trying to profile a .Net 3.5 MVC application that's running on IIS 7. I need to keep the default ports, as SSH is required, so the application is restarted upon profiling. Profiling runs fine during the application start phase, showing IoC bootstrapping and NHibernate setup happening, but at a certain point the profiler is crashing with the message:
Unhandled exception at 0x000000018005030A (RedGate.Profiler.Core.dll) in w3wp.exe: 0xC0000005: Access violation reading location 0x000000000000005C.
I expect there's something in the solution that the profiler does not agree with, but I'm struggling to find any additional information that might help. Has anyone seen this error?