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?

0
1 comment

Dear rkubow,

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

http://msdn.microsoft.com/en-us/library/windows/desktop/ms724475(v=vs.85).aspx


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:
http://youtrack.jetbrains.com/_persistent/screenshot1.png?file=74-116111&v=2&c=true&rw=666&rh=335
WBR,
Mikhail Pilin

0

Please sign in to leave a comment.