|
|
|
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&gotonew=1&tid=1391250]: |
0ms |
get settings: |
8ms |
get forum list: |
24ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
182ms |
get topic data: |
8ms |
get first new msg: |
4ms |
get forum data: |
3ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
| others: | 248ms |
| total: | 526ms |

| 0 / 0 |
