Security Exception Error


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
I keep getting the following error message when I attempt to access the properties window within the Business Object Mapper. After clearing the error window, the BOM will not close. Can anyone suggest a method of attack on this problem?



Thanks!



=============

SecurityException

Requested registry access is not allowed.



Source : mscorlib



Stack Trace:

at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)

at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)

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)

Reply
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (938 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
Yep, sounds like visual studio isn't running as a true administrator. If you are running with user account control turned on, you will likely want to start VS by right clicking and selecting "Run As Administrator". The other option would be to work through the access issues by opening up the SF folder and registry permissions, but that will likely take some trial and error depending on where the access is getting blocked.

I typically turn UAC off on my Dev machines, but whether or not that is a good idea is a matter of opinion (loosing some security in the name of convenience.) With UAC on, even an administrator account isn't really an administrator, and can cause some security headaches here and there.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search