没有来自BizTalk的事件日志 [英] No eventlogs from BizTalk
问题描述
我有一台新的生产计算机,并在那里安装了BizTalk应用.问题是我没有在事件日志中看到任何消息,也没有从BizTalk应用程序或BizTalk Server本身看到消息.事件日志中显示的唯一消息是:
I've got a new production computer and installed my BizTalk app on there. The problem is that I don't see any messages in the event log, nor from my BizTalk app or BizTalk Server itself. The only message that appears in the event log is the following:
The following BizTalk host instance has initialized successfully.
BizTalk host name: BizTalkServerApplication
Windows service name: BTSSvc$BizTalkServerApplication
该消息的来源是BizTalk Server
.根本没有消息,甚至没有关于我认为的错误的日志.
The source of that message is BizTalk Server
. And no messages at all, even no logs about errors which I suppose already took place.
推荐答案
如果您仍然遇到问题,请快速考虑一下.
Just a quick thought incase you are still having problems.
我尝试使用不存在的源类型写入事件日志,并且我的BizTalk Host用户帐户没有创建新源类型的权限.这意味着我从未在事件日志中看到该条目.
I tried to write to the event log with a source type that didnt already exist and my BizTalk Host user account didn’t have permissions to create a new source type. This meant I never saw the entry in the event log.
例如(来自@Bill Osuch示例)
E.g. (from example @Bill Osuch)
System.Diagnostics.EventLog.WriteEntry("MyBiztalkApp", "oh i did something");
确保MyBiztalkApp源存在,或者您的用户具有事件日志的创建权限.
Make sure either the MyBiztalkApp source exists or that your user has permissions on the event log to create it.
此外,如果您有很多通过BizTalk传递的消息,则可能需要实现自己的日志记录,以便事件日志不会填满.我们使用Log4Net进行实现,并使用一个数据库来存储消息.
Also, if you have a lot of messages going through BizTalk you will probably want to implement your own logging so your event log doesn’t fill up. We used Log4Net for our implementation and a database to store messages.
这篇关于没有来自BizTalk的事件日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!