vs2010 plz中的错误解决了它 [英] error in vs2010 plz solve it

查看:117
本文介绍了vs2010 plz中的错误解决了它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在进行数据库连接时遇到问题,
在Windows窗体中,当我通过单击新项添加基于服务的新数据库时,出现错误.我会说那是
连接到sql server数据库文件.mdf,要求在本地计算机上安装并运行sql server 2005 Express或sql server 2008 express"
我想做我的项目,但是由于这个错误,我无法继续.
我已经安装了一个名为sql server 2012 express local db的数据库. 但是它不起作用.我刚刚安装了该文件,而新的db 2012 express却没有做任何事情
任何人都可以帮忙吗
在此先感谢

i have a problem in doing my database connectivity,
in windows form when i add a new service based database by clicking new item it gives me error. i will state that is
"connection to sql server database files .mdf, require sql server 2005 express or sql server 2008 express tobe installed and running on the local computer"
plz guyz i want to made my project but because of this error i cant proceed.
i have installed a database named sql server 2012 express local db
but its not working.i have just installed that and nothing done with that new db 2012 express
can anyone helpme out of it
thanks in advance

推荐答案

您是否遵循以下步骤:
http://msdn.microsoft.com/en-us/library/hh500335%28v = vs.103%29.aspx [ ^ ]

看起来您可能缺少Visual Studio软件包上的Service Pack ...

我毫不费力地拥有VS 2010和SQL 2012,所以...
Did you follw these steps:
http://msdn.microsoft.com/en-us/library/hh500335%28v=vs.103%29.aspx[^]

Looks like you might be missing a service pack on you Visual Studio package...

I currnely have VS 2010 and SQL 2012 without any problems, so...


您不能简单地将数据库文件(.mdf)附加并运行到与创建的引擎不同的引擎上它.它们之间可能有几个差异.您可以使用备份-还原方法 [ ^ ],否则您可能需要升级数据库: http ://msdn.microsoft.com/en-us/library/ms189625.aspx [ ^ ].另请阅读: http://www.mssqltips.com /sqlservertip/1436/upgradeing-sql-server-databases-and-changing-compatibility-levels/ [
You can not simply attach and run a database file (.mdf) to a different engine than the one that created it. There might be several differences between them. You can use the backup-restore method[^], or you will probably need to upgrade the database: http://msdn.microsoft.com/en-us/library/ms189625.aspx[^]. Read also this: http://www.mssqltips.com/sqlservertip/1436/upgrading-sql-server-databases-and-changing-compatibility-levels/[^]


这篇关于vs2010 plz中的错误解决了它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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