8

I'm trying to profile a .NET C# web application on my local machine. To do so, I've loaded the solution in Visual Studio 2013 and selected dotTrace -> Profile Startup Project from the main Visual Studio menu.

That fires up dotTrace, but when the service starts, I can't use any of the dotTrace buttons, they're all grayed out. See below:

enter image description here

My application is running under IIS Express is at http://localhost:49824. I'm using dotTrace 5.5.2 and Visual Studio 2013. Anyone know why I can't profile my application?

Dylan Corriveau
  • 2,561
  • 4
  • 29
  • 36
Scott
  • 13,735
  • 20
  • 94
  • 152

2 Answers2

8

Shutdown IIS express from the task bar before running "Profile Application..." or "Profile Startup Project"

jbtule
  • 31,383
  • 12
  • 95
  • 128
0

This happens in IIS if you have not started your application. I attach to w3wp.exe, and the buttons are greyed out. But I navigate to the URL of my application and they are enabled.

xmorera
  • 1,933
  • 3
  • 20
  • 35