biztalk cluster sso

BEX: Buffer Overflow Exception. Issues with BizTalk Repair

Published on : Oct 19, 2016

Category : BizTalk Server Support

Swarna Prabhu



BizTalk Repair fails with the following error

Problem signature:

  Problem Event Name: BEX

  Application Name: Setup.exe_Microsoft (R) BizTalk (R) Server 2013 R2

  Application Version:

  Application Timestamp: 538ae9f0

  Fault Module Name: unknown

  Fault Module Version:

  Fault Module Timestamp: 00000000

  Exception Offset: 0261f6b8

  Exception Code: c0000005

  Exception Data: 00000008

  OS Version: 6.2.9200.

  Locale ID: 1033


Cause: Unknown.

Problem Event Name: BEX

BEX refers to Buffer Overflow Exception.

The following steps may be used to fix the BEX Exception. However, this fix has not been tested and validated. The below fix is not recommended for PROD environments.


Ensure that there is enough disk space available.

This could be due to certain Dll’s getting blocked by antivirus from getting installed/repaired.

  1. Disable firewall and Disable antivirus from the server
  2. Reboot the server

        Now,  retry the BizTalk repair

In some cases DEP can prevent some exe from executing. And then you can get a BEX error.

Data Execution Prevention (DEP) is a security feature that can help prevent damage to your computer from viruses and other security threats. Harmful programs can try to attack Windows by attempting to run (also known as execute) code from system memory locations reserved for Windows and other authorized programs

  1. Right click your computer icon go to properties and advanced system settings and then under the advanced tab go to system properties.
  2. Once there on the advanced tab under performance, click settings then go to the data execution prevention tab
  3. Choose “Turn on DEP for all programs” and add the BizTalk setup.exe installation program to the exception list.
  4. Reboot the server and try the repair.