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

  • 相关阅读:
    当前form窗体随系统屏幕变化
    js类型检测
    js和jquery中的遍历对象和数组(forEach,map,each)
    学了display:flex垂直居中容易多了
    php发送get和post请求
    php输出日志的实现
    php每天自动备份数据库
    windows计划任务
    Css Sprite 图片等比缩放图片大小
    使用js编写一个简单的运动框架
  • 原文地址:https://www.cnblogs.com/gccbuaa/p/7120014.html
Copyright © 2011-2022 走看看