![]() |
#1 |
Участник
|
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. ![]() ![]() Источник: http://msdynamicsax.wordpress.com/20...9/eventwriter/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|