Issue with ASP.Net application using IIS 7.0

Code profiling for .NET Developers

Issue with ASP.Net application using IIS 7.0

Postby gupta.happyhimanshu » Wed Jun 23, 2010 12:59 pm


I am trying to use ANTS Performance Profiler 6, for my application which is deployed over IIS 7.0.

As soon as I start the Profiler, the status bar shows the following messages:

Initializing -> Stopping W3WP services -> Profiling Complete

A browser window with the application URL opens up during profiler initialization, but since W3WP service does not start successfully, a HTTP 404 error is displayed to the user.

Would really appreciate any inputs on this.
Posts: 1
Joined: Wed Jun 23, 2010 12:41 pm

Postby AndrewH » Wed Jun 23, 2010 2:42 pm

Hmm, that's odd. The profiler actually won't show the browser window until it sees that it can connect to the port that you've told it to use, so it's accepting at least one connection.

One possibility is that you're seeing an issue with IE that I've occasionally seen. Sometimes (in circumstances that are unclear to me), IE will let you close all of its windows but will continue to run in the background. This also changes its behaviour when opening new windows: they get immediately closed and then redisplayed by the version in the background. To the profiler, this looks like you've deliberately closed the session and it then stops profiling. The solution is to use task manager to kill all instances of iexplore before profiling the application.

Apart from that, I'm not sure what could cause this particular behaviour. Is there any indication in the event log as to why the instance of w3wp that the profiler started stopped working? Does picking a different port to profile on make any difference?
Andrew Hunter
Software Developer
Red Gate Software Ltd.
Posts: 118
Joined: Thu Aug 17, 2006 2:44 pm

Postby nick.maidment » Wed Jun 23, 2010 4:31 pm

In addition, I've just sent you an email, please let me know if you get it.
Posts: 74
Joined: Fri Jan 29, 2010 12:55 pm

Postby dbre2 » Wed Jun 30, 2010 10:02 pm

I"m also experiencing this issue. Switching to a different port does not change the behavior...OS is Server 2008r2 running IIS 7, and using a deployed wcf application. It seems like the profiling stops while IE is still loading up, by the time the browser is visible, the profiling session is complete and IE returns a "cannot display this webpage" message.
Posts: 1
Joined: Wed Jun 30, 2010 9:57 pm

Postby joefeser » Wed Jul 21, 2010 8:46 pm

I just started experiencing the same issue today. The only thing that changed was I changed the serial number.
Posts: 11
Joined: Mon Nov 03, 2008 2:56 pm
Location: Greenville, SC

Postby joefeser » Wed Jul 21, 2010 9:17 pm

If I turn off UAC it works fine. I can send a log if you would like.
Posts: 11
Joined: Mon Nov 03, 2008 2:56 pm
Location: Greenville, SC

Postby joefeser » Wed Aug 04, 2010 2:36 pm

Is anyone going to respond from RedGate?
Posts: 11
Joined: Mon Nov 03, 2008 2:56 pm
Location: Greenville, SC

Postby Brian Donahue » Wed Aug 04, 2010 3:18 pm


Sorry, we do not typically respond to posts appended to issues that have already been dealt with. At any rate, this issue doesn't have one cause and AFAIK usually indicates that the presence of the profilercore.dll crashed the web application, and there are as many reasons for this as there are stars in the sky.

If you could please send any details you have via email to support @, we should be able to go down the path of debugging the web application.
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to ANTS Performance Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests