| Author |
Message |
sarvesh
Joined: 09 Aug 2011 Posts: 1
|
Posted: Tue Aug 09, 2011 10:19 am Post subject: w3wp.exe crashes while profiling ASP.NET MVC web application |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Tue Aug 09, 2011 1:16 pm Post subject: |
|
|
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). _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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