AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.01.2009, 01:08   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
msdynamicsax: EventWriter
Источник: http://msdynamicsax.wordpress.com/20...9/eventwriter/
==============


Many of you have probably seen this blog entry on how to setup a batch-job in Ax as a windows service in Ax 4.0: http://axaptabuilder.blogspot.com/20...ch-server.html

When using this solution, remember to use the nssm.exe instead of the srvany.exe so that the windows service also stop if the aos stops.

Anyway, setting up a batch-job as a windows service is off cource nice and neat, since they can be set up to start automatically and you don’t have the need for a batch-client running at all times.
An issue occures with logging though. How do you find out what has happened if something goes wrong? Well, you could look in the batch history for anything suspicious, but wouldn’t it be nicer to have errors, warnings and maybe even info’s logged in the windows event log?

I have made a neat little solution for Dynamics Ax 4.0 that does this that I have called EventWriter that is available upon request.

eventwriter





Источник: http://msdynamicsax.wordpress.com/20...9/eventwriter/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
msdynamicsax: Dynamics Ax 2009 SDK Blog bot DAX Blogs 0 13.08.2008 14:05
msdynamicsax: BI with timeXtender Blog bot DAX Blogs 0 14.05.2008 20:05
msdynamicsax: Task Recorder Blog bot DAX Blogs 0 04.04.2008 11:05
msdynamicsax: Integrated Version Control Blog bot DAX Blogs 0 04.04.2008 11:05
msdynamicsax: User Interface Blog bot DAX Blogs 0 04.04.2008 11:05

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 11:44.