1. Arnd Schmidt
  2. SnapDevelop
  3. Monday, 11 January 2021 21:58 PM UTC

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!


System.TypeLoadException: Method 'get_AdoDbSchemaProvider' in type 'SnapObjects.Data.Odbc.OdbcDataContext' from assembly 'SnapObjects.Data.Odbc, Version=, 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


Accepted Answer
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Monday, 11 January 2021 22:55 PM UTC
  2. SnapDevelop
  3. # Permalink

Hi Arnd,


Have you tried clicking on the "Include prerelease" checkbox of SnapDevelop's NuGet Manager?




There are no comments made yet.
Arnd Schmidt Accepted Answer Pending Moderation
  1. Monday, 11 January 2021 23:12 PM UTC
  2. SnapDevelop
  3. # 1

Good point!

I got it already working, but don't know why and how.

AFAIK my internet connection was also down :-)






There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.