This quandary occurs because the present user does not have the acceptable permissions for the following key in the Windows registry:
HKEY_CLASSES_ROOT\Component Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}
To resolve this problem, follow these steps:
- Log on to the computer with an account that is a member of the Administrators group on the local computer.
- Click Start, click Run, and then type regedt32 to start Registry Editor.
NOTE: On a computer that is running Windows NT 4.0 or Windows 2000, you must run Regedt32.exe to review and to set permissions in the Windows registry. On a computer that is running Windows XP, you can run either Regedt32.exe or Regedit.exe. - Locate and then click the following subkey:
HKEY_CLASSES_ROOT\Component Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}
- If your computer is running Windows NT 4.0 or Windows 2000, click Permissions on the Security menu.
If your computer is running Windows XP, right-click the key, and then click Permissions. - Click Advanced.
- Click to select the Inherit Permission from Parent Object check box, and then click Apply.
- Verify that all of the users or the groups who will be registering or using .NET assemblies through COM Interop have the following advanced permissions:
- Query Value
- Enumerate Subkeys
- Notify
- Read Control
To verify the permissions, double-click the user or the group. If any of the users or the groups do not have any of these permissions, click to select the Allow check box for the missing permissions.
To add additional users or groups to the list, click Add in the Advanced Settings dialog box. Typically, as long as the Users, the Power Users, and the Administrators in the group are present with the correct permissions, everything works correctly. - Close Registry Editor.
- Register the .NET assembly for COM Interop by using Microsoft Visual Studio .NET or the Regasm.exe utility.
Bookmarks