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的人们带来帮助。

  • 相关阅读:
    如何将SLIC集成到ESXi中
    System Board Replacement Notice
    分发器上的会话代理进程控制脚本使用说明
    lib和dll的区别与使用
    vs2017自动生成的#include“stdafx.h”详解及解决方案
    禅定是否一定要打坐,为什么?
    PE文件解析 基础篇
    灵修书籍
    HDU 2546 饭卡(01背包裸题)
    codeforces 767A Snacktower(模拟)
  • 原文地址:https://www.cnblogs.com/gccbuaa/p/7120014.html
Copyright © 2011-2022 走看看