Error!
System.TypeInitializationException: The type initializer for 'dk.nita.saml20.Logging.AuditLogging' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'dk.nita.saml20.Logging.Log4NetAuditLogger' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at dk.nita.saml20.Logging.Log4NetAuditLogger..cctor()
--- End of inner exception stack trace ---
at dk.nita.saml20.Logging.Log4NetAuditLogger..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at dk.nita.saml20.Logging.AuditLogging..cctor() in C:\Users\terkel\Source\Repos\Comdia\dk.nita.saml20\Logging\AuditLogging.cs:line 36
--- End of inner exception stack trace ---
at dk.nita.saml20.protocol.Saml20SignonHandler.Handle(HttpContext context) in C:\Users\terkel\Source\Repos\Comdia\dk.nita.saml20\Protocol\Saml20SignonHandler.cs:line 104
at dk.nita.saml20.protocol.Saml20AbstractEndpointHandler.ProcessRequest(HttpContext context) in C:\Users\terkel\Source\Repos\Comdia\dk.nita.saml20\Protocol\Saml20AbstractEndpointHandler.cs:line 49
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'dk.nita.saml20.Logging.Log4NetAuditLogger' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at dk.nita.saml20.Logging.Log4NetAuditLogger..cctor()
--- End of inner exception stack trace ---
at dk.nita.saml20.Logging.Log4NetAuditLogger..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at dk.nita.saml20.Logging.AuditLogging..cctor() in C:\Users\terkel\Source\Repos\Comdia\dk.nita.saml20\Logging\AuditLogging.cs:line 36
System.TypeInitializationException: The type initializer for 'dk.nita.saml20.Logging.Log4NetAuditLogger' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at dk.nita.saml20.Logging.Log4NetAuditLogger..cctor()
--- End of inner exception stack trace ---
at dk.nita.saml20.Logging.Log4NetAuditLogger..ctor()
System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'log4net, Version=1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a'
at dk.nita.saml20.Logging.Log4NetAuditLogger..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].