J'essaie d'utiliser la journalisation hors processus à l'aide du bloc d'application de journalisation sémantique. J'ai téléchargé et installé le service hors processus de here, changé le nom de la source de l'événement pour pointer vers mon nom de source. Mais sur l'exécution du service que je reçois l'erreur suivante:Exception OOP de journalisation sémantique d'entreprise
Message : A fault was detected while processing the configuration for the element 'svcRuntime'. Message: System.Runtime.InteropServices.COMException (0x800705AA): Insufficient system resources exist to
complete the requested service. (Exception from HRESULT: 0x800705AA)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.InsureStarted(EVENT_TRACE_PROPERTIES* properties)
at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.EnableProvider(Guid providerGuid, TraceEventLevel providerLevel, UInt64 matchAnyKeywords, TraceEventProviderOptions options)
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Etw.Utility.TraceEventUtil.EnableProvider(TraceEventSession session, Guid providerId, EventLevel level, EventKeywords matchAnyKeyword, IEnume
rable`1 arguments, IEnumerable`1 processNamesToFilter, Boolean sendManifest)
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Etw.TraceEventServiceWorker.Initialize()
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Etw.TraceEventService.<>c__DisplayClass6.<AddWorkers>b__2()
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Etw.TraceEventService.HandleException(String callerName, Action body)
Opcode : Info
Task : 64731
Version : 0
Payload : [faultedElement : svcRuntime] [message : System.Runtime.InteropServices.COMException (0x800705AA): Insufficient system resources exist to complete the requested service. (Exception from HRESU
LT: 0x800705AA)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.InsureStarted(EVENT_TRACE_PROPERTIES* properties)
at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.EnableProvider(Guid providerGuid, TraceEventLevel providerLevel, UInt64 matchAnyKeywords, TraceEventProviderOptions options)
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Etw.Utility.TraceEventUtil.EnableProvider(TraceEventSession session, Guid providerId, EventLevel level, EventKeywords matchAnyKeyword, IEnume
rable`1 arguments, IEnumerable`1 processNamesToFilter, Boolean sendManifest)
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Etw.TraceEventServiceWorker.Initialize()
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Etw.TraceEventService.<>c__DisplayClass6.<AddWorkers>b__2()
at Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Etw.TraceEventService.HandleException(String callerName, Action body)]
EventName : TraceEventServiceConfigurationFaultInfo
Timestamp : 2015-02-28T10:31:09.3220291Z
ProcessId : 16524
ThreadId : 16984
L'auditeur In-Process fonctionne très bien. Y at-il autre chose que je dois faire configurer?
Semble que le nombre de synchronisations de fichiers autorisées est déterminé par la mémoire disponible sur la machine. Je ne suis pas sûr si la mémoire totale ou la mémoire libre. La mémoire disponible est probablement prise en compte au moment du démarrage du service. – ambidexterous