Rob*_*nik 8 sharepoint installation configuration windows-7 sharepoint-2010
我正在尝试使用 Power Shell 运行非 GUI 版本的配置向导,因为我想设置配置和管理数据库名称。GUI 向导并没有为您提供所有可能的配置选项(但即使它也没有这样做)。
我运行这个命令:
New-SPConfigurationDatabase
-DatabaseName "Sharepoint2010Config"
-DatabaseServer "developer.mydomain.pri"
-AdministrationContentDatabaseName "Sharepoint2010Admin"
-DatabaseCredentials (Get-Credential)
-Passphrase (ConvertTo-SecureString "%h4r3p0int" -AsPlainText -Force)
Run Code Online (Sandbox Code Playgroud)
当然,所有这些都在同一条线上。我将它们分解成单独的行,以便于阅读。当我运行此命令时,出现此错误:
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
Run Code Online (Sandbox Code Playgroud)
我创建了两个域帐户并且没有将它们添加到任何组:
我正在以域管理员身份运行 powershell 控制台。我尝试以域管理员身份运行 SQL Management Studio 并创建了一个虚拟数据库,并且它没有问题。
我在跑:
我已经根据 MS 指南安装了 Sharepoint http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx安装了与我的配置相关的所有其他补丁。
任何想法我应该怎么做才能使它工作?
您似乎缺少FarmCredentials
cmdlet 所需的参数。
如果这没有帮助,您可能需要以管理员身份运行 Powershell 控制台才能使命令正常工作。
http://technet.microsoft.com/en-us/library/ff607838.aspx
归档时间: |
|
查看次数: |
14023 次 |
最近记录: |