We are trying to implement a custom logger for Elmah to log errors in a RavenDB database in an MVC5 application.
The Logging works perfectly but when we try to read the logs we get an exception for all properties of the Error Class that are of type NameValueCollection with the following error :
Cannot populate list type System.Collections.Specialized.NameValueCollection. Path 'Error.ServerVariables'.
Any assistance would be greatly appreciated