Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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. 

↑ Back to the top


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. 

↑ Back to the top


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:

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


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 .

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 2954606
Revision : 1
Created on : 1/7/2017
Published on : 3/14/2016
Exists online : False
Views : 415