You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to use Microsoft.Data.SqlClient and this happened;
> #r "nuget:Microsoft.Data.SqlClient"
'' not foundfor package System.Text.Encodings.Web.4.7.2
'' not foundfor package System.Text.Json.4.6.0
'' not foundfor package System.Text.Encodings.Web.4.7.2
'' not foundfor package System.Runtime.CompilerServices.Unsafe.4.7.1
'' not foundfor package System.Text.Encodings.Web.4.7.1
'' not foundfor package Microsoft.IdentityModel.Abstractions.6.22.0
'' not foundfor package System.Buffers.4.5.1
'' not foundfor package System.Buffers.4.5.1
'' not foundfor package System.Numerics.Vectors.4.4.0
'' not foundfor package System.Security.AccessControl.5.0.0
'' not foundfor package System.Security.Cryptography.ProtectedData.4.5.0
'' not foundfor package System.Security.Cryptography.ProtectedData.4.7.0
'' not foundfor package System.Security.Cryptography.Cng.4.5.0
'' not foundfor package System.Text.Encodings.Web.4.7.2
'' not foundfor package System.Configuration.ConfigurationManager.6.0.0
'' not foundfor package System.Buffers.4.5.1
Package 'Microsoft.Data.SqlClient.5.1.5' wassuccessfully installed.
That doesn't look like successful install, but I tried using it to make sure.
>usingMicrosoft.Data.SqlClient;>varconn=newSqlConnection();>conn.ConnectionString="Encrypt=True;Trust Server Certificate=True;{Redacted Credentials}";>Exceptionex;>try{conn.Open();}catch(Exceptione){ex=e;}>exThe type initializer for 'Microsoft.Data.SqlClient.TdsParser' threw an exception.>ex.InnerException
The type initializer for 'Microsoft.Data.SqlClient.SNILoadHandle' threw an exception.>ex.InnerException.InnerException
Unable to load DLL 'Microsoft.Data.SqlClient.SNI.dll' or one of its dependencies:Thespecified module could not be found.(0x8007007E)
Tried installing Microsoft.Data.SqlClient.SNI from nuget, but it didn't help.
> #r "nuget:Microsoft.Data.SqlClient.SNI.runtime"
No applicablereferences were found inside 'Microsoft.Data.SqlClient.SNI.runtime.5.1.1' package.
The text was updated successfully, but these errors were encountered:
Version
C# REPL 0.6.6+ba21d409af4dce77f8be07f6a61cdb24cd19bb29
What happened?
Tried to use Microsoft.Data.SqlClient and this happened;
That doesn't look like successful install, but I tried using it to make sure.
Tried installing Microsoft.Data.SqlClient.SNI from nuget, but it didn't help.
The text was updated successfully, but these errors were encountered: