如何安装 Microsoft.SqlServer.Management.SqlParser? [英] How do I install Microsoft.SqlServer.Management.SqlParser?

查看:33
本文介绍了如何安装 Microsoft.SqlServer.Management.SqlParser?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在新机器上重建时,我的 c# 安装程序项目出现了大量警告.类似的警告是,他们正在寻找 dll 的 11.0.0.0 版,其中只有 10.0.0.0 版存在.我发现这是由于安装的 SQL Server 版本 (SQL Server 2008 R2).大多数 dll 的具体原因是共享管理对象包的版本不是 11.0.0.0.

My c# installer project came up with a load of warnings when I rebuilt it on a new machine. The warnings were of the ilk that they were looking for version 11.0.0.0 of a dll where only version 10.0.0.0 existed. This I found was due to the version of SQL Server installed (SQL Server 2008 R2). Most of the dll's were specifically due to the version of the Share Management Objects package not being version 11.0.0.0.

所以我安装了共享管理对象所需的 SqlSysClrTypes.msi (x86).然后我安装了 ShareManagementObjects.msi (x86).我从这里获得它们.

So I installed SqlSysClrTypes.msi (x86) that is required for Shared Management Objects. I then installed ShareManagementObjects.msi (x86). I got them from here.

一些错误已经消失,但现在我得到 2 个似乎引用了应该从 SharedManagementObjects.msi 安装的同一个 dll.因为我目前的版本是 10.0.0.0,所以它必须是可用的/安装的.

Some of the errors have gone, but now I get 2 that seem to reference the same dll that should have been installed from SharedManagementObjects.msi. It must be obtainable / installed with something as I currently have version 10.0.0.0.

错误是:

无法找到依赖项MICROSOFT.SQLSERVER.MANAGEMENT.SQLPARSER"(Signature='89845DCD8080CC91' Version='11.0.0.0') 组装'Microsoft.SqlServer.Smo.dll'

Unable to find dependency 'MICROSOFT.SQLSERVER.MANAGEMENT.SQLPARSER' (Signature='89845DCD8080CC91' Version='11.0.0.0') of assembly 'Microsoft.SqlServer.Smo.dll'

和:

无法找到依赖项MICROSOFT.SQLSERVER.MANAGEMENT.SQLPARSER"(Signature='89845DCD8080CC91' Version='11.0.0.0') 组装'Microsoft.SqlServer.Management.SmoMetadataProvider.dll'

Unable to find dependency 'MICROSOFT.SQLSERVER.MANAGEMENT.SQLPARSER' (Signature='89845DCD8080CC91' Version='11.0.0.0') of assembly 'Microsoft.SqlServer.Management.SmoMetadataProvider.dll'

我读过的所有内容都表明 Microsoft.sqlserver.management.sqlparser 应该作为 SharedManagementObjects.msi 的一部分安装.我能做些什么来获得这个 dll?我还需要安装其他东西吗,例如 Native Client?

Everything I've read suggests that Microsoft.sqlserver.management.sqlparser should have been installed as part of SharedManagementObjects.msi. Is there something I can do to get this dll? Is there something else I need to install such as the Native Client?

推荐答案

我通过安装文件 ENUx64TSqlLanguageService.msi 解决了同样的问题.你可以在这里找到它:

I solved the same problem by installing the file ENUx64TSqlLanguageService.msi. You can find it here:

在此处选择文件 TSqlLanguageService.msi

这篇关于如何安装 Microsoft.SqlServer.Management.SqlParser?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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