Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Enterprise Tools / November 2004

Tip: Looking for answers? Try searching our database.

EIF not logging to event log

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bruce Parker - 03 Nov 2004 15:33 GMT
I have a Windows 2003 Enterprise Server system that I am running a .NET web
application on.  I am using the Enterprise Instrumentation Framework for
logging errors to the event log and the trace log.  When I send an error to
EIF, it should be logged in the event log and the trace log.  Only the trace
log is getting the error.  This is working correctly on all other systems I
have installed this on.  The installutil application has been ran on this
system and the exact same EnterpriseInstrumentation.Config file is being
used.  If I write to the event log using EventLog class using the same event
source it works.

Any suggestions what is going on?
Mike Hayton [MS] - 04 Nov 2004 00:38 GMT
Im not sure.

You can try flipping over the internalExceptionHandler to "report" for the
event sources in the EI.config file and seeing in the eventlog if there's a
better error. (by default only a perf counter is incremented if an error is
encountered)

For example
   <eventSource name="Application" type="softwareElement"
internalExceptionHandler="report" description="Application level event
source" />

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------

|
| I have a Windows 2003 Enterprise Server system that I am running a .NET web
[quoted text clipped - 8 lines]
|
| Any suggestions what is going on?
Bruce Parker - 04 Nov 2004 14:14 GMT
I changed the internalExceptionHandler to "report" and no errors were
reported.  Is there any source code available for EIF so I can attempt to
debug through the problem?

> Im not sure.
>
[quoted text clipped - 24 lines]
> |
> | Any suggestions what is going on?
Mike Hayton [MS] - 17 Nov 2004 17:41 GMT
Sorry for the long delay in getting back to you on this. Its been very busy
at work.

There's no source code available - but if you can send a repro, I can debug
it for you.
If you run perfmon and look at the EventSource and EventSink counters are
any of the error counters being raised?
If not it indicates that EIF isnt encountering an error.

If the EventSink LogEventSink event counter is increasing - it means that
the event sink thinks the event is successfully being raised (I assume
you're using the LogEventSink that comes with EIF).

Sorry again for not replying sooner

Mike

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------

|
| I changed the internalExceptionHandler to "report" and no errors were
[quoted text clipped - 29 lines]
| > |
| > | Any suggestions what is going on?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.