Excepption when registering Smart Client Guidance Package

Sep 10, 2008 at 2:25 PM


After I successfully built the guidance package development solution with VS.NET 2008, I got the following exception while I right-mouse click on the guidance package project and select "Register Guidance Package":

Recipe Framework Error
An exception occurred during the binding of reference or execution of recipe Register.  Error was:
Action Register failed to execute:
Requested registry access is not allowed..

I got the same exception on both Windows Vista and XP.  Please let me know how to fix this problem. 


Sep 17, 2008 at 7:35 AM
Edited Sep 17, 2008 at 7:39 AM
You'll need to run Visual Studio as an Administrator. Under Vista, create a desktop shortcut, right-click on it and select "Run as Administrator". That should do the trick.Good luck!Erik
Sep 17, 2008 at 1:39 PM

Hi, justeric,

Thank you very much! It solved the problem.

James Huang