Search code examples
c#asp.netvisual-studiosybase

The type initializer for 'Sybase.Data.AseClient1.AseConnection' threw an exception


I created ASP.Net web application in Visual Studio 2019. This application uses Sybase.AdoNet2.AseClient.dll to connect to Sybase database.

InnerException = "Could not load C:\Users\....\AppData\Local\Temp\Sybase.AdoNet2.AseClient.32bits.2.157.1410.0\sybcsi_openssl210.dll"

the project target framework is .Net Framework 4.5

How do fix this issue?


Solution

  • Finally i use the old version 2.157.1000.0 to Fix this problem.