2010-01-05 22 views
0

在Visual Studio 2008中,我可以添加一個本地數據庫文件(.sdf)並使用它很好。在Visual Studio 2010 B2,我可以添加文件,但它不會添加到服務器資源管理器,當我嘗試雙擊它我得到這個錯誤:如何讓本地數據庫文件在Visual Studio 2010 B2中工作?

The operation could not be completed. Unspecified error

有其他人得到了這個錯誤?有誰知道如何修理它?谷歌在這方面並沒有給我太多的幫助。

更新:我現在已經得到了一個新的錯誤消息。當我重新安裝了SQL Server精簡版,然後刪除了SDF文件,並重新添加它,我得到這個消息:

The data provider required to connect to the local data file could not be found. The file will be added to the project but the typed DataSet associated with the file will not be generated.

+0

我知道它,因爲我一直在使用緊湊型3.5 SP1與B2工作。從來沒有得到那個錯誤。我會考慮重新安裝Sql Server compact。 – Will 2010-01-05 19:20:35

+0

這是很好的知道。現在我知道這是值得追逐的東西,因爲我認爲這可能只是一個B2問題。 – 2010-01-05 19:27:36

回答

1

我猜的x64用戶的運氣了,這不爲我工作的。 我什麼都試過,安裝,拆卸,安裝Visual Studio(2008年)的其他版本,更新SQL精簡版,刪除它,使用原始版本,並再次SP1 沒有運氣。 如果我安裝VS2008,它完美的工作。

相關問題