Opening a Visual Studio 2010 Project in Visual Studio 2008

帅比萌擦擦* 提交于 2019-12-20 07:14:38

问题


I have an application on c# and sql client, visual studio 2010, I want to open the project on visual stdio 2008, I open new solution and add the project to him. but on run time I accept this error: cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported.


回答1:


The MDF database in your project is version 655, which indicates it was created on SQL Server 2008. The server you connect to only accepts version 612, which indicates is a SQL Server 2005. A database created on SQL Server 2008 cannot be downgraded to SQL Server 2005. You must make sure you develop your database for the correct target server version. Now you have to either upgrade your deployment site to SQL Server 2008, or copy all the content of your SQL Server 2008 database into a new SQL Server 2005 database.



来源:https://stackoverflow.com/questions/4980705/opening-a-visual-studio-2010-project-in-visual-studio-2008

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!