標籤:database sql dba sql server 2012 .net framework
最近在安裝SQL server 2012時,碰到錯誤:Error while enabling Windows feature: NetFx3, Error Code: -2146498298。原本以為Windows 2012配上SQL server 2012應該是一路順暢才對啊。下面是這個問題的描述及解決方案。
1、安裝環境
OS:Windows 2012 data center版本
SQL:SQL server 2012 Enterprise
2、故障描述
3、故障解決
經查,該問題是由於未安裝.NET Framework 3.5。.NET 4.0都出了,還需要安裝.NET 3.5?汗,應該保持相容才好啊!下面是安裝.NET 3.5的
選擇下一步,在選擇需要安裝的伺服器,如下
選擇下一步,到功能模組,勾選.NET Framework 3.5,選擇指定備用源路徑,指定安裝檔案的位置,如。
安裝完成
如果繼續安裝SQL server,則到如下錯誤。可以再次啟動安裝介面重新安裝或者直接通過修複方式進行自動修複即可。
Action required:
Use the following information to resolve the error, and then try the setup process again.
Feature failure reason:
An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Error details:
§ Error installing Microsoft .NET Framework 3.5
Error while enabling Windows feature : NetFx3, Error Code : -2146498298 , Please try enabling Windows feature : NetFx3 from Windows management tools and then run setup again. For more information on how to enable Windows features , see http://go.microsoft.com/fwlink/?linkid=227143
Error code: 0x85940001
Visit http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=0x681D636F%401428%401&EvtType=0x681D636F%401428%401 to get help on troubleshooting.
SQL Server 2012安裝錯誤:Error while enabling Windows feature: NetFx3, Error Code: -2146498298