Can't register x86 core, Tfs2012 problem

I am trying to run dotCover 2.2 using Tfs2012 and i got this error:
Standard Output InvokeDotCover: Can't register x86 core: The classes registry doesn't contain profiler COM object.

Standard Output InvokeDotCover: Can't register x64 core: The classes registry doesn't contain profiler COM object...

When i run dotCover using cmd everything works fine. Any ideas?

1 comment

Dear rkubow,

This error appears only when you run our profiler under non-interactive user.

Class registration and file name extension information is stored under both the HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER keys. The HKEY_LOCAL_MACHINE\Software\Classes key contains default settings that can apply to all users on the local computer. The HKEY_CURRENT_USER\Software\Classes key contains settings that apply only to the interactive user. The HKEY_CLASSES_ROOT key provides a view of the registry that merges the information from these two sources. HKEY_CLASSES_ROOT also provides this merged view for applications designed for previous versions of Windows.

Processes running in a security context other than that of the interactive user should not use the HKEY_CLASSES_ROOT key with the registry functions.

Our profiler has ability to run in registry free mode (only CLR v4.0 and greater), but it just requires from you to garantee the application architecture. Please press Shift+Ctrl+Alt+F11 to enter to expert mode in profiler UI and select registry free mode as shown on picture:
Mikhail Pilin


Please sign in to leave a comment.