|
|
|
Windows service and eventLog
|
|||
|---|---|---|---|
|
#18+
Рабочий сервис не запускается после добавления EventLog, пишет следующую ошибку: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. Дебагер говорит, что ошибка в строке, которая проверяет существование сорса с данным именем. Вот код: [codepost] this.AutoLog = false; if (!System.Diagnostics.EventLog.SourceExists("PassSource")) { System.Diagnostics.EventLog.CreateEventSource("PassSource", "PassLog"); } passLog.Source = "PassSource"; InitializeComponent(); post] Ломаю голову, не знаю что делать. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.07.2006, 15:22 |
|
||
|
|

start [/forum/topic.php?fid=18&msg=33882526&tid=1391250]: |
0ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
86ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
44ms |
get tp. blocked users: |
2ms |
| others: | 234ms |
| total: | 413ms |

| 0 / 0 |
