StartUp errors - Unable to cast object

We are getting a lot of this startup “errors”:

   2020-09-25 09:49:58.3412 [App:02] [16e3aca3-98d5-45a2-a8a1-9606ce6da652] [WARN ] [] Litium.Foundation.GUI.FoundationApplicationSetup - Error on startup task: Litium.Accelerator.Search.Indexing.CampaignPrice.CampaignEventListener Unable to cast object of type 'Litium.Accelerator.Search.Indexing.CampaignPrice.CampaignEventListener' to type 'Litium.Foundation.Tasks.ITask'. 
2020-09-25 11:11:26.9286 [App:02] [af757551-8ed1-4c15-9afc-378c835d61d2] [WARN ] [] Litium.Foundation.GUI.FoundationApplicationSetup - Error on startup task: Litium.Accelerator.Search.Indexing.PopularProducts.MostSoldEventListener Unable to cast object of type 'Litium.Accelerator.Search.Indexing.PopularProducts.MostSoldEventListener' to type 'Litium.Foundation.Tasks.ITask'.

Dose anyone know what could be causing this?

Litium version: 7.4

The event listeners are not implementing the Litium.Foundation.ITask-interface and instead the IStartupTask to automatic be started during application startup. You should probably only remove the entries for from web.config for these.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.