ANTS 8.5 repeatedly crashing when profiling on IIS

Code profiling for .NET developers.

ANTS 8.5 repeatedly crashing when profiling on IIS

Postby MrCochese » Thu Feb 27, 2014 11:31 am

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?
Posts: 1
Joined: Thu Feb 27, 2014 10:45 am

Postby james.billings » Fri Feb 28, 2014 2:18 pm

I'd agree that it looks like there's something either in your application or the environment that the profiler doesn't like.

The first suggestion would be to ensure you've tried all the troubleshooting steps relevant to IIS and crashes in general as these help in a lot of cases. You'll find those links here and here

Often these things come down to a simple permissions problem.

If none of that helps, (or if the attach to process option works but not line/method level) it's likely that some component of your application doesn't like the instrumenting profiling methods. Sometimes we can work around these, sometimes not... post back if you're still stuck and we can get in touch directly to help out further.
Posts: 1121
Joined: Wed Jun 16, 2010 10:10 am
Location: Red Gate

Return to ANTS Performance Profiler 8

Who is online

Users browsing this forum: No registered users and 0 guests