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:In this situation, a crash occurs, and you receive the following error messages:
You may also receive the following crash event details:
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.
Configuration.exe /s MyBizTalkConfig.xml /l MyBizTalkConfigLog.txt
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:
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>
<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.