Skip to content

Instantly share code, notes, and snippets.

@dmealo
dmealo / UnicornInvalidCastExceptionIUnicornAuthenticationProvider.md
Last active November 30, 2021 20:47
Sitecore Unicorn + InvalidCastException Message: Unable to cast object of type 'System.String' to type 'Unicorn.ControlPanel.Security.IUnicornAuthenticationProvider'

Issue

In your Sitecore instance, you encounter exception stack trace including root exception InvalidCastException Message: Unable to cast object of type 'System.String' to type 'Unicorn.ControlPanel.Security.IUnicornAuthenticationProvider' in logs

2021-11-24 20:13:29 10.240.0.52 GET /sitecore/shell/applications/content-editor ic=Apps%2F48x48%2FPencil.png&he=Content%20Editor&cl=0 80 sitecore\admin 10.240.0.25 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/96.0.4664.45+Safari/537.36 https://accelerator-qa-cm.a61877d1bb744f74981d.eastus.aksapp.io/sitecore/shell/default.aspx 500 0 0 14015
ManagedPoolThread #9 20:13:20 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #9 20:13:20 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
36548 20:13:29 ERROR Application error.
Exception: System.Web.HttpUnhandledException