“microsoft.sqlserver.management.sdk.sfc”上的数据库连接错误

时间:2015-05-18 20:04:53

标签: c# sql-server visual-studio-2012 sql-server-2014

我在我的电脑上用VS 2010和SQL Server 2008在win 7开始了一个项目(winforms c#),并且每件事都很好。

然而,今天我选择使用我的笔记本电脑继续我的项目,我在win 8.1上使用VS 2012终极版和SQL Server 2014版。我的问题是我无法通过VS建立与Sql Server的连接。

它一直告诉我需要c:\windows\assembly版本11。 enter image description here

我找到了shared management objects x64.msi文件夹,发现我有ver 10和12,而不是11。

enter image description here

我安装并使用了DB2OLEDBV5x64.msiSSDT以及$("#loginButton").click(function(){ //val() is for inputs and the like and your selector is not getting the input var usr = $("#username").find('input').val(); var password = $("#password").find('input').val(); alert("user=" + usr + " and password=" + password); }); ,但没有任何变化!

问题是什么?如何解决?

有没有办法轻易更改机器而不会遇到此连接错误?

0 个答案:

没有答案
相关问题