
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
27.07.2006, 15:22
|
|||
|---|---|---|---|
|
|||
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] Ломаю голову, не знаю что делать. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=18&tablet=1&tid=1391250]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
49ms |
get topic data: |
8ms |
get forum data: |
3ms |
get page messages: |
33ms |
get tp. blocked users: |
1ms |
| others: | 213ms |
| total: | 334ms |

| 0 / 0 |
