How can we help you today? How can we help you today?
mineson

Activity overview

Latest activity by mineson

I just tried the code in VS 2008 and got a similar error. I think there is a COM class that needs to be registered with regsrv32. Without that, you're scanning the registry and there are quite a few entries for a standard developer's rig. I have VS 2005 installed from SQL Server 2005. I ran it, disabled the option, but still had the issue in VS 2008. I fixed the issue by setting all "justmycode" reg keys to 0, the following were still still set to 1. HKEY_USERS\{MYSID}\Software\Microsoft\Microsoft SQL Server\100\Tools\Shell\AD7Metrics\Engine\{00000000-0000-0000-0000-000000000000} HKEY_USERS\{MYSID}\Software\Microsoft\Microsoft SQL Server\100\Tools\Shell\Debugger HKEY_USERS\{MYSID}\Software\Microsoft\Microsoft SQL Server\90\Tools\Shell\Debugger HKEY_USERS\{MYSID}\Software\Microsoft\VisualStudio\10.0\AD7Metrics\Engine\{00000000-0000-0000-0000-000000000000} HKEY_USERS\{MYSID}\Software\Microsoft\VisualStudio\8.0\AD7Metrics\Engine\{00000000-0000-0000-0000-000000000000} HKEY_USERS\{MYSID}\Software\Microsoft\VSA\9.0\AD7Metrics\Engine\{00000000-0000-0000-0000-000000000000} Exception: System.Runtime.InteropServices.COMException (0x8002801D): Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) at EnvDTE80.DTE2.get_Properties(String Category, String Page) at MyMacros.Module1.CheckEnableJustMyCode() Version Info: Version of Reflector is 6.1.0.11 Microsoft Visual Studio 2008 Version 9.0.30729.1 SP Microsoft .NET Framework Version 3.5 SP1 Installed Edition: Professional Microsoft Visual Basic 2008 91605-270-6286337-60423 Microsoft Visual Basic 2008 Microsoft Visual C# 2008 91605-270-6286337-60423 Microsoft Visual C# 2008 Microsoft Visual C++ 2008 91605-270-6286337-60423 Microsoft Visual C++ 2008 Microsoft Visual Studio 2008 Tools for Office 91605-270-6286337-60423 Microsoft Visual Studio 2008 Tools for Office Microsoft Visual Studio Tools for Applications 2.0 91605-270-6286337-60423 Microsoft Visual Studio Tools for Applications 2.0 Microsoft Visual Web Developer 2008 91605-270-6286337-60423 Microsoft Visual Web Developer 2008 Crystal Reports AAJ60-G0MSA4K-68000CF Crystal Reports Basic for Visual Studio 2008 Dundas Chart for ASP.NET 6.2 Dundas Chart for ASP.NET Professional Edition v6.2 Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB944899) KB944899 Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947171) KB947171 Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947180) KB947180 Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB948127) KB948127 Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB952241) KB952241 Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB953256) KB953256 Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB945282) KB945282 Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946040) KB946040 Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946308) KB946308 Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946344) KB946344 Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946581) KB946581 Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947173) KB947173 Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947540) KB947540 Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947789) KB947789 Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB945140) KB945140 Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB947888) KB947888 SQL Server Analysis Services Microsoft SQL Server Analysis Services Designer Version 10.0.1600.22 SQL Server Integration Services Microsoft SQL Server Integration Services Designer Version 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) SQL Server Reporting Services Microsoft SQL Server Reporting Services Designers Version 10.0.1600.22 .NET Reflector Visual Studio add-in that integrates .NET Reflector into Visual Studio to allow you to seamlessly debug into third-party code and assemblies, even if you don't have the source code for them. Visit www.red-gate.com for more information. Copyright (c) 2009-2010 Red Gate Software Inc. / comments
I just tried the code in VS 2008 and got a similar error. I think there is a COM class that needs to be registered with regsrv32. Without that, you're scanning the registry and there are quite a ...
0 votes