Security Exception Error


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K 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)

Charles R Hankey
Charles R Hankey
Advanced StrataFrame User (926 reputation)Advanced StrataFrame User (926 reputation)Advanced StrataFrame User (926 reputation)Advanced StrataFrame User (926 reputation)Advanced StrataFrame User (926 reputation)Advanced StrataFrame User (926 reputation)Advanced StrataFrame User (926 reputation)Advanced StrataFrame User (926 reputation)Advanced StrataFrame User (926 reputation)
Group: Forum Members
Posts: 524, Visits: 30K
I think this is what I was getting when I first started running SF on Windows 7. Try going to the BOM in the Microfour folder in Program Files and setting the properties to Run as Administrator. ( you might be ok just by making sure you run VS as administrator )

Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
(bows)



Right on. Normally, I do start VS in admin mode; however, I did not do that yesterday for some reason. I am good to go.



Thanks a ton, Charles!



Bill
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (652 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.

Dustin Taylor
Dustin Taylor
StrataFrame Team Member (652 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
Too late, done been solved.

Just ignore my ramblings Smile

Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
Charles, did you just hear something?



Smile

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