无法加载程序集'Microsoft.sqlsever.SqlTDiagM,version = 11.0.0.0' [英] Could not load assembly 'Microsoft.sqlsever.SqlTDiagM,version=11.0.0.0'

查看:83
本文介绍了无法加载程序集'Microsoft.sqlsever.SqlTDiagM,version = 11.0.0.0'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在vs2012 wpf项目中添加Sql sever CE数据库4.0。当我从新项目添加它添加,当我尝试创建一个表时,它显示我跟随错误。我已经安装了sql sever compact edition 4.0。我也在我的系统中找到了一个dll版本9和10而不是11.我应该下载这个?

解决方案

请在这里找到解决方案。

哪个已被接受为解决方案,可以帮到你。



Microsoft sql server sqltdiagm - file - missing [ ^ ]


C:\Program Files \ Microsoft SQL Server \\\ SDK \Assemblies是正确的文件夹位置。



你需要添加引用:



 Microsoft.SqlServer.ConnectionInfo.dll 

Microsoft.SqlServer.Smo。 dll

Microsoft.SqlServer.Management.Sdk.Sfc .dll

Microsoft.SqlServer.SqlEnum.dll

(这些是构建SMO应用程序所需的最小文件)

Ref。 :如何:在Visual Studio .NET中创建Visual C#SMO项目





Ref。:如何:在Visual Studio .NET中创建Visual C#SMO项目

[ ^


i want to add Sql sever CE database 4.0 in vs2012 wpf project. when i add from new item it add , when i trying to create a table it shows me following error. i already installed sql sever compact edition 4.0. i also find a dll in my system i gel version 9 and 10 but not 11. where i should download this?

解决方案

Please find the solution here.
Which has accepted as solution, may help you.

Microsoft sql server sqltdiagm - file - missing[^]


C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies is the correct folder location.

You need to add references to:

Microsoft.SqlServer.ConnectionInfo.dll

Microsoft.SqlServer.Smo.dll

Microsoft.SqlServer.Management.Sdk.Sfc.dll

Microsoft.SqlServer.SqlEnum.dll

(These are the minimum files that are required to build an SMO application)

Ref.: How to: Create a Visual C# SMO Project in Visual Studio .NET



Ref.: How to: Create a Visual C# SMO Project in Visual Studio .NET
[^]


这篇关于无法加载程序集'Microsoft.sqlsever.SqlTDiagM,version = 11.0.0.0'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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