有園子里的朋友問(wèn)到一個(gè)問(wèn)題:系統(tǒng)上安裝的是vs2008+Sql 2005 developer(沒(méi)有安裝Sql server 2005 Express ) 用代碼直接連SQL Server服務(wù)器沒(méi)有問(wèn)題,但在項(xiàng)目中數(shù)據(jù)源改用SQL Server數(shù)據(jù)庫(kù)文件時(shí)出錯(cuò),提示錯(cuò)誤如下: “與SQL Server文件(*.mdf)的連接要求安裝SQL Server2005才能正常工作,請(qǐng)確認(rèn)是否安裝了該組件,……” 英文版為“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.”