Red Gate forums :: View topic - w3wp.exe crashes while profiling ASP.NET MVC web application
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

w3wp.exe crashes while profiling ASP.NET MVC web application

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
sarvesh



Joined: 09 Aug 2011
Posts: 1

PostPosted: Tue Aug 09, 2011 10:19 am    Post subject: w3wp.exe crashes while profiling ASP.NET MVC web application Reply with quote

Hi,

I am trying to profile an ASP.NET MVC web application. I have hosted the application in IIS.
I have tried to profile using 1) Original Port as well as 2) Unused port
As soon as the Sign-In page is displayed my worker process crashes with message
"An unhandled win32 exception occured in w3wp.exe"

I found following entry in the Profiler log files

System.InvalidOperationException: Counter is not single instance, an instance name needs to be specified.
at System.Diagnostics.PerformanceCounter.NextSample()
at (Object )
at ???.???.NextSample()

Any help or support is appreciated.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6643

PostPosted: Tue Aug 09, 2011 1:16 pm    Post subject: Reply with quote

Sorry to say, the ANTS Profiler logs are not the place to look. Basically what can happen is that Profiler's core.dll loads into the application and either changes the running environment so it throws an error or introduces an error so the process crashes. There is zero supportability when dealing with crashes in the application being profiled. We have to get a stack dump from the app when it fails, brew up a pot of coffee, and spend a pleasant half a day on crash dump analysis.

So I guess the question is, how good are you with adplus?

Download ftp://support.red-gate.com/utilities/autodumper.zip and extract to disk. On the command line, run cscript adplus.vbs -crash -pn w3wp. Start up Profiler and attempt to profile your application.
It should make a crash dump in a subfolder of the adplus folder.

If it works, let me know if you get a dump and we can set up an FTP site for you to upload it to, because it will be a supersize file (100-200MBs).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group