安装SQL Server 2008时候需要.net 3.5环境,安装一直不成功,出现错误(0x800F0906) 网上搜了个办法,能解决这个问题

  1. 打开 win8 安装盘,提取 sourcessxs 文件夹到 x:\sourcessxs (x为任意盘);
  2. 打开 c:\windows\system32 文件夹,找到 cmd.exe,右击,选择"Run as administrator"(管理员模式);(或者直接按下 win+x ,选择命令提示符(管理员模式))
  3. 在命令行执行以下命令:

Dism.exe /online /enable-feature /featurename:NetFX3 /*All* /Source:E:\sources\sxs /LimitAccess