EventLogPermission settings are required for the PBTraceTarget global property for .NET targets.
Global .NET property | Permission required |
---|---|
PBTraceTarget when the value is set to file | Windows Forms: Pbtrace.log FileIO permission asserted by default in runtime library Web Forms: appname_root\log\pbtrace.log FileIO permissions added by default when property set in IDE |
PBTraceTarget when the value is set to EventLog | Administer |
<IPermission class=" EventLogPermission" version="1"> <Machine name="testmachine" access="Administer"/> </IPermission>