顯示具有 SharePoint2013 標籤的文章。 顯示所有文章
顯示具有 SharePoint2013 標籤的文章。 顯示所有文章

2014年3月19日 星期三

Sharepoint 2013 Server Update 更新 記事

安裝好Sharepoint 2013 Server後,第一次件就是更新到最新
在官方網站上有一個 Sharepoint 2013 update積存更新 頁面

雖然是積存累計更新包,但2013年4月之後的更新包都必需要事先安裝「2013年3月更新

並且更新有一注意事項要遵循  http://go.microsoft.com/fwlink/?LinkId=279911 ,原文重點截取:

a. On the server running SharePoint Server 2013, stop the following Windows Services in this order:
SPTimerV4                      -> SharePoint Timer Service
OSearch15                           -> SharePoint Server Search 15
SPSearchHostController          -> SharePoint Search Host Controller
Note: The reason why you need to stop the SPTimerV4 service first is because the SPTimerV4 service monitors the SPSearchHostController service. The SPTimerV4 service will start the SPSearchHostController service it if it finds that the SPSearchHostController is stopped. Therefore, if the SPTimerV4 service is running after you stop the SPSearchHostController service, the SPTimerV4 service might start the SPSearchHostController without you noticing it.
b. Install the update package on the server by following the instructions that come with the update package.
c. Restart the Windows Services in the following order:
SPSearchHostController
OSearch15
SPTimerV4



所以至目前只要安裝「2013年3月更新」 + 「2013年12月更新

2014年3月18日 星期二

(Fixed)解決Office Web Application - WAC Server線上更新(Microsoft Update) 後有許多的錯誤Error EventLog

.安裝好Office Web Application - WAC Server後,將Server 進行Microsoft Update
    更新了Service Pack1之後發現有許多的Event Error Logs


.出現以下等類似的錯誤

失敗的應用程式名稱: Microsoft.Office.Web.WebOneNoteWatchdog.exe版本: 15.0.4502.1000時間戳記: 0x512d2a23
失敗的模組名稱: KERNELBASE.dll版本: 6.2.9200.16451時間戳記: 0x50988aa6
例外狀況代碼: 0xe0434352
錯誤位移: 0x000000000003811c
失敗的處理程序識別碼: 0x1830
失敗的應用程式開始時間: 0x01cf430c98ac9b91
失敗的應用程式路徑: C:\Program Files\Microsoft Office Web Apps\WebOneNoteWatchdog\Microsoft.Office.Web.WebOneNoteWatchdog.exe
失敗的模組路徑: C:\Windows\system32\KERNELBASE.dll
報告識別碼: db84a434-aeff-11e3-93f4-00155d01b161



失敗的應用程式名稱: WordViewerAppManagerWatchdog.exe版本: 15.0.4481.1000時間戳記: 0x50ee5a78
失敗的模組名稱: KERNELBASE.dll版本: 6.2.9200.16451時間戳記: 0x50988aa6
例外狀況代碼: 0xe0434352
錯誤位移: 0x000000000003811c
失敗的處理程序識別碼: 0xcc0
失敗的應用程式開始時間: 0x01cf430c9a637117
失敗的應用程式路徑: C:\Program Files\Microsoft Office Web Apps\WordViewerAppManagerWatchdog\WordViewerAppManagerWatchdog.exe
失敗的模組路徑: C:\Windows\system32\KERNELBASE.dll
報告識別碼: db8241c9-aeff-11e3-93f4-00155d01b161



失敗的應用程式名稱: ppteditingbackendwatchdog.exe版本: 15.0.4481.1000時間戳記: 0x50ee5a9e
失敗的模組名稱: KERNELBASE.dll版本: 6.2.9200.16451時間戳記: 0x50988aa6
例外狀況代碼: 0xe0434352
錯誤位移: 0x000000000003811c
失敗的處理程序識別碼: 0x1b90
失敗的應用程式開始時間: 0x01cf430c98aa3987
失敗的應用程式路徑: C:\Program Files\Microsoft Office Web Apps\PowerPointEditingServicesWatchdog_App\ppteditingbackendwatchdog.exe
失敗的模組路徑: C:\Windows\system32\KERNELBASE.dll
報告識別碼: dba87696-aeff-11e3-93f4-00155d01b161



失敗的應用程式名稱: Microsoft.Office.Excel.Server.EcsWatchdog.exe版本: 15.0.4511.1000時間戳記: 0x5164ab86
失敗的模組名稱: KERNELBASE.dll版本: 6.2.9200.16451時間戳記: 0x50988aa6
例外狀況代碼: 0xe0434352
錯誤位移: 0x000000000003811c
失敗的處理程序識別碼: 0x15f0
失敗的應用程式開始時間: 0x01cf430c9b189c8b
失敗的應用程式路徑: C:\Program Files\Microsoft Office Web Apps\ExcelServicesEcsWatchdog\Microsoft.Office.Excel.Server.EcsWatchdog.exe
失敗的模組路徑: C:\Windows\system32\KERNELBASE.dll
報告識別碼: db8bcbb0-aeff-11e3-93f4-00155d01b161



應用程式: Microsoft.Office.Excel.Server.EcsWatchdog.exe
Framework 版本: v4.0.30319
描述: 處理序已終止因為有未處理的例外狀況。
例外狀況資訊: System.TypeInitializationException
堆疊:
   Microsoft.Office.Web.Common.ServiceInstanceFinder.GetLocalAgentInstance(Microsoft.Office.Web.Common.OfficeServiceType)
   Microsoft.Office.Web.Common.WatchdogHelper.PrepareRegistrations(Microsoft.Office.Web.Common.OfficeServiceType)
   Microsoft.Office.Web.Common.WatchdogHelper.WatchMachines(Microsoft.Office.Web.Common.OfficeServiceType, CheckServiceInstance, Microsoft.Office.Web.Common.OfficeServiceType, System.String)
   Microsoft.Office.Excel.Server.EcsWatchdog.Program.Main()



應用程式: ppteditingbackendwatchdog.exe
Framework 版本: v4.0.30319
描述: 處理序已終止因為有未處理的例外狀況。
例外狀況資訊: System.TypeInitializationException
堆疊:
   Microsoft.Office.Web.Common.ServiceInstanceFinder.GetLocalAgentInstance(Microsoft.Office.Web.Common.OfficeServiceType)
   Microsoft.Office.Web.Common.WatchdogHelper.PrepareRegistrations(Microsoft.Office.Web.Common.OfficeServiceType)
   Microsoft.Office.Web.Common.WatchdogHelper.WatchMachines(Microsoft.Office.Web.Common.OfficeServiceType, CheckServiceInstance, Microsoft.Office.Web.Common.OfficeServiceType, System.String)
   Microsoft.Office.Server.Powerpoint.Watchdog.EditingBackend.Program.Main(System.String[])



應用程式: WordViewerAppManagerWatchdog.exe
Framework 版本: v4.0.30319
描述: 處理序已終止因為有未處理的例外狀況。
例外狀況資訊: System.TypeInitializationException
堆疊:
   Microsoft.Office.Web.Common.ServiceInstanceFinder.GetLocalAgentInstance(Microsoft.Office.Web.Common.OfficeServiceType)
   Microsoft.Office.Web.Common.WatchdogHelper.PrepareRegistrations(Microsoft.Office.Web.Common.OfficeServiceType)
   Microsoft.Office.Web.Common.WatchdogHelper.WatchMachines(Microsoft.Office.Web.Common.OfficeServiceType, CheckServiceInstance, Microsoft.Office.Web.Common.OfficeServiceType, System.String)
   Microsoft.Office.Web.WordViewerWatchdog.Program.Main()



應用程式: Microsoft.Office.Web.WebOneNoteWatchdog.exe
Framework 版本: v4.0.30319
描述: 處理序已終止因為有未處理的例外狀況。
例外狀況資訊: System.TypeInitializationException
堆疊:
   Microsoft.Office.Web.Common.ServiceInstanceFinder.GetLocalAgentInstance(Microsoft.Office.Web.Common.OfficeServiceType)
   Microsoft.Office.Web.Common.WatchdogHelper.PrepareRegistrations(Microsoft.Office.Web.Common.OfficeServiceType)
   Microsoft.Office.Web.WebOneNoteWatchdog.Program.Main()


 .查了許多技術文章與部落格,有了一些結論,就是重建WAC Server Farm 

1.移除原本的Office Web Application WAC Server Farm,以系統管理員身份執行PowerShell
Remove-OfficeWebAppsMachine

2.重建一次Office Web Application WAC Server Farm
建立方式參考「安裝 Office Web Application - WAC Server 安裝記事」中的"建立Office Web Application WAC Server的Server Farm(伺服器農場)"段落。



安裝 Office Web Application - WAC Server 安裝記事

.準備:
以下使用「company.com」做展示用。
1.Windows Server 2012 STD
不可以安裝有MS Office任版本的程式,也不能安裝有Sharepoint Foundation / Server。
(Do not install any version of MS-Office or Sharepoint)
2.PreReqsRoleFeatureOnServer2012 : 新增必需的Server角色

A.以系統管理員身份執行PowerShell,開啟執行權限:
set-executionpolicy bypass

B.新增必要角色:
import-module servermanager
Add-WindowsFeature Net-Framework-Features,Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices -source d:\sources\sxs\
C.重開機

3.執行Windows Update,更新.Net Framework及其它。

下載 Office Web Application WAC Server:

下載 Office Web Apps Server
·         Microsoft 下載中心
下載 Office Web Apps Server 的語言套件。
·         Microsoft 下載中心


安裝Office Web Application WAC Server:
執行wacserver.exe,依安裝指示直到完成
執行wacserverlanguagepack.exe.exe,依安裝指示直到完成

.為IIS Server建立Domain Certificate
    1.IIS站台 > 伺服器憑證
    2.建立網域憑證 > 輸入憑證資訊
    3.選取企業CA Server > 設定此憑證的好記名稱
    4.為預設的站台設定https的繫結(Bind) > 新增 https,SSL憑證指向剛建立的憑證

.建立Office Web Application WAC Server的Server Farm(伺服器農場):

以系統管理員身份執行PowerShell,開啟執行權限,其中CertificateName必需要與剛才所建立的憑證好記名稱相同。
New-OfficeWebAppsFarm -Verbose -InternalUrl https://wacserver.company.com -ExternalUrl https://wacserver.company.com -CertificateName "WAC Server Certificate" -SSLOffloaded -AllowHttp -EditingEnabled -ClipartEnabled -TranslationEnable
建立完成可以看到以下資訊,或可執行Get-OfficeWebAppsFarm指令來檢示。
重啟IIS
iisreset


.驗證測式Office Web Application WAC Server的Server Farm(伺服器農場)網站應用程式:

http://wacserver.company.com/hosting/discovery  https://wacserver.company.com/hosting/discovery


.於Sharepoint 2013 中以 OAuth驗證方式整合WAC Server。

1.建立Sharepoint 2013 Server 與WAC Server連結。
開啟Sharepoint 2013 
執行:
New-SPWOPIBinding -ServerName WACServer.company.com -AllowHTTP
Set-SPWOPIZone Internal-https
iisreset


2.設定OAuth驗證
Set-ExecutionPolicy RemoteSigned
(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp
$config = (Get-SPSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
$config.update() 

3.在Sharepoint2013 上測試Office Web App線上編輯功能





以上參考網路上許多的Blog文章或相關技術文件,加上實際多次try出來的最佳方式