Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Marcio Goularte 389 posts 1362 karma points
    Sep 26, 2021 @ 18:40
    Marcio Goularte
    0

    TypeLoadException: Could not load type 'Examine.IndexOptions' from assembly 'Examine.Core, Version=2.0.0.0

    was testing the RC4 version. Problem that now has this error.

    TypeLoadException: Could not load type 'Examine.IndexOptions' from assembly 'Examine.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'.
    

    I've already tried to update Examine, but the error still persists.

    Has anyone gone through this?

    stack trace

    ReflectionTypeLoadException: Could not load all types from "Umbraco.Examine.Lucene, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping: . System.TypeLoadException on Umbraco.Cms.Infrastructure.Examine.LuceneIndexDiagnostics: Method 'GetDocumentCountAsync' in type 'Umbraco.Cms.Infrastructure.Examine.LuceneIndexDiagnostics' from assembly 'Umbraco.Examine.Lucene, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. . System.TypeLoadException on Examine.Lucene.Providers.LuceneIndex: Method 'GetSearcher' in type 'Examine.Lucene.Providers.LuceneIndex' from assembly 'Examine.Lucene, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. . System.TypeLoadException on Examine.Lucene.Providers.LuceneIndex: Method 'GetSearcher' in type 'Examine.Lucene.Providers.LuceneIndex' from assembly 'Examine.Lucene, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. . System.TypeLoadException on Umbraco.Cms.Infrastructure.Examine.LuceneIndexDiagnostics: Method 'GetDocumentCountAsync' in type 'Umbraco.Cms.Infrastructure.Examine.LuceneIndexDiagnostics' from assembly 'Umbraco.Examine.Lucene, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. . System.TypeLoadException on Examine.Lucene.Providers.LuceneIndex: Method 'GetSearcher' in type 'Examine.Lucene.Providers.LuceneIndex' from assembly 'Examine.Lucene, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. . System.TypeLoadException on Examine.IndexOptions: Could not load type 'Examine.IndexOptions' from assembly 'Examine.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Method 'GetDocumentCountAsync' in type 'Umbraco.Cms.Infrastructure.Examine.LuceneIndexDiagnostics' from assembly 'Umbraco.Examine.Lucene, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Method 'GetSearcher' in type 'Examine.Lucene.Providers.LuceneIndex' from assembly 'Examine.Lucene, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Method 'GetSearcher' in type 'Examine.Lucene.Providers.LuceneIndex' from assembly 'Examine.Lucene, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Method 'GetDocumentCountAsync' in type 'Umbraco.Cms.Infrastructure.Examine.LuceneIndexDiagnostics' from assembly 'Umbraco.Examine.Lucene, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Method 'GetSearcher' in type 'Examine.Lucene.Providers.LuceneIndex' from assembly 'Examine.Lucene, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Could not load type 'Examine.IndexOptions' from assembly 'Examine.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'.
    Umbraco.Cms.Core.Composing.TypeFinder.GetTypesWithFormattedException(Assembly a)
    Umbraco.Cms.Core.Composing.TypeFinder.GetClassesWithBaseType(Type baseType, IEnumerable<Assembly> assemblies, bool onlyConcreteClasses, Func<Type, bool> additionalFilter)
    Umbraco.Cms.Core.Composing.TypeFinder.FindClassesOfType(Type assignTypeFrom, IEnumerable<Assembly> assemblies, bool onlyConcreteClasses)
    Umbraco.Extensions.TypeFinderExtensions.FindClassesOfType<T>(ITypeFinder typeFinder, IEnumerable<Assembly> assemblies, bool onlyConcreteClasses)
    Umbraco.Cms.Core.Composing.TypeLoader+<>c__DisplayClass56_0<T>.<GetTypes>b__0()
    Umbraco.Cms.Core.Composing.TypeLoader.GetTypesInternalLocked(Type baseType, Type attributeType, Func<IEnumerable<Type>> finder, string action, bool cache)
    Umbraco.Cms.Core.Composing.TypeLoader.GetTypesInternal(Type baseType, Type attributeType, Func<IEnumerable<Type>> finder, string action, bool cache)
    Umbraco.Cms.Core.Composing.TypeLoader.GetTypes<T>(bool cache, IEnumerable<Assembly> specificAssemblies)
    Umbraco.Cms.Core.DependencyInjection.UmbracoBuilderExtensions.AddAllCoreCollectionBuilders(IUmbracoBuilder builder)
    Umbraco.Cms.Core.DependencyInjection.UmbracoBuilder.AddCoreServices()
    Umbraco.Cms.Core.DependencyInjection.UmbracoBuilder..ctor(IServiceCollection services, IConfiguration config, TypeLoader typeLoader, ILoggerFactory loggerFactory, IProfiler profiler, AppCaches appCaches, IHostingEnvironment hostingEnvironment)
    Umbraco.Extensions.UmbracoBuilderExtensions.AddUmbraco(IServiceCollection services, IWebHostEnvironment webHostEnvironment, IConfiguration config)
    
  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Sep 27, 2021 @ 09:42
    Sebastiaan Janssen
    100

    Hi Marcio, you have ran into the following issue: https://github.com/umbraco/Umbraco-CMS/issues/11179

    A fix is available in the description there! 👍

  • Marcio Goularte 389 posts 1362 karma points
    Sep 27, 2021 @ 10:44
    Marcio Goularte
    0

    tks!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies