London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Do you get it when you run it manually of when it is run by schedule?
When run by schedule there are no logged in user
Hello everyone!
I'm having trouble with the Episerver Find indexing job, when i run the indexing job it doesn't index all of my content on the site. I Debuged the project while running the indexing job and it crashed on this line of code and gave me this exception.
An exception of type 'EPiServer.ServiceLocation.ActivationException' occurred in EPiServer.Framework.dll but was not handled in user code
Additional information: Activation error occurred while trying to get instance of type ApplicationRoleManager`1, key ""
Any idea what it could be?
Log4net
WARN EPiServer.Find.Cms.ContentIndexer: DESKTOP-1234: An exception occurred during reindex operation. System.AggregateException: One or more errors occurred. ---> EPiServer.ServiceLocation.ActivationException: Activation error occurred while trying to get instance of type ApplicationRoleManager`1, key "" ---> StructureMap.Building.StructureMapBuildException: Failure while building 'Lambda: HttpContext.Current.GetOwinContext().Get()', check the inner exception for details
1.) Lambda: HttpContext.Current.GetOwinContext().Get()
2.) Instance of ApplicationRoleManager
3.) Container.GetInstance(ApplicationRoleManager<>MyUser>)>
---> System.NullReferenceException: Object reference not set to an instance of an object.
at System.Web.HttpContextExtensions.GetOwinEnvironment(HttpContext context)
at System.Web.HttpContextExtensions.GetOwinContext(HttpContext context)
at lambda_method(Closure , IBuildSession , IContext )
--- End of inner exception stack trace ---