Hi,
in a Vista Business environment, using SF 1.6.1, SQL Express 2005 and Oracle 10gR2 (with Oracle client 10.2.0.3 for Vista) I get the following error when trying to configure a business object.
The error message is:
UnauthorizedAccessException
Attempted to perform an unauthorized operation.
Source : mscorlib
Stack Trace:
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
at MicroFour.StrataFrame.AddIns.PartialClassBuilderBODialog.SaveFormStateToRegistry(Boolean ShowOptions)
at MicroFour.StrataFrame.AddIns.PartialClassBuilderBODialog.ToggleWindowSize()
at MicroFour.StrataFrame.AddIns.PartialClassBuilderBODialog..ctor(Int32 BusinessObjectPK, String BusinessObjectName, DTEprojectsBO ProjectsBO)
at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ConfigureBusinessObject(TreeNode SelectedNode)
The application is just a brand new application created to find the reason for the error. It has only one form (no field, buttons etc) and the project only contains one business object that I'm trying to configure the first time.
I can access the Oracle database from "Configure Project" and I can access the SF database from Database Connection Wizard.
When closing the Business Object Mapper after the error message the Visual Studio crashes and restarts.
I tried the same thing using SQL Server as the data source and at the precise same point I received this error message:
UnauthorizedAccessException
Attempted to perform an unauthorized operation.
Source : mscorlib
Stack Trace:
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
at MicroFour.StrataFrame.AddIns.PartialClassBuilderBODialog.SaveFormStateToRegistry(Boolean ShowOptions)
at MicroFour.StrataFrame.AddIns.PartialClassBuilderBODialog.ToggleWindowSize()
at MicroFour.StrataFrame.AddIns.PartialClassBuilderBODialog..ctor(Int32 BusinessObjectPK, String BusinessObjectName, DTEprojectsBO ProjectsBO)
at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ConfigureBusinessObject(TreeNode SelectedNode)
What might be that "unauthorized operation" I'm trying to do and how could I fix this...?
TIA,
Kari