无法加载程序集'Microsoft.sqlsever.SqlTDiagM,version = 11.0.0.0'

编程入门 行业动态 更新时间:2024-10-28 04:28:59
本文介绍了无法加载程序集'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'

本文发布于:2023-11-12 03:23:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580368.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:加载   程序   Microsoft   sqlsever   version

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!