Can't find Microsoft.SqlServer.ConnectionInfo.dll assembly file?

我们两清 提交于 2019-12-03 22:51:33

It is located in c:\program files\microsoft sql server\xxx\sdk\assemblies on my machine. Where xxx is the SQL Server version number (90 or 100). Not sure how it got there.

Phyu Sin Kyaw

Please right click your solution and select 'Add reference' and then select the following dlls:

  • C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.SMO
  • C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.ConnectionInfo
  • C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.Management.Sdk.sfc

On my machine it is located at C:\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies. As an alternative, you can also download the standalone installation from the SQL Server 2008 or 2008 R2 feature packs. There are individual x86 and x64 installation packages available.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!