SQL SERVER 2008R2 安装问题

背景

 
今天帮可以安装数据库。操作系统是windows server 2012 标准版,  安装SQL SERVER 2008R2 。
运行安装程序,提示如下
 
这是因为两者之间存在兼容性问题.   先忽略这个问题,点运行程序而不获取帮助。
然后出现报错:
 
 
我一看,这是缺少.net 3.5 。立马想到在服务管理器添加.net 3.5.
一安装,又发生报错:
安装 .net 3.5 出错安装一个或多个角色,角色服务或功能失败 找不到源文件
 
 

分析

 
问题的原因是标准版为了节约空间 把3.5 给移除掉了
可以使用命令查看:Get-WindowsFeature *Framework*  确认是否是被移除了
 
 
 
 

解决办法

 

直接COPY一个.net 3.5的安装文件,居然无法解决。
正确方法:
方法1:
要求必须有操作系统的ISO 文件
 
方法2:使用windows update 需要联网
 
参考:
To install the .net 3.5 on server 2012 without the disk (or disk image):
 
Ensure that the server is NOT looking at a WSUS server for updates (must be looking at Windows Update for this to work)
Ensure that any proxy/firewall will allow the connection from the server in question to the Windows update service
From a command line run:
 
dism.exe /online /enable-feature /featurename:NetFX3 /all
 
The elimination of the source switch is done on purpose as this will force the server to look within its own SxS folder, not find the needed files, and then go to Windows Update for the files (hence step 1 where it is not pointing to a WSUS server).
 
 
 
直接用上面的命令,会一直在66.6的时候等待,需要把下面的选项打开:
 
由于客户的安装文件已经找不到,最后选择方法2  ,问题解决。
建议使用WINDOWS 2008 R2安装SQL SERVER 2008 R2,更简便.
 
 

补充说明:

 SERVER 2012 中安装SQL SREVER 08 R2 就需要至少SP1
 
 
注:此文章为原创,欢迎转载,请在文章页面明显位置给出此文链接!
若您觉得这篇文章还不错请点击下右下角的推荐,非常感谢!
 
 
 

转载于:https://www.cnblogs.com/OwenZeng/p/5241784.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值