VSProfiling: Problem collecting performance counters for Instrumentation

Locked VSProfiling: Problem collecting performance counters for Instrumentation

  • quinta-feira, 28 de junho de 2012 13:09
     
     

    I have an MS Excel 2010 add-in using VSTO to create complex reports connecting to different data sources like OLAP,OLTP.

    I am trying to do profiling for this application using Dotnet profiler, I have created a new performance session and  selected  the approach “Instrumentation” and then launched performance wizard and selected “Instrumentation” as profiling type then choose dynamic link library as my target for profiling and provided full path for the application dll and selected  Excel.exe (%systemdrive\Programe Files(x86)\Microsoft Office\Office14\Excel.exe) as executable. Started profiling and executed few scenarios and then stopped profiling. But  in the output window, I see the message “File contains no data buffers. . Analysis failed” (Please find the screen shot for the same).

    Note: I am running this in a 64-but machine with (Windows 7, 64-bit OS and Office 2010 64-bit).

    I have tried the following things to resolve the issue but no luck.

    1.  In VS tools->options->debugging->symbols and checked Microsoft symbol server also added a folder for application specific PDBs and selected it. Created a folder c:\symbols to cache symbols.
    2. From VS Command prompt : corflags.exe [assembly] /32BIT-   (This I did to clear the 32 bit flag)

Todas as Respostas

  • sexta-feira, 29 de junho de 2012 11:30
    Moderador
     
     Respondido

    Hi Vamshidhar,

    Thank you for posting in the MSDN forum.

    Could you share the detailed Output message in Performance window?

    “File contains no data buffers. Analysis failed”

    Maybe you could try to profile our binaries through Command Prompt. In Instrumentation mode, you could use vsinstr.exe command. For detailed steps, see http://msdn.microsoft.com/en-us/library/aa985627.aspx. Hope it could help.

    Have a nice weekend,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

  • sexta-feira, 6 de julho de 2012 03:07
    Moderador
     
     

    Hi Vamshidhar,

    I mark the answer, please check it. If you need further assistance, please feel free to let us know.

    Have a nice weekend,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us