Pages

Wednesday, May 18, 2011

“Preparing single Standard Edition Server” throws error: “Prerequisite installation failed: SqlExpressRtc”

I was a bit surprised when I ran into the error Prerequisite installation failed: SqlExpressRtc when running the Preparing single Standard Edition Server step during a Standard Edition Lync Server 2010 install when I figured out what the problem was.

Problem

You’re deploying a Lync Server 2010 Standard Edition server and have gotten to the step where you need to run the step:

image

Everything appears to proceed as expected through the wizard:

image

image

… until you get to the following error:

> BootstrapperLogging status to: C:\Users\tluk\AppData\Local\Temp\2\BootstrapSqlExpress-[2011_05_17][15_44_11].htmlChecking prerequisites for bootstrapper...Checking prerequisite WMIEnabled...prerequisite satisfied.Checking prerequisite NoBootstrapperOnBranchOfficeAppliance...prerequisite satisfied.Checking prerequisite SupportedOS...prerequisite satisfied.Checking prerequisite NoOtherVersionInstalled...prerequisite satisfied.Caching file setup\OcsCore.msiCaching file setup\Server.msiCaching file setup\OcsMcu.msiCaching file setup\ArchService.msiCaching file setup\CAA.msiCaching file setup\CAS.msiCaching file setup\Rgs.msiCaching file setup\CPS.msiCaching file setup\PDP.msiCaching file setup\MgmtServer.msiCaching file setup\MediationServer.msiCaching file setup\Ats.msiCaching file setup\MonitoringServer.msiCaching file setup\AppServer.msiCaching file setup\DataMcu.msiCaching file setup\WebComponents.msiCaching file setup\ReachFonts.msiCaching file setup\AdminTools.msiCaching file vcredist_x64.exeCaching file SQLEXPR_x64.exeCaching file sqlncli.msiCaching file SQLServer2005_BC.msiCaching file Setup\UcmaRuntime.msiCaching file rewrite_2.0_rtw_x64.msiCaching file Setup\ucmaworkflowruntime.msiCaching file Setup\speech\SpeechPlatformRuntime.msiCaching file Setup\speech\ca-ES\MSSpeech_SR_ca-ES_TELE.msiCaching file Setup\speech\ca-ES\MSSpeech_TTS_ca-ES_Herena.msiCaching file Setup\speech\da-DK\MSSpeech_SR_da-DK_TELE.msiCaching file Setup\speech\da-DK\MSSpeech_TTS_da-DK_Helle.msiCaching file Setup\speech\de-DE\MSSpeech_SR_de-DE_TELE.msiCaching file Setup\speech\de-DE\MSSpeech_TTS_de-DE_Hedda.msiCaching file Setup\speech\en-AU\MSSpeech_SR_en-AU_TELE.msiCaching file Setup\speech\en-AU\MSSpeech_TTS_en-AU_Hayley.msiCaching file Setup\speech\en-CA\MSSpeech_SR_en-CA_TELE.msiCaching file Setup\speech\en-CA\MSSpeech_TTS_en-CA_Heather.msiCaching file Setup\speech\en-GB\MSSpeech_SR_en-GB_TELE.msiCaching file Setup\speech\en-GB\MSSpeech_TTS_en-GB_Hazel.msiCaching file Setup\speech\en-IN\MSSpeech_SR_en-IN_TELE.msiCaching file Setup\speech\en-IN\MSSpeech_TTS_en-IN_Heera.msiCaching file Setup\speech\en-US\MSSpeech_SR_en-US_TELE.msiCaching file Setup\speech\en-US\MSSpeech_TTS_en-US_Helen.msiCaching file Setup\speech\es-ES\MSSpeech_SR_es-ES_TELE.msiCaching file Setup\speech\es-ES\MSSpeech_TTS_es-ES_Helena.msiCaching file Setup\speech\es-MX\MSSpeech_SR_es-MX_TELE.msiCaching file Setup\speech\es-MX\MSSpeech_TTS_es-MX_Hilda.msiCaching file Setup\speech\fi-FI\MSSpeech_SR_fi-FI_TELE.msiCaching file Setup\speech\fi-FI\MSSpeech_TTS_fi-FI_Heidi.msiCaching file Setup\speech\fr-CA\MSSpeech_SR_fr-CA_TELE.msiCaching file Setup\speech\fr-CA\MSSpeech_TTS_fr-CA_Harmonie.msiCaching file Setup\speech\fr-FR\MSSpeech_SR_fr-FR_TELE.msiCaching file Setup\speech\fr-FR\MSSpeech_TTS_fr-FR_Hortense.msiCaching file Setup\speech\it-IT\MSSpeech_SR_it-IT_TELE.msiCaching file Setup\speech\it-IT\MSSpeech_TTS_it-IT_Lucia.msiCaching file Setup\speech\ja-JP\MSSpeech_SR_ja-JP_TELE.msiCaching file Setup\speech\ja-JP\MSSpeech_TTS_ja-JP_Haruka.msiCaching file Setup\speech\ko-KR\MSSpeech_SR_ko-KR_TELE.msiCaching file Setup\speech\ko-KR\MSSpeech_TTS_ko-KR_Heami.msiCaching file Setup\speech\nb-NO\MSSpeech_SR_nb-NO_TELE.msiCaching file Setup\speech\nb-NO\MSSpeech_TTS_nb-NO_Hulda.msiCaching file Setup\speech\nl-NL\MSSpeech_SR_nl-NL_TELE.msiCaching file Setup\speech\nl-NL\MSSpeech_TTS_nl-NL_Hanna.msiCaching file Setup\speech\pl-PL\MSSpeech_SR_pl-PL_TELE.msiCaching file Setup\speech\pl-PL\MSSpeech_TTS_pl-PL_Paulina.msiCaching file Setup\speech\pt-BR\MSSpeech_SR_pt-BR_TELE.msiCaching file Setup\speech\pt-BR\MSSpeech_TTS_pt-BR_Heloisa.msiCaching file Setup\speech\pt-PT\MSSpeech_SR_pt-PT_TELE.msiCaching file Setup\speech\pt-PT\MSSpeech_TTS_pt-PT_Helia.msiCaching file Setup\speech\ru-RU\MSSpeech_SR_ru-RU_TELE.msiCaching file Setup\speech\ru-RU\MSSpeech_TTS_ru-RU_Elena.msiCaching file Setup\speech\sv-SE\MSSpeech_SR_sv-SE_TELE.msiCaching file Setup\speech\sv-SE\MSSpeech_TTS_sv-SE_Hedvig.msiCaching file Setup\speech\zh-CN\MSSpeech_SR_zh-CN_TELE.msiCaching file Setup\speech\zh-CN\MSSpeech_TTS_zh-CN_HuiHui.msiCaching file Setup\speech\zh-HK\MSSpeech_SR_zh-HK_TELE.msiCaching file Setup\speech\zh-HK\MSSpeech_TTS_zh-HK_HunYee.msiCaching file Setup\speech\zh-TW\MSSpeech_SR_zh-TW_TELE.msiCaching file Setup\speech\zh-TW\MSSpeech_TTS_zh-TW_HanHan.msiCaching file vj2se_x64.exeChecking prerequisites for roles...Checking prerequisite WMIEnabled...prerequisite satisfied.Checking prerequisite NoOtherVersionInstalled...prerequisite satisfied.Checking prerequisite SupportedOS...prerequisite satisfied.Checking prerequisite PowerShell2...prerequisite satisfied.Checking prerequisite VCredist...prerequisite satisfied.Checking prerequisite SqlNativeClient...installing...successChecking prerequisite SqlBackcompat...prerequisite satisfied.Checking prerequisite UcmaRedist...prerequisite satisfied.

Checking prerequisite SqlExpressRtc...installing...failure code –1

Prerequisite installation failed: SqlExpressRtc

image

Clicking on the View Log button shows the following:

image

Error: Prerequisite installation failed: SqlExpressRtc
▼ Details

└ Type: PrereqInstallFailed
└ ▼ Stack Trace

└     at Microsoft.Rtc.Internal.Tools.Bootstrapper.BootstrapperTask.AddMsiPrereq(String prereqName)
at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog[T](Action`1 action, T arg)


        5/17/2011 3:45:34 PM        Error

Executing external command: C:\ProgramData\Microsoft\Lync Server\Deployment\cache\4.0.7577.0\SQLEXPR_x64.exe /Q /HIDECONSOLE /ACTION=Install /FEATURES=SQLEngine,Tools /INSTANCENAME=RTC /TCPENABLED=1 /SQLSVCACCOUNT="NT AUTHORITY\NetworkService" /SQLSYSADMINACCOUNTS="Builtin\Administrators" /BROWSERSVCSTARTUPTYPE="Automatic" /AGTSVCACCOUNT="NT AUTHORITY\NetworkService" /SQLSVCSTARTUPTYPE=Automatic

At this point, you can actually go ahead and execute the command shown above with the switches to manually install the SQL Express instance for the Standard Edition Lync Server but I was curious as to why it would fail and my first hunch was to try running setup.exe as an administrator:

image

Once I ran the install as an administrator, I noticed that the installation of the local SQL instance successfully starts:

image 

image

I believe the last time I encountered such a problem was back in the days when Exchange 2007 had just come out and I was installing it on a Windows Server 2008 R1 server where the setup would always fail until I open up a command prompt as administrator to run setup.  Strange that I’m encountering this now as I don’t recall doing so in the past.  The only difference between this deployment was that the operating system and software used is:

1. Windows Server 2008 R2 64-bit with SP1

2. Lync Server 2010

Hope this helps anyone who may run into this problem a quick answer through a simple Google search.

1 comment:

Anonymous said...

this worked for me, thank you for such a simple yet effective solution!