File Not Found Exception will calling a method

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello there, Im calling a method, and even before entering the method i receive file not exception...

Here, I log the step before entering to the method, and i receive the result in the Event Viewer.
<pre class="prettyprint ((DebugLogger)_logProviderDebugMode).Log("T1", "Debug-EventReaderClass", EventLogEntryType.Information);
if (RunLogParser(fromDate, toDate))
{[/code]
Heres body of method, before performing any other action...
i dont see Step T1-1 to be passed in my event viewer
<pre class="prettyprint private bool RunLogParser(string startDate, string endDate)
{
((DebugLogger)_logProviderDebugMode).Log("T1-1", "Debug-EventReaderClass", EventLogEntryType.Information);[/code]
<br/>

and i recieve following error with event ID of 5000:
<pre class="prettyprint EventType clr20r3, P1 fileeventreaderservice.exe, P2 1.0.0.0, P3 5019a8ae, P4 fileeventreaderservice, P5 1.0.0.0, P6 5019a8ae, P7 4a, P8 124, P9 system.io.filenotfoundexception, P10 NIL.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.[/code]
<br/>


View the full article
 
Back
Top