zoukankan      html  css  js  c++  java
  • 小议:部署SharePoint 2013时,无法连接SQL Server问题

    最近在给学员培训时发现,个别学员在完毕SharePoint 2013部署时,无法连接SQL Server,两种报错情况,例如以下所看到的:

     

    情况1配置SharePointConnect to SQL Server时失败。提示:cannot connect to database master at SQLserver

    情况2配置SharePointConnect to SQL Server时失败,提示:The database located at the spedifieddatabase server contains user-defined data.database must be empty before theycan be used.delete all the tables ,stored procedures,and other objects

     

    分析上述两种情况以及Solution

     

    情况1在部署SharePoint时。无法连接SQL Server,非常明显是部署SharePointAccountSQL Server中的权限不对导致无法连接。

     

    解决方式:

     

    • 登录SQL Server,在Security 页面,加入New Login。输入要部署SharePoint的那个account,例如以下图所看到的:

     


    • 加入Account后,在Server Role页面。选择DB CreatorSecurity Admin,例如以下图所看到的:

     


     

     

    情况2说明你使用的SharePointConfig DB已经在SQL Server中存在,导致无法连接SQLServer

     

    解决方式:在Connect to SQL Server页面,又一次输入的Database Name,与之前输入的保持不一致就可以。例如以下图所看到的:

     

    1

     

    希望能为正在部署SharePoint 2013的人们带来帮助。

  • 相关阅读:
    CentOS 添加sudo 用户
    CentOS 7 Hostname
    Java 两线程交替打印奇偶数(一)
    Angular2 Forms
    Built-in Components
    How Angular Works
    数字签名算法
    不对称加密算法
    对称加密算法
    消息摘要算法
  • 原文地址:https://www.cnblogs.com/gccbuaa/p/7120014.html
Copyright © 2011-2022 走看看