Could not load file or assembly 'Sybase.AdoNet2.AseClient, exception in ASP.NET

0

While running .NET code in my system, I'm getting the below exception:

Could not load file or assembly 'Sybase.AdoNet2.AseClient, Version=2.155.8000.0, Culture=neutral, PublicKeyToken=95d94fac46c88e1e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

asp.net
.net
vb.net
asked on Stack Overflow Aug 19, 2014 by user3668427 • edited May 30, 2019 by Felipe Augusto

1 Answer

0

In case of .Net Core I could solve the error by using a different approach to connect:

public MyContext() : base(new SybaseDataProvider("Core"), "You connection string here") { }

Before that I was trying to implement the ILinqToDBSettings file, but as I saw inside the code of linq2db there is a comment about that incompatibility:

enter image description here

answered on Stack Overflow Aug 24, 2018 by Felipe Augusto

User contributions licensed under CC BY-SA 3.0