Forum Discussion
Trying to connect via ODBC. Can't find assembly 'Microsoft.SqlServer.ConnectionInfo'
- Aug 06, 2021
olafhelper Thanx. In my case, I had to download the correct version (in this case, SQL Server 2014 Feature Pack) of the Shared Management Objects (SharedManagementObjects.msi) and SQL system CLR types (SQLSysClrTypes.msi).
olafhelper Thanx for your reply.
You are correct that Microsoft.SqlServer.ConnectionInfo has nothing to do with ODBC.
I'm pretty sure I've got the SMO installed as I find Microsoft.SqlServer.ConnectionInfo.dll in a number of directories including the following:
* c:\windows\assembly\GAC_MSIL
* c:\windows Microsoft.NET\assembly\GAC_MSIL
* c:\Program Files (x86)\Microsoft SQL Server\110\SDK\Assemblies
I guess the app I'm using can't find the assembly so what can I do to set the environment so that it can find that assembly? Since it is a DLL, is it a PATH thing or something else?
- John_Carter56Aug 06, 2021Copper Contributor
olafhelper Thanx. In my case, I had to download the correct version (in this case, SQL Server 2014 Feature Pack) of the Shared Management Objects (SharedManagementObjects.msi) and SQL system CLR types (SQLSysClrTypes.msi).