Opening a Visual Studio 2010 Project in Visual Studio 2008

前端 未结 1 1709
后悔当初
后悔当初 2021-01-28 23:56

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

相关标签:
1条回答
  • 2021-01-29 00:28

    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.

    0 讨论(0)
提交回复
热议问题