Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Post: Exception when selecting an "On An Event" trigger log source in Chinese

$
0
0

[Environment]
OS: 64bit Win7 zh_CN
Build: 64bit EG 6.100.0.1084

[Repro Steps]
1. EG > New a program/task
2. Go to Process Flow panel > 'Schedule' > Select 'Schedule project'
3. The 'Schedule' dialog opens
4. Click 'Trigger' tab > click 'New' button
5. 'New Trigger' dialog opens > select 'On An Event' from drop down list
6. Select 'Security' from log drop down list

See below for exception details:

Attempted to perform an unauthorized operation.


-------------------------- Technical Information Follows
--------------------------

Exception Details:
----------------------------------------
Exception type:  System.UnauthorizedAccessException
Message:         Attempted to perform an unauthorized operation.
Source:          System.Core
Target Site:     Throw

Stack Trace:
   at System.Diagnostics.Eventing.Reader.EventLogException.Throw(Int32
errorCode)
   at System.Diagnostics.Eventing.Reader.EventLogConfiguration..ctor(String
logName, EventLogSession session)
   at Microsoft.Win32.TaskScheduler.SystemEventEnumerator.GetEventSources(String
computerName, String log)
   at
Microsoft.Win32.TaskScheduler.TriggerEditDialog.onEventLogCombo_SelectedIndexCha
nged(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ComboBox.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)


Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>