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

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月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年8月9日 星期二

How to change Sharepoint display name ?

今天發現Sharepoint 顯示的使用者名稱不對,找到一些解法:

1. 變更單一使用者名稱:
Set-SPUser -Identity 'abc\stanford' -DisplayName '小明' -Web http://sharepoint site name 就可以將 原本 'abc\stanford' 改為'小明'.

2. 顯示網站所有使用者名稱:
Get-SPUser -Web http://sharepoint site name 

3. 整批更正:如果網站資料有多筆需要更正的,可使用下列指令來整批更正
Get-SPUser –Web http://sharepoint site name  | Set-SPUser –SyncFromAD 
將只有某些系統帳號出現錯誤訊息,其他使用者帳號將可被更正。

2011年8月1日 星期一

WSS 升級至Sharepoint Server 2010重點摘要

升級的文章已經有很多,我這次是作[資料庫附加升級]的模式,(講白一點就是,再裝一台新的,將資料庫移轉到新的Server,好處是升級失敗時,舊的環境可立即恢復):
看過很多篇,收集幾篇比較偏操作,且能夠解決遇到問題的文章。
1. 這篇提到實際升級過程中,執行Preupgradecheck 時,預到 feature info 出現 missing 時,該怎麼排除,且有Tool 能直接清掉missing的Feature! 針對移植的系統來說,很多missing的項目很好用。
http://sharepointgeorge.com/2009/upgrading-content-db-sharepoint-2010-part-1-preupgradecheck/

2. 另一個重要的參考文件: MS的[資料庫附加升級的檢查清單] http://technet.microsoft.com/zh-tw/library/ff607663.aspx 詳細說明階段與步驟。

3. 升級前:
升級前,使用Test-SPContentDatabase 進行驗證,必然出現不少問題:
3.1: 語言套件:
    如果之前WSS 安裝中文套件,一定要在新的Server上,安裝Sharepoint Language Pack for 2010 的套件。否則,執行驗證資料庫命令時 --Test-SPContentDatabase ,會出現 MissingSiteDefinition / MissingLanguagepack / ...的錯誤
注意:Fundation 與 Server 的language Pack(LP)不同,且不需先裝Fundation LP再裝Server LP. (and Restart server )

3.2:Template 套件:
    如果之前安裝Template,如ApplicationTemplateCore.wsp,會檢查出新的Server Default的Content DB內缺少舊DB 所需的Feature。如下:

Category        : MissingFeature
Error           : True
UpgradeBlocking : False
Message         : Database [WSS02_Content] has reference(s) to a missing feature: Id = [75a0fea7-cd50-401e-af0e-782f3662a299].

排除方法:用Google 查Feature id是那個Template,再進行安裝。
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=20267

4. 驗證無誤後,可將DB Mount 並更新設計到新Server的Site,用Mount-SPContentDatabase。
 前提記得先將新Site的Content DB卸載。
如果由一台SPS2010 更換DB到另一台SPS2010 ,需注意兩邊的SPS版本必須一樣,查找步驟:System setting => Manage server in this farm.

5. 升級過後的驗證:
5-1.出現: [無法為 "1028/styles/portal.css" 建立不使用快取的 URL,找不到檔案。請確定檔案存在於版面配置目錄之下。]
Ans : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1028\STYLES\ 下缺少 portal.css file ,可自行設計或將Core.css 複製後更名為Portal.css。
相同的,如有xxx.js找不到,可到\14下的其他目錄,或舊Server找找,再複製到相對應目錄即可。
5-2. 若無法顯示頁面:
a. 可以直接前往 URL (http:// siteurl/_layouts/settings.aspx) 查看 [網站設定] 頁面。
b. 新版Layout:使用IE8或以上的Browser,至首頁=>網站動作=>視覺更新。