Error profiling an ASP.Net application
adrianbanks
Posts: 21
When I press the Go button to start profiling an ASP.Net application, I get an error message:
The entry in the event log is:
I'm using version 1.30 build 147 and I have version 1.1 and 2.0 of the .Net Framework installed.
How do I fix this?
There was a problem starting the profiler. Check that the ANTS Profiler service and IIS are running.
Exception from HRESULT: 0x80040202
The entry in the event log is:
System.Runtime.InteropServices.COMException (0x80040202): Exception from HRESULT: 0x80040202 at System.Runtime.InteropServices.UCOMIConnectionPoint.Advise(Object pUnkSink, Int32& pdwCookie) at SHDocVw.DWebBrowserEvents2_EventProvider.add_OnQuit(DWebBrowserEvents2_OnQuitEventHandler ) at SHDocVw.InternetExplorerClass.add_OnQuit(DWebBrowserEvents2_OnQuitEventHandler ) at RedGate.Profiler.UI.Browser..ctor() at RedGate.Profiler.UI.frmMain.ᐐ() at RedGate.Profiler.UI.frmMain.ᐑ() at RedGate.Profiler.UI.frmMain.ᐁ(IAsyncResult )
I'm using version 1.30 build 147 and I have version 1.1 and 2.0 of the .Net Framework installed.
How do I fix this?
Comments
I've got around it for now by reinstalling IE.
This could be. If you have a newer version (2.1+), then ANTS tries to re-register the InternetExplorer dll automatically and if it can't, it yields a slightly different error message.
If you have a lesser version, you need to run regsvr32 shdocvw.dll.