最近为了能让PDF在线review,所以安装了460287_intl_x64_zip.exe 这个OWA的hotfix, 安装后,发现OWA挂了,一段搜索之后,发现要重新配置OWA:
1. 在OWA的机器上配置OWA Farm
Import-Module OfficeWebApps
New-OfficeWebAppsFarm -InternalUrl "OWA Server FQDN" -AllowHttp -EditingEnabled -Confirm:$false
2. 在Sharepoint的机器上配置Binding
Add-PSSnapin Microsoft.SharePoint.PowerShell -ea 0
Remove-SPWOPIBinding –All:$true -Confirm:$false
$server = "OWA Server FQDN" New-SPWOPIBinding -ServerName $server -AllowHTTP
Set-SPWOPIZone –zone "internal-http" -Confirm:$false
$a = New-SPUserLicenseMapping -SecurityGroup "Domain Users " –License OfficeWebAppsEdit
$a | Add-SPUserLicenseMapping
Enable-SPUserLicensing -Confirm:$false