Академический Документы
Профессиональный Документы
Культура Документы
|someassemblyrequired,batteriesnotincluded
Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
(for the impatient, skip down a page or two for the fix)
SQL Express 2012, SQL Express 2012 SP1, SQL Enterprise 2012, SQL Express 2014 or SQL Enterprise 2014 will all
generate this same message:
Once you click OK, installation proceeds to the end and shows (in my case) what actually did not install
correctly, along with links to the error log:
the error logs arent a lot of help, typically you get something like this:
Configurationfile:C:\ProgramFiles\MicrosoftSQLServer\110\SetupBootstrap\Log\20140402_153752\
https://dyball.wordpress.com/2014/04/05/errorinstallingsqlexpress2012orerrorinstallingsqlexpress2014/ 1/20
12/4/2017 ErrorinstallingSQLExpress2012,orErrorinstallingSQLExpress2014?|someassemblyrequired,batteriesnotincluded
Detailedresults:
Feature:DatabaseEngineServices
Status:Failed:seelogsfordetails
Reasonforfailure:Anerroroccurredduringthesetupprocessofthefeature.
NextStep:Usethefollowinginformationtoresolvetheerror,uninstallthisfeature,andt
Componentname:SQLServerDatabaseEngineServicesInstanceFeatures
Componenterrorcode:0x851A0019
Errordescription:WaitontheDatabaseEnginerecoveryhandlefailed.ChecktheSQLServererrorlo
Errorhelplink:http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=
Feature:SQLServerReplication
Status:Failed:seelogsfordetails
Reasonforfailure:Anerroroccurredforadependencyofthefeaturecausingthesetupprocessfort
NextStep:Usethefollowinginformationtoresolvetheerror,uninstallthisfeature,andt
Componentname:SQLServerDatabaseEngineServicesInstanceFeatures
Componenterrorcode:0x851A0019
Errordescription:WaitontheDatabaseEnginerecoveryhandlefailed.ChecktheSQLServererrorlo
Errorhelplink:http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=
Feature:SQLClientConnectivity
Status:Passed
Feature:SQLClientConnectivitySDK
Status:Passed
Ruleswithfailures:
attempt at repair didnt entirely work, though at least a few more features appeared ok a erwards, seems the
features that failed werent really installed to begin with.
Configurationfile:C:\ProgramFiles\MicrosoftSQLServer\110\SetupBootstrap\Log\20140402_164618\
Detailedresults:
Feature:DatabaseEngineServices
Status:Failed:seelogsfordetails
Reasonforfailure:Anerroroccurredduringthesetupprocessofthefeature.
NextStep:Usethefollowinginformationtoresolvetheerror,andthentrythesetupproces
Componentname:SQLServerDatabaseEngineServicesInstanceFeatures
Componenterrorcode:0x84B40002
Errordescription:TheSQLServerfeature'SQL_Engine_Core_Inst'isnotinasupportedstateforrep
Errorhelplink:http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=
Feature:SQLServerReplication
Status:Failed:seelogsfordetails
Reasonforfailure:Anerroroccurredforadependencyofthefeaturecausingthesetupprocessfort
NextStep:Usethefollowinginformationtoresolvetheerror,andthentrythesetupproces
Componentname:SQLServerDatabaseEngineServicesInstanceFeatures
Componenterrorcode:0x84B40002
Errordescription:TheSQLServerfeature'SQL_Engine_Core_Inst'isnotinasupportedstateforrep
Errorhelplink:http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=
Feature:SQLBrowser
Status:Passed
https://dyball.wordpress.com/2014/04/05/errorinstallingsqlexpress2012orerrorinstallingsqlexpress2014/ 2/20
12/4/2017 ErrorinstallingSQLExpress2012,orErrorinstallingSQLExpress2014?|someassemblyrequired,batteriesnotincluded
Feature:SQLWriter
Status:Passed
Feature:SQLClientConnectivity
Status:Passed
Feature:SQLClientConnectivitySDK
Status:Passed
Feature:SetupSupportFiles
Status:Passed
Ruleswithfailures:
Caveat: this is a development machine, not production, Im adeveloper not a DBA this is convenient and
expedient for me.
THE FIX
Short version: the fix for SQL 2012 or SQL 2014 installs is the same, just manually set the security for SQL
Server Agent and SQL Server Database Engineto NETWORK SERVICE,
and for SQL Server Analysis Services, SQL Server Reporting Services, and if used for SQL Server Distributed
Replay Client and SQL Server Distributed Replay Controllerall to LOCAL SERVICE
Heres the complete install procedure end to end for the demo of SQL Server 2012 Enterprise, however the
procedure is much the same for 2014 or SQL Express as well.
https://dyball.wordpress.com/2014/04/05/errorinstallingsqlexpress2012orerrorinstallingsqlexpress2014/ 3/20
12/4/2017 ErrorinstallingSQLExpress2012,orErrorinstallingSQLExpress2014?|someassemblyrequired,batteriesnotincluded
Once you click on Installation, click on New SQL Server stand-alone installation or add features to an existing
installation
https://dyball.wordpress.com/2014/04/05/errorinstallingsqlexpress2012orerrorinstallingsqlexpress2014/ 4/20
12/4/2017 ErrorinstallingSQLExpress2012,orErrorinstallingSQLExpress2014?|someassemblyrequired,batteriesnotincluded
Click at least I accept the license terms (once you do), and optionally click Send feature usage.. then click
Next
Doesnt hurt to leave the checkbox on, allow installer to add the updates now. BTW This will vary depending on
your install of SQL 2012 or 2014. Click Next.
https://dyball.wordpress.com/2014/04/05/errorinstallingsqlexpress2012orerrorinstallingsqlexpress2014/ 5/20