I am trying to access an SQL Anywhere Database via ODBC, but it fails.
Via Nuget I can see only a SnapObjects.Data.Odbc Version 2.1.0, but not a Version 3-0-0-beta2.
While I am using this 2.1.0 (old?) version, the build-in Server throws the following Exception during startup.
Am I missing something?
Any ideas are welcome!
Arnd
System.TypeLoadException: Method 'get_AdoDbSchemaProvider' in type 'SnapObjects.Data.Odbc.OdbcDataContext' from assembly 'SnapObjects.Data.Odbc, Version=2.1.0.0, Culture=neutral, PublicKeyToken=98a699138181d746' does not have an implementation.
at SozialOffice.Startup.ConfigureServices(IServiceCollection services)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass12_0.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at SozialOffice.Program.Main(String[] args) in E:\wrk\PP\SNAP\SozialOffice\SozialOffice\Program.cs:line 17