Home > Back-end >  Running Apache.Ignite.exe in version 2.13 throws System.Configuration.ConfigurationErrorsException
Running Apache.Ignite.exe in version 2.13 throws System.Configuration.ConfigurationErrorsException

Time:05-12

I was going to upgrade Apache Ignite from version 2.10 to 2.13. When I am running Apache.Ignite.exe from apache-ignite-2.13.0-bin\platforms\dotnet\bin\net461 with default config file, I am getting the exception bellow. Is that a bug in 2.13 version?

ERROR: System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for igniteConfiguration: Type 'Apache.Ignite.Core.IgniteConfigurationSection' does not inherit from 'System.Configuration.IConfigurationSectionHandler'. (C:\Program Files\apache-ignite-2.13.0-bin\platforms\dotnet\bin\net461\Apache.Ignite.exe.Config line 23) ---> System.TypeLoadException: Type 'Apache.Ignite.Core.IgniteConfigurationSection' does not inherit from 'System.Configuration.IConfigurationSectionHandler'. at System.Configuration.TypeUtil.VerifyAssignableType(Type baseType, Type type, Boolean throwOnError) at System.Configuration.MgmtConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord) at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) --- End of inner exception stack trace --- at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at Apache.Ignite.Config.Configurator.ReadConfigurationSection(Tuple2[] args) at Apache.Ignite.Config.Configurator.GetConfiguration(Tuple2[] args) at Apache.Ignite.IgniteRunner.Main(String[] args)

Thanks

CodePudding user response:

It is a bug. Filed it: IGNITE-16958.

As a workaround, use .NET Core binaries: dotnet platforms\dotnet\bin\Apache.Ignite.Executable.dll

CodePudding user response:

Thank you Pavel! Do you know maybe when the fix will be released? Will it be in 2.13.1?

  • Related