• 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
     
     
    注:此文章为原创,欢迎转载,请在文章页面明显位置给出此文链接!
    若您觉得这篇文章还不错请点击下右下角的推荐,非常感谢!
     
     
     
    作者:Owen Zeng
    如果您觉得阅读本文对您有帮助,请点一下“推荐”按钮,您的“推荐”将是我最大的写作动力!欢迎各位转载,转载文章之后必须在文章页面明显位置给出作者和原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    ASP.NET:关于.net中的runat
    javascript/dom:原生的JS写选项卡方法
    深入学习javascript:cookie
    javascript练习:8综合练习
    javascript/dom:对样式进行操作
    C#:form的窗体属性formborderstyle设置为none后就不能移动了
    javascript/dom:获取CSS值/getComputedStyle方法
    【玩转.Net MF – 04】远程屏幕截图
    .Net Micro Framework V4.1 beta 发布
    RFID技术在.Net Micro Framework中的应用
  • 原文地址:https://www.cnblogs.com/OwenZeng/p/5241784.html
Copyright © 2020-2023  润新知