none
Microsoft.SqlServer.ConnectionInfo load error RRS feed

  • Question

  • 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

    • Moved by Bob Beauchemin Saturday, December 19, 2015 10:34 PM Moving to client-side SqlClient forum for best results
    Thursday, December 17, 2015 2:32 PM

Answers

  • 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


    Friday, December 18, 2015 7:17 AM