2011年11月28日 星期一

PowerPoint Web App 時發生錯誤。請稍後再試。

Sharepoint 2010 於網頁瀏覽檔案時,點選"Edit in Browser"時,出現「PowerPoint Web App 時發生錯誤。請稍後再試。」的錯誤訊息。
查找的結果如下,須安裝Hotfix 套件:
http://support.microsoft.com/kb/2553919/zh-tw

但我先在測試環境測試結果,出現英文的錯誤訊息如下:「PowerPoint Web App encountered an error. Please try again.」,經測試環境的驗證發現,是Powerpoint 的Service Application Pool & Proxy 未建立。
依照下面參考文件(http://technet.microsoft.com/en-us/library/hh269604.aspx)的:

End users cannot view or edit Office 2010 documents in the browser 階段的說明進行設定,即可排除問題:

    • 1. 確認 Excel Calculation Services,PowerPoint Service, and Word Viewing Service exist and are startedService 已啟動: Central Administration Web site => Application Management =>  Manage services on server.
    • 2. 確認 Office Web Apps service applications and proxies 已建立。
      1. Application Management => Manage service applications. => 確認applications已存在:
        1. Excel Services Application Web service application 
        2. PowerPoint service application 
        3. Word Viewing service application 

    • 3. 確認三個依存的Proxy group 已存在。
    • 4. 確認存取權限,參閱說明。

2011年11月16日 星期三

Lync 跨Domain Federation 的設定方法

Lync 跨Domain 需有幾個條件:
1. 部屬Edge Server:與其他Domain 界接
2. 外部DNS 有SRV Record: _sipfederationtls._tcp.<domain name> 為 <edge server fqdn>, port 5061
3. 與公眾Provider (MAN/Yahoo等)界接,需花錢更換Edge Server的憑證為外部合法的憑證
4. 購買合法的License

測試環境說明:
1. 兩個沒有Trust 的Domain:domainA.com 及domainB.com
2. Edge Server FQDN為:Exedge-sip.domainA.com 及exedge-sip.domainB.com
3. DNS SVR Record :
DomainA的SVR Record : _sipfederationtls._tcp.domainA.com 為exedge-sip.domainA.com
DomainB的SVR Record : _sipfederationtls._tcp.domainB.com 為exedge-sip.domainB.com
4. 雙方Root CA憑證

步驟:
1. 將Root CA憑證安裝到對方Domain 的Edge Server上:登入Exedge-sip.domainA.com =>mmc=>新增崁入式單元:"憑證Certificate"=>增加My user account & Computer account (local) => 匯入另一個Domain 的Root CA,出現在Certificates-Current user 的Intermediate Certificate Authorities -> Certificates內=> Copy到 Certificate(Local Computer)的Trusted Root Certification Authorities->Certificates內。
2. 另一個DomainB的Exedge-sip.domainB.com 匯入DomainA的Root CA。
3. 設定Feredated Domains : 於DomainA 的Front End Server 上開啟Lync Server Control Panel => External User Access => 1) External Access Policy : Enable communications with federated user. 2)Access  Edge Configuration : Enable federation & Enable partner domain discovery. 3)Federated Domains : New => Allowed domain => Domain name : domainB.com => Access Edge Service : exedge-sip.domainB.com.
4. 同樣的,DomainB 也設定DomainA的Exedge-sip.domainA.com 為domainA.com 的 Edge Server .

未能正常連線的測試:
1. 驗證是否能正確查詢對方的SRV:
1) nslookup - 8.8.8.8
2) set type=srv
3) _sipfederationtls._tcp.domainA.com

2. 啟用Lync Client 的Log機制:
1) lync 選項=>一般=>紀錄=>勾選:在Lync中開啟紀錄
2) Lync重新啟動=>登入
3) 輸入另一個Domain 的Uuser : user1@domainA.com
4) 檢查Log : C:\Documents and Settings\<user name>\Tracing\Communicator-uccapi-0.uccapilog
5) 查詢 "ms-diagnostics",確認"reason"的錯誤原因。

相關參考文件:
1. http://ucworld.blog.51cto.com/811917/499165
2. 用Google 查ms-diagnostics的錯誤訊息
3. http://www.shudnow.net/2011/02/01/lync-2010-edge-utilizing-windows-server-2008-r2-federation-tls-issues/

2011年11月8日 星期二

Sharepoint 啟動網站流量分析

Sharepoint 網站流量分析是滿好用的,有很多圖表及檢視角度。
啟用步驟如下:
1. 需有一個Web Analytics Service Application(Go to Central Administration -> Application Management -> Manage service applications=> new => Web Analytics Service Application),過程中建立一個Web Pool及兩個DB(staging & reporting DB)
2. 啟用兩個Server Serivces : Web Analytics Data Processing Service/ Web Analytics Web Service (Central Administration -> Application Management -> Manage service on server )
3. 啟用 Web Analytics Service 應用程式的流量記錄
  1. 確認執行此程序的使用者帳戶是伺服器陣列管理員群組的成員。
  2. 在管理中心首頁上,按一下 [監視]
  3. 在 [監視] 頁面上,按一下 [報告] 區段中的 [設定 Usage and Health Data Collection]
  4. 在 [設定 Usage and Health Data Collection] 頁面的 [使用狀況資料收集] 區段中,選取 [啟用使用狀況資料收集] 核取方塊。
  5. 在 [事件選擇] 區段中,選取 [要記錄的事件] 清單內事件旁的核取方塊,以選取您要記錄的事件。確定至少已選取下列事件:
    1. 頁面要求
    2. 搜尋查詢使用情況
    3. 網站庫存使用狀況
    4. 分級使用量
  6. 在 [使用狀況資料收集設定] 區段的 [記錄檔位置] 方塊中,輸入您要寫入使用狀況和狀況資訊的目標資料夾路徑。所有伺服器陣列的伺服器上必須存在您指定的路徑。
  7. 在 [記錄檔大小上限] 方塊中,以 GB 為單位 (從 1 到 20 GB) 輸入記錄檔的磁碟空間上限。
  8. 按一下 [確定] 儲存設定並啟用流量記錄。