|
|
|
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&fpage=921&tid=1391250]: |
0ms |
get settings: |
5ms |
get forum list: |
8ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
523ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
17ms |
get tp. blocked users: |
1ms |
| others: | 218ms |
| total: | 784ms |

| 0 / 0 |
