有園子里的朋友問到一個問題:系統上安裝的是vs2008+Sql 2005 developer(沒有安裝Sql server 2005 Express ) 用代碼直接連SQL Server服務器沒有問題,但在項目中數據源改用SQL Server數據庫文件時出錯,提示錯誤如下: “與SQL Server文件(*.mdf)的連接要求安裝SQL Server2005才能正常工作,請確認是否安裝了該組件,……” 英文版為“Connections to SQL Server Files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URl: http:go.microsoft.com/fwlink/?linkID=49251.”