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. 按一下 [確定] 儲存設定並啟用流量記錄。

2011年10月31日 星期一

Sharepoint 2010 啟用 Office Web Apps

最近研究Sharepoint 的共同編輯(Co-author),發現Word / PowerPoint 都可以共同編輯,唯讀 Excel 不行,是沒裝好嗎?

發現不是,目前Excel 2010 並不支援共同編輯,必需採用Browser的方式才能共同編輯。
MS的說明如下:
http://technet.microsoft.com/en-us/library/ff718249.aspx
The Excel 2010 client application does not support co-authoring workbooks in SharePoint Server 2010. However, the Excel client application does support non-real-time co-authoring workbooks stored locally or on network (UNC) paths by using the Shared Workbook feature. Co-authoring workbooks in SharePoint is supported by using the Microsoft Excel Web App, included with Office Web Apps. Office Web Apps is available to users through Windows Live and to business customers with Microsoft Office 2010 volume licensing and document management solutions based on Microsoft SharePoint 2010 Products. 

安裝Office Web Apps 除了裝好後,還需By Site 啟動Feature,步驟如下:
http://technet.microsoft.com/en-us/library/ff431687.aspx

測試結果還真的滿陽春的。
第一個標簽頁:File,內含(Open in Excel / Where's the Save Button/ Save As / Download s shapshot/ Download a copy)
第二個標簽頁:Home,含有基本的Cut / Copy/ Paste / 字型/大小/斜體/ Table 的 Insert / delete 等..
第三個標簽頁:Insert,只有 Table / Hyperlink
沒了!

相對於MS Excel Web App SkyDrive 的功能上,至少SkyDrive 的Insert 標簽頁上,尚有函數及各式圖表可用(直條圖/折線圖/圓形圖/橫條圖/區域圖/散佈圖等)

2011年10月13日 星期四

Lync 2010 Edge Server installation information

MS的Lync Edge Servers安裝說明(http://technet.microsoft.com/en-us/library/gg398230.aspx),看似很詳細,但總是有一種無法確定是否真是這樣作的感覺,相對於這篇來說(http://ocsguy.com/2010/11/21/deploying-an-edge-server-with-lync/),這篇就是一步一步說明如何安裝,如何設定NIC。
這篇提到一張Edge只需要一張網卡(http://chandler-bin.blogspot.com/2011/09/lync-2010-edge-server-for-internet.html)
因此我也只用一張網卡,補充說明幾點:
1. 我也只用一張網卡,Internal IP Bind 3 External IP由於同一網段,就不需要下route -p xxx的Command.
Ex:
Edge Server IP :192.168.1.14
Exedge-sip.<domain> IP: 192.168.1.15
Exedge-webconf.<domain> IP: 192.168.1.16
Exedge-av.<domain> IP: 192.168.1.17
2. 安裝好後,Lync Client 於外部連線時,需使用 443 port,因此,測試時需變更登入位址:檔案=>變更登入位址=>進階=>手動設定=>內部伺服器名稱或IP位址改為:exedge-sip.<domain>:443
3. Lync Server Control Panel 的Topology 所顯示的Edge Server Status 為N/A,但功能都是正常的,可能與沒有Joint domain有關。

2011年9月22日 星期四

IRM Client 無法正常開啟文件

如果電腦裝過一些未經合法或驗證的軟體,可能造成IRM Client無法正常開啟受保護文件。
訊息如下:"Microsoft Office 偵測到您的「資訊版權管理」設定發生問題。請連絡您的管理員以取得其他資訊"或"你沒有權限開啟此文件"

下面整理Windows XP 無法連上IRM (AD RMS)Server 的處理方法:
1. 確認RMS Client已正常安裝(RMS SP2-KB917275-Client)
2. 已安裝RMS Client, 如為Office 2003 ,需上Hotfix Office2003-KB978551 
3. 刪除%username%AppData/Local/Microsoft/DRM 目錄
如仍無法使用.
4. 先用IRMCheck Tools檢查
5. 如果IRMCheck 後顯示Operating system 項目的 ntdll.dll not found. ,則需
5-1 Windows 重新安裝XP-SP3
5-2
使用 SFC /scannow 重新確認遺失連結(XP-SP3 Source CD)
6. 如果 Certificates 未出現 GIC/CLC的憑證資訊:
  6-1確認 %username%AppData/Local/Microsoft/DRM/ 是否產生 Cert-Machine.Drm 
    6-2如已產生Cert-Machine.Drm 但仍無法連上IRM Server,此時User Certificate無法下載=> 確認使用AD IRM Server work well.
  6-3清除cookie/temp files

7. 可多利用IRMCheck Tools確認系統狀態,再拿 Error 項目上網搜尋

8. 如果還不行,可用DebugView收集Error Log.

9. 如果是特定軟體影響,大部分都可用IRMCheck Tools發現:

2011年9月12日 星期一

Office 開啟速度很慢..

今天使用者反應Office 2003 的Excel / Word 等的反應速度很慢,查了幾篇文章,提到一個可行的方法:於"檔案類型"之副檔名的"開啟舊檔"屬性下,取消DDE及加上"%1" 的做法。
參考文件如下:
http://blog.xuite.net/andrew2/mrw/27329565
http://forums.techarena.in/ms-office-support/889081.htm


9/20 修正:
關於取消DDM的作法,爬了一下文,部分人士主張不應如此,提到是Office Add-On的元件拖慢開啟的速度。試了一下確認可行,關閉步驟如 下:
Office 2010下於檔案=>選項=>增益集=>管理:點選[COM增益集]=>執行=>新視窗中,取消非Windows 的增益集功能。
之後測試開啟文件速度