该错误的原文是:the apps are disabled in this site
可以在yahoo或者bing上搜索这个错误,可以找到解决办法;
msdn上也有该错误解决办法,但是如果搜索中文,目前是找不到的。
解决方案都是一致的,即sahrepoint2013安装完后,需要通过powershell创建app domain
原文地址:http://msdn.microsoft.com/en-us/library/fp179923%28v=office.15%29
操作命令:
在开始 sharepoint 2013 powershell命令提示框中输入以下,即解决:
net start spadminv4 这个服务默认可能禁用,需要改成自动后开启 Set-SPAppDomain "your app domain" 我输入的是 win server 2008的机器名字 Get-SPServiceInstance | where{$_.GetType().Name -eq "AppManagementServiceInstance" -or $_.GetType().Name -eq "SPSubscriptionSettingsServiceInstance"} | Start-SPServiceInstance Get-SPServiceInstance | where{$_.GetType().Name -eq "AppManagementServiceInstance" -or $_.GetType().Name -eq "SPSubscriptionSettingsServiceInstance"} $account = New-SPManagedAccount $account = Get-SPManagedAccount "domain\user" 这里改成机器名\administrator $appPoolSubSvc = New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account $appPoolAppSvc = New-SPServiceApplicationPool -Name AppServiceAppPool -Account $account $appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp –DatabaseName SettingsServiceDB $proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc $appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name AppServiceApp -DatabaseName AppServiceDB $proxyAppSvc = New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc Set-SPAppSiteSubscriptionName -Name "app" -Confirm:$false
这样就不会报“此站点已经禁用应用程序”的错了。
时间: 2024-10-28 23:59:46