FIX: Can't install and configure BizTalk Server in unattended noninteractive mode

Symptoms
Assume that you try to install and configure BizTalk Server automatically as part of a service template without any user logged on (for example, with startup scripts, policies, or remote scripts, or in Virtual Machine Manager (VMM)) by using the following script:
Configuration.exe /s MyBizTalkConfig.xml /l MyBizTalkConfigLog.txt
In this situation, a crash occurs, and you receive the following error messages:
Log Name: Application
Source: Windows Error Reporting
Date: <Date> <Time>
Event ID: 1001
Level: Information
Computer: <ComputerName.domain>
Description:
Fault bucket 94514951244, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: configuration.exe
P2: 3.10.229.0
P3: 50fe360e
P4: System.Windows.Forms
P5: 4.0.30319.18408
P6: 52311103
P7: 2d77
P8: ee
P9: System.InvalidOperationException
P10:
Log Name: Application
Source: Application Error
Date: <Date> <Time>
Event ID: 1000
Level: Error
Computer: ComputerName.domain>
Description:
Faulting application name: Configuration.exe, version: 3.10.229.0, time stamp: 0x50fe360e
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16451, time stamp: 0x50988950
Exception code: 0xe0434352
Fault offset: 0x00014b32
Faulting process id: 0x1298
Faulting application start time: 0x01cf44a20a602d49
Faulting application path: <Disk Name>:\Program Files (x86)\Microsoft BizTalk Server 2013\Configuration.exe
Faulting module path: <Disk Name>:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: 5f389614-b095-11e3-940a-00155da23448
Faulting package full name:
Faulting package-relative application ID:

You may also receive the following crash event details:
<?xml version="1.0" encoding="utf-16"?>
<WatsonInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<osVersion><OSVersion></osVersion>
<AppName>Microsoft ® BizTalk ® Server 2013</AppName>
<AppVersion>3.10.229.0</AppVersion>
<exceptionString>System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at Microsoft.BizTalk.Configuration.Program.RunConfigProgressUIThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()</exceptionString>
<exceptionMessage>Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.</exceptionMessage>
<exceptionStackTrace> at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at Microsoft.BizTalk.Configuration.Program.RunConfigProgressUIThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()</exceptionStackTrace>
<targetSite>System.Windows.Forms.DialogResult ShowDialog(System.Windows.Forms.IWin32Window)</targetSite>
<HResult>80131509</HResult>
</WatsonInfo>

Note The progress window (ShowDialog) can't be displayed. However, the installation and configuration are successful when the same script is used interactively with a logged-on user. 
Cause
This issue occurs because the user will still be updated with a progress window during the silent (/s) installation. If no user logs on to the computer, the update doesn't work as the progress window can only be displayed in an interactive user session. 
Resolution

Cumulative update information

After you apply this fix, please use the new parameter /noprogressbar when you run Configuration.exe unattended.

Note
  • You can check all parameters with Configuration.exe /?
  • The /noprogressbar parameter is also included in the BizTalk Server 2013 R2 release. 
This issue was first fixed in the following cumulative update of BizTalk Server:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
For information about the service packs and cumulative update list for BizTalk Server, see KB 2555976: Service pack and cumulative update list for BizTalk Server.

For more information about BizTalk Server hotfixes, see KB 2003907: Information about BizTalk hotfixes and cumulative update support.
Properties

Article ID: 2954606 - Last Review: 03/14/2016 07:39:00 - Revision: 2.0

Microsoft BizTalk Server 2013 Branch, Microsoft BizTalk Server 2013 Developer, Microsoft BizTalk Server 2013 Enterprise, Microsoft BizTalk Server 2013 Standard

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2954606
Feedback