IE crashes when starting ANTS

Code profiling for .NET Developers

Moderators: Luke Jefferson, StephenC, Alex.Davies, AndrewH, melvyn.harbour, Laura Morley

IE crashes when starting ANTS

Postby Donovan » Wed Apr 13, 2011 10:54 am

Hi There,

I've been using ANTS for profiling my .NET Framework 4.0 webapplication (just ported from 2.0 to 4.0).

While in VS2008 (on .NET 2.0) ANTS works perfect.
Now in VS2010 (on .NET 4.0) it is crashed always, except when we use
the "Sample Method-Level timings" profiling mode, but it won't report anything: it seems like he's losing his threat(s) (using the build-in webserver of vs2010).

The exception that i found is the System.AccessViolationException, and it was thrown by the System.Reflection-namespace. I cannot find how I found out that it was in the Reflection-namespace, but it was.

Is there a solution for this?

Regards

Donovan
Donovan
 
Posts: 3
Joined: Wed Apr 13, 2011 10:10 am

Postby Donovan » Wed Apr 13, 2011 1:17 pm

I have created a new WebApplication, without AJAX controls.

Only 1 page added, with a reference to a business object which return 2 objects. These are bind to a grid.

When Profiling, it seems like it's profiling the source of the webserver (see picture here: http://flic.kr/p/9yhxaq).

I can send my app if necessarry.

Regards

Donovan
Donovan
 
Posts: 3
Joined: Wed Apr 13, 2011 10:10 am

Postby Brian Donahue » Wed Apr 13, 2011 3:13 pm

It sounds like you're having that issue with AjaxControlToolkit. Deleting the PDB for that assembly usually fixes the problem.

http://www.red-gate.com/supportcenter/C ... 20Profiler
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Donovan » Thu Apr 14, 2011 12:06 pm

Brian,

I've created a new webapplication without any reference to AJAX controls.
It contains a page with a datagrid and retrieve it's data from a class, nothing more.

ANTS doesn't show anything from my application, only statements from the thread of the webserver. The result is exactly the same as my previous page: http://flic.kr/p/9yhxaq.

Hope you can find a solution for me for this problem.

Regards,

Donovan
Donovan
 
Posts: 3
Joined: Wed Apr 13, 2011 10:10 am

Postby tah9m9 » Thu Apr 14, 2011 2:46 pm

I too am having a this issue. Steps to recreate:

VS 2008:
File -> New -> Project
Project Types: Select Visual C# -> Web
Templates: Select ASP.NET Web Application
(Name left as "WebApplication1")

After solution loads:
Click ANTS -> Performance Profiler

Web server starts, IE starts, then "Internet Explorer cannot display the webpage" displays in IE, and the profiler stops the web server

ANTS Performance Profiler 6.2.0.13
tah9m9
 
Posts: 2
Joined: Thu Apr 14, 2011 2:38 pm

Postby Brian Donahue » Thu Apr 14, 2011 4:44 pm

I can guarantee this does not happen on each and every web application. But is is pretty unreliable in general. I'd contact support directly.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Brian Donahue » Fri Apr 15, 2011 4:24 pm

Donovan,

It looks like the website is being crashed by Profiler (very common) but we don't know why because the product doesn't have any feedback or logging in the core component that hooks into your application.

I will send instructions to debug the website via email.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby tah9m9 » Fri Apr 15, 2011 4:30 pm

I submitted a support request (F0046839). If a solution is found, please include me on its disclosure. Thank you.
tah9m9
 
Posts: 2
Joined: Thu Apr 14, 2011 2:38 pm

Postby Brian Donahue » Tue May 03, 2011 10:09 am

The outcome looks like a problem accessing a particular directory needed by a third-party component running in the website. I doubt anyone else would be having the same problem.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Performance Profiler 6

Who is online

Users browsing this forum: No registered users and 0 guests