This is an important step, and it should be configured or validated before BizTalk Server Setup (part 8 ) because:
- BizTalk Server setup keeps a record of events in the Application Event Log. Depending on the BizTalk Server features installed, the amount of space required in the log may exceed its limit. If the application event log runs out of space during BizTalk Server setup, the installation will fail.
- Also in production, you always want a rolling list of the latest events (information, warnings, or failures), and you don’t want your Application Event Log to become massive in size.
📝 One-Minute Brief
BizTalk Server can generates a high volume of tracking and error data in the Windows Application Event Log. By default, the log size is often too small, causing important troubleshooting information to be overwritten quickly. This guide explains how to increase the maximum log size and configure the retention policy to “Overwrite events as needed,” ensuring that administrators have sufficient historical data to diagnose production issues effectively.
However, I purposely left this point to the end because by default, the Application Event Log is already correctly configured:
- Maximum log size (Kb): 20489 – that is 20 MB, which gives us a comfortable history of events
- And the option Overwrite events as needed (oldest events first) is selected, with this option, we prevent the log to exceeding its limits, avoiding installation failures:
- Typical error: Inner exception: The event log file is full
To change settings in the Application Event Log
- Click Start, click Control Panel, and then double-click Administrative Tools.
- Click Event Viewer.
- In the Event Viewer, expand Windows Logs.
- Right-click the Application and then click Properties. This opens the Log Properties dialog box.
- To see how much available space your log has, compare the Log Size field with the Maximum log size field.
- To provide more space in the event log, enter a higher number in the Maximum log size field.
- To enable overwriting of old events when the log becomes full, select Overwrite events as needed.
- To clear the log events, click Clear log.
- Click OK to close the Event Viewer.
Samples of BizTalk events in the Application Event Log
Information:
The following BizTalk host instance has initialized successfully.
BizTalk host name: BizTalkServerApplication
Windows service name: BTSSvc$BizTalkServerApplication
Error
A message sent to adapter “SMTP” on send port ” EmailNotificationPort” with URI “mailto:myemai@email.pt” is suspended.
Error details: There was a failure executing the send pipeline: “Microsoft.BizTalk.DefaultPipelines.XMLTransmit, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” Source: “XML assembler” Send Port: ” EmailNotificationPort” URI: “mailto: myemai@email.pt” Reason: Name cannot begin with the ‘<‘ character, hexadecimal value 0x3C. Line 2, position 1.
A request-response for the “SOAP” adapter at receive location “/WebServiceasmx” has timed out before a response could be delivered.
Warning
The cube “MyView” was not processed. Please run the cube DTS to process the cube.
The adapter failed to transmit message going to send port “DynamicSendPort” with URL “http://Service.asmx”. It will be retransmitted after the retry interval specified for this Send Port. Details:”Server was unable to process request. —> Object reference not set to an instance of an object.”.
Related links
- BizTalk 2010 Installation and Configuration – Enable Internet Information Services (Part 1)
- BizTalk 2010 Installation and Configuration – Install Microsoft Office Excel 2007 (Part 2)
- BizTalk 2010 Installation and Configuration – Install Visual Studio 2010 (Part 3)
- BizTalk 2010 Installation and Configuration – Install SQL Server 2008 R2 (Part 4)
- BizTalk 2010 Installation and Configuration – Install SQL Server 2005 Notification Services on top of SQL Server 2008 R2 (Part 5)
- BizTalk 2010 Installation and Configuration – Install and Configure Windows SharePoint Services (Part 6)
- BizTalk 2010 Installation and Configuration – Install and Configure SharePoint Foundation 2010 (Part 6.1)
- BizTalk 2010 Installation and Configuration – Disable the Shared Memory Protocol (Part 7)
- BizTalk 2010 Installation and Configuration – Installing and Configuring BizTalk Server (Part 8 )
- BizTalk 2010 Installation and Configuration – Installing and configuring local SMTP for Reporting Server (Part 9)
- BizTalk 2010 Installation and Configuration – Installing BizTalk Adapter Pack 2010 and BizTalk AppFabric Connect feature (Part 10)
- BizTalk 2010 Installation and Configuration – Configure BizTalk Server SQL Jobs (Part 11)
- BizTalk 2010 Installation and Configuration – Enable TCP/IP, Named Pipes protocols and DTC on the Local Host Server (Part 12)
- BizTalk 2010 Installation and Configuration – Configure the Application Event Log (Part 13)

