Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16958

.NET: IgniteConfigurationSection does not inherit from IConfigurationSectionHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.12, 2.13
    • 2.14
    • platforms
    • .NET: Fixed net461 release binaries.
    • Release Notes Required

    Description

      Run Apache.Ignite.exe from apache-ignite-2.13.0-bin\platforms\dotnet\bin\net461 with default config file:

      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)
      

      Additionally, Apache.Ignite.exe.config contains some autogenerated binding redirects and supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0".

      Attachments

        Activity

          People

            ptupitsyn Pavel Tupitsyn
            ptupitsyn Pavel Tupitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m