Quantcast
Viewing all articles
Browse latest Browse all 7696

SQL 2008 R2 install error on Windows Server 2012 : specified file not found

Hello,

I'm unable to install SQL 2008 R2 correctly on Windows Server 2012. After few minutes I have a "specified file not found" message. Clicking OK (no other choice) it appears again once then the installation goes on and finishes reporting two errors.

Finally SQL Server instance seems to be installed correctly.

SQL Server version is 2008 R2 with SP2 slipstreamed.

After looking at log file, I found that SQL server tried to invoke "servermanagercmd.exe" (?!?!) which is deprecated in Windows 2012 :

2013-09-13 10:52:50 Slp: Installing Windows Powershell for Longhorn
2013-09-13 10:52:50 Slp: LaunchProcessAndWait - Process : C:\Windows\system32\servermanagercmd.exe
2013-09-13 10:52:50 Slp: LaunchProcessAndWait - Arguments : /install PowerShell
2013-09-13 10:52:50 Slp: Échec de l'action de configuration pour la fonctionnalité SQL_PowerShell_Tools_ANS au cours du minutage ConfigNonRC et du scénario ConfigNonRC.
2013-09-13 10:52:50 Slp: Le fichier spécifié est introuvable
2013-09-13 10:52:50 Slp: The configuration failure category of current exception is ConfigurationFailure
2013-09-13 10:52:50 Slp: Échec de l'action de configuration pour la fonctionnalité SQL_PowerShell_Tools_ANS au cours du minutage ConfigNonRC et du scénario ConfigNonRC.
2013-09-13 10:52:50 Slp: System.ComponentModel.Win32Exception: Le fichier spécifié est introuvable
2013-09-13 10:52:50 Slp:    à System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
2013-09-13 10:52:50 Slp:    à Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.LaunchProcessAndWait(String sProcess, String sArguments, Boolean bCreateNoWindow, Boolean bUseShellExecute, Boolean bRedirectStandardError, Boolean bRedirectStandardOutput)
2013-09-13 10:52:50 Slp:    à Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Install_Powershell(Dictionary`2 actionData)
2013-09-13 10:52:50 Slp:    à Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Install_PostMSI(Dictionary`2 actionData, PublicConfigurationBase spcb)
2013-09-13 10:52:50 Slp:    à Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.InstallImpl(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
2013-09-13 10:52:50 Slp:    à Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
2013-09-13 10:52:50 Slp:    à Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
2013-09-13 10:52:50 Slp: Exception : System.ComponentModel.Win32Exception.
2013-09-13 10:52:50 Slp: Source : System.
2013-09-13 10:52:50 Slp: Message : Le fichier spécifié est introuvable.
2013-09-13 10:52:50 Slp: Watson Bucket 3
 Original Parameter Values

2013-09-13 10:52:50 Slp: Parameter 0 : SQL Server 2008 R2@RTM@

2013-09-13 10:52:50 Slp: Parameter 3 : System.ComponentModel.Win32Exception@-2147467259

2013-09-13 10:52:50 Slp: Parameter 4 : System.ComponentModel.Win32Exception@-2147467259

2013-09-13 10:52:50 Slp: Parameter 5 : SlpPowershellEngineConfigAction_install_postmsi_Tools

2013-09-13 10:52:50 Slp: Parameter 6 : INSTALL@CONFIGNONRC@SQL_POWERSHELL_TOOLS_ANS

2013-09-13 10:52:50 Slp:
 Final Parameter Values

2013-09-13 10:52:50 Slp: Parameter 0 : SQL Server 2008 R2@RTM@

2013-09-13 10:52:50 Slp: Parameter 3 : 0xDC80C325

2013-09-13 10:52:50 Slp: Parameter 4 : 0xDC80C325

2013-09-13 10:52:50 Slp: Parameter 5 : SlpPowershellEngineConfigAction_install_postmsi_Tools

2013-09-13 10:52:50 Slp: Parameter 6 : 0xE71C97AA

2013-09-13 10:52:52 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130913_100757\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
2013-09-13 10:52:52 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130913_100757\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2013-09-13 10:52:52 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130913_100757\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
2013-09-13 10:52:52 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130913_100757\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
2013-09-13 10:52:52 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130913_100757\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2013-09-13 10:52:52 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130913_100757\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
2013-09-13 10:53:05 Slp: Le fichier spécifié est introuvable
2013-09-13 10:53:05 Slp: Watson bucket for exception based failure has been created

I don't undestand why SQL Server setup is trying to install powershell since it is already available...

Is there a workaround for this or am I missing something ?

Thanks,

Thibaut



Viewing all articles
Browse latest Browse all 7696

Trending Articles