dinsdag 21 juli 2009

BizTalk 2006 EventID: 5410 (out-of-memory)

Recently I was with a customer who’s BizTalk server kept crashing immediately after starting the BizTalk server service. A quick look in the eventviewer showed the following error:

--- An error occurred that requires the BizTalk service to terminate. The most common causes are the following: 1) An unexpected out of memory error. OR 2) An inability to connect or a loss of connectivity to one of the BizTalk databases. The service will shutdown and auto-restart in 1 minute. If the problematic database remains unavailable, this cycle will repeat. Error message: Exception has been thrown by the target of an invocation. Error source: mscorlib …………….----

The first thing I did was shutting down all BizTalk applications that were running on the server. After I did that I restarted the BizTalk server again. No success…

Then I remembered that a fellow team member of me changed the custom config that was referenced by btsntsvc.exe.config. I opened the custom config file in Notepad++ and with the XML tools plugin I checked the validity of the config file. The config file was invalid XML so it was not possible for the BizTalk service to load the config into it’s appdomain.

Lesson learned: always check the validity of you config files!