Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Sat Sep 08, 2007 4:24 am Post subject: INFO: Registering/unregistering and debugging namespace extensions on Windows Vista or later OS |
|
|
Registration/Unregistration
Windows Vista or later OS has a new feature called UAC (User Account Control). Under this feature processes normally run with non-administrator privileges even though the user may have logged in the system with the Administrator account and therefore registering/unregistering the namespace extension using RegisterExtension.exe (or RegisterExtensionDotNet20.exe) can fail. The solution is to either turn off UAC on the system or register under elevated administration-mode privileges as follows :
Right click on Command Prompt in Accessories and select 'Run as Administrator' menu item, then run the RegisterExtensionDotNet20.exe utility in the command window.
Debugging
On Windows Vista or later OS, namespace extensions cannot be debugged using F5 (setting explorer.exe as the external application to debug).
Instead, to debug extensions, start a new instance of Windows Explorer (explorer.exe) and attach to the process using Debug-->Attach. |
|