如何修复visual studio中的错误?
问题描述:
请帮忙!
当我尝试访问与visual studio 2008连接的数据库时出现此错误。此服务器版本不受支持。仅提供服务器支持Microsoft SQL Server 2005。
Please help!
I get this error when i try to access my database connected with visual studio 2008. "This server version is not supported. Only servers up to Microsoft SQL Server 2005 are supported".
答
我猜你正在使用Visual Studio 2005(或者可能更早) - 这意味着.NET 2(我认为)。您需要.NET 3.5 SP1才能支持SQL Server 2008(它位于发行说明中: http://www.microsoft.com/en-us/download/details.aspx?id=10986 [ ^ ])
我怀疑你会有咬紧牙关,将你的视觉工作室升级到更现代的版本:2008年至少,但如果你不能跑到2012/2013年,2010年会更好。
请记住,微软是VS的版本,所以应该可以下载VS Express 2013并免费试用你的代码,然后再付钱。
I'm guessing that you are using Visual Studio 2005 (or possibly earlier) - and that implies .NET 2 (I think). You need .NET 3.5 SP1 in order to support SQL Server 2008 (it's in the release notes: http://www.microsoft.com/en-us/download/details.aspx?id=10986[^])
I suspect that you are going to have to bite the bullet and upgrade your Visual studio to a more modern version: 2008 as a minimum, but probably 2010 would be better if you can't run to 2012 / 2013.
Remember that Microsoft do Express versions of VS so it should be possible to download VS Express 2013 and try your code for free before you have to shell out any money.