Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

searchResultFilter provider not working

Vote:
 

Hi,

 

I have following configuration in web.config

<episerver.search active="true">

.

.

.

<searchResultFilterdefaultInclude="true">

      <providers>

        <addname="SearchFilterProvider"type="EPiServer7App.EPiServerCore.Core.SearchFilterProvider, EPiServer7App.EPiServerCore, Version=1.0.0.0, Culture=neutral">

        </add>

      </providers>

    </searchResultFilter>

  </episerver.search>

 

but when i run the applicatnio i get following error

 

The Instance property could not be found for provider with name 'EPiServer7App.EPiServerCore.Core.SearchFilterProvider, EPiServer7App.EPiServerCore, Version=1.0.0.0, Culture=neutral

 

Stack Trace: 

[ApplicationException: The Instance property could not be found for provider with name 'EPiServer7App.EPiServerCore.Core.SearchFilterProvider, EPiServer7App.EPiServerCore, Version=1.0.0.0, Culture=neutral'.]
   EPiServer.Search.SearchSettings.LoadSearchResultFilterProviders(SearchResultFilterElement elem) +440
   EPiServer.Search.SearchInitialization.Initialize(InitializationEngine context) +212
   EPiServer.Framework.Initialization.ModuleNode.Execute(Action a, String key) +64
   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +751
   EPiServer.Framework.Initialization.InitializationEngine.Initialize(HostType hostType) +168
   EPiServer.Framework.Initialization.InitializationModule.Initialize(HostType hostType) +308
   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +93
   EPiServer.Global..ctor() +102
   EPiserver7App.Web.Global..ctor() +40
   ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\c45a434f\ef8380a6\App_global.asax.0.cs:0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +159
   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +127
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +14426381
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +200
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28
   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +83
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +312
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12881108
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722297

 

#72265
Jun 12, 2013 10:12
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.