private static void TryLogConfigurationError(ActivationException configurationException, string instanceName)
 {
     try
     {
         DefaultCachingEventLogger eventLogger = EnterpriseLibraryContainer.Current.GetInstance<DefaultCachingEventLogger>();
         if (eventLogger != null)
         {
             eventLogger.LogConfigurationError(instanceName, configurationException);
         }
     }
     catch { }
 }
		private static void TryLogConfigurationError(ActivationException configurationException, string instanceName)
		{
			try
			{
				DefaultSecurityEventLogger eventLogger = EnterpriseLibraryContainer.Current.GetInstance<DefaultSecurityEventLogger>();
				if (eventLogger != null)
				{
					eventLogger.LogConfigurationError(instanceName, Resources.ErrorAuthorizationConfigurationFailedMessage, configurationException);
				}
			}
			catch { }
		}