Share via


Microsoft.SqlServer.ConnectionInfo load error

Question

Thursday, December 17, 2015 2:32 PM

Hi

I am reffering his dll and other 3 dlls in my C# project through nuget. It is working fine on my machine. My local machine has sql server installed.

Now I am moving this code to another server which does not have any sql server installed on it. I get below error on execution that 

System.IO.FileNotFoundException: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging,

Dont know what to do? I am referring all such sql  dlls using nuget package.

Regards

User232482

All replies (1)

Friday, December 18, 2015 7:17 AM âś…Answered

Now I am moving this code to another server which does not have any sql server installed on it. I get below error on execution that 

Hi User232482,

The ConnectionInfo.dll is part of the SQL Server SDK Assemblies, can you check if the SQL Server SDK is installed on "another server"? Usually it locates at "C:\Program Files\Microsoft SQL Server\110\SDK\Assemblies" for SQL Server 2012 in your case(version=11.0).

If not, you can install it following below steps.

Eric Zhang
TechNet Community Support