How can we help you today? How can we help you today?

COMException when using "Profile Performance" in VS 2008

Hi,

I can start the Performace Profiler without problems directly, but when I start it via "ANTS 5 -> Profile Performance" inside VS 2008, I get the following error:

Exception while performing Profile &Performance
System.Runtime.InteropServices.COMException (0x8000FFFF): Schwerwiegender Fehler (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at EnvDTE.Project.get_ConfigurationManager()
at a.c(Project )
at RedGate.Profiler.AddIn.Commands.ProfileCommand.get_LaunchArguments()
at RedGate.Profiler.AddIn.Commands.ProfileCommand.RunCommand()
at RedGate.Profiler.AddIn.Five.Connect.Exec(String commandName, vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled)

If you need further information, let me know.

Thanks!
JPA
0

Comments

3 comments

  • Chris.Allen
    Hmm, Catastrophic failure from the add-in.

    Can you try replacing the existing addin dll with this please:

    ftp://support.red-gate.com/Patches/ANTS ... .AddIn.dll
    Chris.Allen
    0
  • JPA
    Hi,

    this didn't help, but I think I found the problem.
    This error only occurs when the startup project isn't a C#-project but an exe file.
    If I set a C# project as startup (with the exe as "start external progam" in the debug tab in the project properties) then the profiler works perfectly.

    Most of the time I create libraries and for debugging I just add the application exe as project. Perhaps you should fix that in the profiler so it also works that way.
    JPA
    0
  • Chris.Allen
    Thanks for finding the solution. I will suggest this enhancement to our guys.
    Chris.Allen
    0

Add comment

Please sign in to leave a comment.