StrataFrame Forum

I moved to a new machine and get the following error trying to rebuild BO's

http://forum.strataframe.net/Topic29987.aspx

By Terry Bottorff - 5/17/2011



UnauthorizedAccessException
  Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\MicroFour\Mapper' is denied.

Source     : mscorlib

Stack Trace: 
   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
   at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderBODialog.ᜀ()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderBODialog.ᜁ()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderBODialog..ctor(Int32 BusinessObjectPK, String BusinessObjectName, DTEprojectsBO ProjectsBO)
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜀ(TreeNode A_0)

What is causing this? TIA.
By Terry Bottorff - 5/17/2011

I fixed this situation. I am not exactly sure how but it does work now for all my projects.

I still get the problem of wanting to rebuild the toolbox every time I start VS???
TIA.
By Edhy Rijo - 5/17/2011

Hi Terry,

Trying running Visual Studio as administrator.  It looks like that may be your problem.  You can even set it up at the shortcut level.
By Terry Bottorff - 5/18/2011

That was it thank you. I thought I had done that but must not have. Thanks again.
By Edhy Rijo - 5/18/2011

Hi Terry,
Glad it worked out!!!