EXM is throwing error when I go to the dashboard.
I see the following error in the Sitecore log file.
Exception System.ArgumentException: A route named 'CountriesV1' is already in the route collection. Route names must be unique. Parameter name: name at System.Web.Routing.RouteCollection.Add(String name, RouteBase item) at System.Web.Http.Routing.AttributeRoutingMapper.AddGenerationHooksForSubRoutes(HttpRouteCollection routeTable, IEnumerable
1 entries) at System.Web.Http.Routing.AttributeRoutingMapper.<>c__DisplayClass2.<MapAttributeRoutes>b__0(HttpConfiguration config) at System.Web.Http.HttpConfiguration.ApplyControllerSettings(HttpControllerSettings settings, HttpConfiguration configuration) at System.Web.Http.Controllers.HttpControllerDescriptor.InvokeAttributesOnControllerType(HttpControllerDescriptor controllerDescriptor, Type type) at System.Web.Http.Controllers.HttpControllerDescriptor..ctor(HttpConfiguration configuration, String controllerName, Type controllerType) at Sitecore.Services.Infrastructure.Web.Http.Dispatcher.NamespaceHttpControllerSelector.InitializeControllerInfoCache() at System.Lazy
1.CreateValue() at System.Lazy`1.LazyInitValue()
at Sitecore.Services.Infrastructure.Web.Http.Dispatcher.NamespaceHttpControllerSelector.FindMatchingController(String namespaceName, String controllerName) at Sitecore.Services.Infrastructure.Web.Http.Dispatcher.NamespaceHttpControllerSelector.SelectController(HttpRequestMessage request) at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext() 2404 09:42:18 ERROR [Sitecore Services]: HTTP POST URL http://website.local.com/sitecore/api/ssc/EXM/CreateMessageOptions
Sitecore version used:
- Sitecore.NET 8.2 (rev. 170614) June 14, 2017
- Web Forms for Marketers 8.2.rev. 170518
- Email Experience Manager 4.0.2 rev. 170713
- .NET Framework 4.0.30319.42000
I found a similar questions here but the issue was closed How to ignore routes from specific dlls in Sitecore 8.2
If anyone has any answer to this issue, I will really appreciate your help. Thanks.