要使用sharepoint開發一個項目,下載sharepoint server 2010並安裝,我的開發環境是win 7(x64),因此需要進行特定的設置才可以安裝,可以參考
將Sharepoint Server 2010部署到WINDOWS 7,而更加具體的sharepoint安裝,包括數據庫連接配置可以參考
參考上述文章進行安裝都很順利,但是在最后進行配置的時候出現錯誤,錯誤內容如下:
Failed to create a database. An exception of type System.Data.SqlClient.SqlException was thrown. Additional exception information: Could not find stored procedure ‘sp_dboption’.
后來查閱一些資料,在Quick Tip: Installing SharePoint Farm with SQL Server 2012這篇文章中找到答案,原因是我使用的數據時sqlserver2012而不是sqlserver2008。解決方法是需要安裝sharepoint sp1就可以解決問題了。對於這個補丁參考Description of SharePoint Server 2010 SP1。
在MSDN上夜找到了關於上述錯誤的解答:Troubleshoot SharePoint farm configuration errors related to SP1 requirement