Tracing to LogSource 'InstrumentationLog' failed.

Nov 9, 2010 at 11:01 AM
Edited Nov 9, 2010 at 11:09 AM

Hello,

We are using Enterprise Library v 3.1 in our windows service and adding trace log through a instrumentation log.

We are getting following error and the service stops working after this.

Event Type: Error
Event Source: SODA_RE_ReportGenerator
Event Category: None
Event ID: 6352
Date:  03/11/2010
Time:  16:36:21
User:  N/A
Computer: SHL-RTM-UAR26
Description:
Timestamp: 03/11/2010 16:36:21
Message: Tracing to LogSource 'InstrumentationLog' failed. Processing for other sources will continue. See summary information below for more information. Should this problem persist, stop the service and check the configuration file(s) for possible error(s) in the configuration of the categories and sinks.


Summary for Enterprise Library Distributor Service:
======================================
-->
Message:
Timestamp: 03/11/2010 16:36:21
Message: Sucessfully Creating Blank page for :BackpageElement
Category: InstrumentationLog
Priority: -1
EventId: 0
Severity: Information
Title:GenerateReport
Machine: SHL-RTM-UAR26
App Domain: SHL.ReportEngine.ReportGenerator.Host.exe
ProcessId: 5184
Process Name: C:\Program Files\SHL\SODA\ReportEngine\ReportGenerator\SHL.ReportEngine.ReportGenerator.Host.exe
Thread Name:
Win32 ThreadId:5084
Extended Properties: TaskID - 107264326

--> MachineName: SHL-RTM-UAR26
--> TimeStamp: 03/11/2010 16:36:21
--> FullName: Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
--> AppDomainName: SHL.ReportEngine.ReportGenerator.Host.exe
--> WindowsIdentity: LDTCUSTDB\Svc-WCF-ReportEngine

Exception Information Details:
======================================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Void PerformRoll(System.DateTime)
HelpLink: NULL
Source: Microsoft.Practices.EnterpriseLibrary.Logging

StackTrace Information Details:
======================================
   at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener.StreamWriterRollingHelper.PerformRoll(DateTime rollDateTime)
   at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener.StreamWriterRollingHelper.RollIfNecessary()
   at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener.TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, Object data)
   at Microsoft.Practices.EnterpriseLibrary.Logging.LogSource.TraceData(TraceEventType eventType, Int32 id, LogEntry logEntry, TraceListenerFilter traceListenerFilter)
   at Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter.ProcessLog(LogEntry log)
Category:
Priority: -1
EventId: 6352
Severity: Error
Title:
Machine: SHL-RTM-UAR26
Application Domain: SHL.ReportEngine.ReportGenerator.Host.exe
Process Id: 5184
Process Name: C:\Program Files\SHL\SODA\ReportEngine\ReportGenerator\SHL.ReportEngine.ReportGenerator.Host.exe
Win32 Thread Id: 5084
Thread Name:
Extended Properties:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Does any one have idea how to deal with this kind of error?

Regards,

TestRave