打开Visual Studio 2010的项目在Visual Studio 2008 [英] Opening a Visual Studio 2010 Project in Visual Studio 2008

查看:179
本文介绍了打开Visual Studio 2010的项目在Visual Studio 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对C#和SQL客户端,Visual Studio 2010中的应用程序,我想打开该项目于视觉的stdio 2008年,我打开新的解决方案和项目添加到他。但在运行时我接受这个错误:
不能打开,因为它是655版本该服务器支持版本612和更早版本。不支持降级路径。

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.

推荐答案

在你的项目中的MDF数据库是655版本,这表明它是SQL Server上创建2008年,你只连接到服务器接受版本612,这表明是一个SQL Server 2005的SQL Server 2008上创建不能降级到SQL Server 2005数据库,则必须确保您开发数据库中正确的目标服务器版本。现在,你必须要么升级您的网站部署到SQL Server 2008或2008数据库复制你的SQL Server的所有内容到一个新的SQL Server 2005数据库。

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.

这篇关于打开Visual Studio 2010的项目在Visual Studio 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆