I am using API's of dotTrace 3.1 version in Windows 7, 64-bit version. When I start the application I get the error ".NET Runtime version 2.0.50727.5448 - Failed to CoCreate profiler" in windows event viewer (no exception in code) and profiling stops immediately. This is happening randomly meaning few times it succeeds and mostly it fails. But the same piece of code works very well in Windows XP.
Anyone knows why this error occurs and how to fix this?