Consultor Eletrônico



Kbase P136767: Errors adding events on Windows Vista with UAC enabled
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/5/2010
Status: Verified

SYMPTOM(s):

Errors adding events on Windows Vista with UAC enabled

Errors adding events on Windows Vista with User Access Control enabled

System.TypeInitializationException: The type initializer for 'OpenEdge.Designer.Util' threw an exception. --> System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.

Full .NET stack trace from the Visual Designer:

System.TypeInitializationException: The type initializer for 'OpenEdge.Designer.Util' threw an exception. --> System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly)
at System.Diagnostics.EventLog.SourceExists(Stringsource, String machineName)
at System.Diagnostics.EventLog.SourceExists(String source)
at OpenEdge.Designer.Util..cctor()

The zone of the assembly that failed was:
MyComputer
--End of inner exception stack trace--
at OpenEdge.Designer.Util.GetCurrentActiveCommandManager(lServiceProvider serviceProvider)
at OpenEdge.Designer.DesignCanvas.Services.OEUIService,LogException(Exception e)
at OpenEdge.Designer.DesignCanvas.Services.OEUIService.ShowError(Exception ex)
at System.Windows.Forms.Design.ControlDesigner.DisplayError(Exception e)
at System.Windows.Forms.Design.ControlDesigner.OnMouseDoubleClick()
at System.Windows.Forms.Design.ControlDesigner.WndProc(Message& m)
at System.Windows.Forms.Design.ControlDesigner.DesignerWindowTarget.OnMessage(Message& m)

FACT(s) (Environment):

Windows Vista
OpenEdge 10.2x

CAUSE:

Bug# OE00177075

FIX:

Option #1
Upgrade to OpenEdge 10.2A01 or later

Option #2
Disable UAC, start Architect and add a new event, then (optionally) re-enable UAC