I am trying to perform an unattended SQL Server installation through a remote PowerShell session.
The SQL Server installation failed with the following error message:
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.
Has anyone seen this error before?
See below for the full dump of the Summary.txt log file:
---------------------------------------------------------------------------------
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2146233079
Exit facility code: 19
Exit error code: 5385
Exit message: 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.
Start time: 2016-03-31 17:25:20
End time: 2016-03-31 17:32:48
Requested action: Install
Exception help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.4100.1&EvtType=0x469D9042%400xE9BC3D64&EvtType=0x469D9042%400xE9BC3D64
Machine Properties:
Machine name: [Machine name goes here]
Machine processor count: 4
OS version: Windows Server 2012
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured
Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
Installation location: \\fileshare.companydomain.com\Source\SQLServer2014SP1\x64\setup\
Installation edition: Enterprise Edition: Core-based Licensing
Slipstream: True
Product Update Status:
User selected not to include product updates.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: false
AGTSVCACCOUNT: NT Service\SQLSERVERAGENT
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Automatic
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: false
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, REPLICATION, FULLTEXT, IS, ADV_SSMS, BC, CONN, SNAC_SDK, SDK
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: E:\SQLSys\Program Files\Microsoft SQL Server
INSTALLSHAREDWOWDIR: E:\SQLSys\Program Files(x86)\Microsoft SQL Server
INSTALLSQLDATADIR: E:\SQLSys\Program Files\Microsoft SQL Server
INSTANCEDIR: E:\SQLSys\Program Files\Microsoft SQL Server
INSTANCEID: <empty>
INSTANCENAME: MSSQLSERVER
ISSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
ISSVCPASSWORD: *****
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: true
ROLE:
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: E:\SQLBackup
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: NT Service\MSSQLSERVER
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: [MachineName]\AzrRootAdminUser
SQLTEMPDBDIR: T:\TempDB
SQLTEMPDBLOGDIR: J:\TempDBLog
SQLUSERDBDIR: F:\SQLData
SQLUSERDBLOGDIR: J:\SQLLog
SQMREPORTING: false
TCPENABLED: 1
UIMODE: Normal
UpdateEnabled: false
UpdateSource: Slipstream
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20160331_172415\ConfigurationFile.ini
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20160331_172415\SystemConfigurationCheck_Report.htm
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: System.InvalidOperationException
Message:
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.
HResult : 0x80131509
Data:
DisableWatson = true
Stack:
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Microsoft.SqlServer.Configuration.UIExtension.ShowWizard.ShowUserInterface()
at Microsoft.SqlServer.Configuration.UIExtension.ShowActiveObjectTemplate.ThreadStart(Object obj)