1
當我將數據庫添加到Visual Studio 2010以製作MVC3應用程序時,發現此錯誤。我使用SQL Server 2008的將數據庫添加到mvc3應用程序時出錯
The database 'C:\USERS\KAPIL.AGRAWAL\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\DT\DT\APP_DATA\DTRIAL.MDF'
cannot be opened because it is **version 661**.
This **server supports version 655** and earlier. A downgrade path is not supported.
**Could not open new database** 'C:\USERS\KAPIL.AGRAWAL\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\DT\DT\APP_DATA\DTRIAL.MDF'.
CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file c:\users\kapil.agrawal\documents\visual studio 2010\Projects\dt\dt\App_Data\dtrial.mdf failed.
A database with the same name exists, or specified file cannot be opened,
or it is located on UNC share.
你有什麼試過?您是否能夠消除最後一行中列出的任何可能的原因? – 2011-06-03 07:27:22