1

Whenever we restart or deploy to our server, I get the following error message for as long as I can remember.

    2019-02-06T17:56:51  PID[9040] Warning     9428 17:56:51 WARN  Counter initialization. Loading types from assembly Sitecore.EmailCampaign.Activities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null failed
Exception: System.Reflection.ReflectionTypeLoadException
Message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source: mscorlib
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.Assembly.GetTypes()
   at Sitecore.Cloud.ApplicationInsights.CounterLoader.<>c__DisplayClass1_0.<LoadCounters>b__1(Assembly a)

I'm using Sitecore 9.0.2 (180604) on an Azure App Service. Our local DLL version matches what's on our upstream servers. The image below shows the DLL version:

Sitecore.EmailCampaign.Activities.dll version

How can this issue be resolved?

7
  • Have you checked the mentioned assembly in your bin directory and the assembly's version? Is this an upgraded solution or a clean install of sitecore 9u2? Does it run on Azure AppService or an onpremise solution? Feb 7, 2019 at 13:55
  • @ÁrvaiMihálythe question has been updated. Thanks! Feb 7, 2019 at 17:50
  • @Marcel Looks like in web.config in Azure App Service requires a 6.0.0.0, but probably you have deployed version 6.0.1. Feb 7, 2019 at 19:14
  • Thanks @ÁrvaiMihály. Would you kindly elaborate on how that can be found? I'm unable to locate such a reference in any .config files. Feb 8, 2019 at 17:47
  • My last comment was intended to tag @TamásTárnok Feb 11, 2019 at 20:54

1 Answer 1

1

It's seems to be a bug in "Sitecore.EmailCampaign.Activities.dll", since it's compiled with a reference to the assembly "Sitecore.Marketing.Automation.Activity", which seems not to be present in the Azure packages for 9.0.2. - I would report it as a bug to Sitecore if I was you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.