windows-7 – 无法成功运行Sharepoint Foundation 2010第一次配
我正在尝试使用power shell运行非GUI版本的配置向导,因为我想设置config和admin数据库名称. GUI向导不会为您提供所有可能的配置选项(但即使它没有这样做). 我运行这个命令: New-SPConfigurationDatabase -DatabaseName "Sharepoint2010Config" -DatabaseServer "developer.mydomain.pri" -AdministrationContentDatabaseName "Sharepoint2010Admin" -DatabaseCredentials (Get-Credential) -Passphrase (ConvertTo-SecureString "%h4r3p0int" -AsPlainText -Force) 当然所有这些都在同一条线上.我把它们分成不同的行,以便于阅读.当我运行此命令时,我收到此错误: New-SPConfigurationDatabase : Cannot connect to database master at SQL server a t developer.mydomain.pri. The database might not exist,or the current user does not have permission to connect to it. At line:1 char:28 + New-SPConfigurationDatabase <<<< -DatabaseName "Sharepoint2010Config" -Datab aseServer "developer.mydomain.pri" -AdministrationContentDatabaseName "Sharepoint 2010Admin" -DatabaseCredentials (Get-Credential) -Passphrase (ConvertTo-SecureS tring "%h4r3p0int" -AsPlainText -Force) + CategoryInfo : InvalidData: (Microsoft.Share...urationDatabase: SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase],SPExcep tion + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon figurationDatabase 我创建了两个域帐户,但没有将它们添加到任何组: > SPF_DATABASE – 数据库帐户 我正在运行powershell控制台作为域管理员.我曾尝试将SQL Management Studio作为域管理员运行并创建了一个虚拟数据库,并且它没有问题. 我在跑: >应安装Sharepoint Foundation 2010的计算机上的Windows 7 x64,并且还预装了SQL Server 2008 R2数据库 我根据MS指南http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx安装了Sharepoint,安装了与我的配置相关的所有其他补丁. 任何想法我应该怎么做才能使它工作? 您似乎缺少cmdlet所需的FarmCredentials参数.如果这没有帮助,您可能需要以管理员身份运行Powershell控制台才能使命令正常工作. http://technet.microsoft.com/en-us/library/ff607838.aspx (编辑:信阳站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- windows-server-2008 – 完全禁用“此程序已停止工作等”对
- windows-server-2003 – 监控服务器温度的最佳方法是什么?
- 如何使用Windows管理中心来管理Windows 10
- windows – 追踪哪个进程/程序导致Kerberos预身份验证错误(
- Windows DNS Server 2008 R2谬误地返回SERVFAIL
- 如何在Linux中列出可用的软件包组
- 炫酷!回顾设计师们眼中的Windows 10开始菜单
- 如何在树莓派上搭建WordPress
- 电脑已满足不了人类了:开发者拟在图形计算器上运行Windows
- SDKMAN:轻松管理多个软件开发套件 (SDK) 的命令行工具
- windows-server-2003 – Windows Server SBS 200
- 戴尔承诺支持微软Win11,戴尔同享PC免费升清单超
- windows-server-2008-r2 – 正常文件隐藏系统不等
- 我应该安装Windows Management Framework 3.0吗?
- Windows10更新暗藏“吃”电漏洞:7分钟掉25%
- Linux运维如何从初级进阶为高级?需要掌握哪些必
- Windows 10系统各版本功能比较说明
- 真相终于揭露!微软下架WSATools原因被公开
- active-directory – 故意破坏与Windows域的信任
- windows-server-2008 – 什么是Windows等同于Pup