No CLR v4 version. loaded into the target process. - Error CLR Profiler

I am trying to profile my application using CLR Profiler. I downloaded the latest profiler from http://www.microsoft.com/download/en/details.aspx?id=16273 . I tried to profile the application by attaching it. But I always get such a message.

enter image description here

I tried the clrver command to determine the version of the CLR, and it returns v4.0.30319. How can I fix this error?

+7
source share
1 answer

I had the same problem, but in the following context: I was running the x86 application on an x64 system, and I was trying to connect the x64 CLR Profiler to the x86 application.

As soon as I connected to the process using the x86 CLR profiler, it worked fine.

+8
source

All Articles