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 / July 2004

Tip: Looking for answers? Try searching our database.

EIF SimpleInstrumentation walkthrough problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brad - 09 Jul 2004 23:38 GMT
I cannot get the first "walkthrough" in EIF help to
produce a log file.  After running
SimpleInstrumentation.exe I search the whole drive and
there is no TraceLog.log file.

I have this in TraceSessions.config:
<session name="TraceSession" enabled="true"
fileName="C:\work\TraceLog.log" />

TraceSessionManager.exe.config does not define that key.

When I run my SimpleInstrumentation.exe, it does indeed
produce an Info event in Application event viewer (but no
error event, so it is reading and parsing
EnterpriseInstrumentation.config just fine).

EnterpriseInstrumentation.config in the bin\debug entry
(where SimpleInstrumentation.exe is) contains this:

<filters>
 <filter name="defaultSoftwareElementFilter"
description=" A default filter for the Software Element
event sources.">
    <eventCategoryRef name="All Events">
       <eventSinkRef name="traceSink" />
       <eventSinkRef name="logSink" />
    </eventCategoryRef>
 </filter>
 <filter name="defaultRequestFilter" description="A
default filter for the Request event sources." />
</filters>

I'm on Windows XP SP1.

Doesn't seem like the first sample should be this hard. ;)
Mike Hayton [MS] - 12 Jul 2004 19:49 GMT
Hi there,

A few questions that should help me be able ot figure out the problem.

What's the event(s) that is produced in the Application event viewer by a
single run of SimpleInstrumentation.exe? (Can you paste the text into the
reply).
Can you show the full EI.config file?
Can you type "net start" from the command prompt and confirm that the
"Windows Trace Session Manager" is present in the list of started services?

Most likely in the EI.config file, your eventsource is not associated with
the defaultSoftwareElementFilter - After running SimpleInstrumentation.exe
- I'd expect two events in the windows event log - one saying it picked up
and read the EI.config file, and one with the event raised in
SimpleInstrumentation.exe

Thanks

Mike

--------------------
| I cannot get the first "walkthrough" in EIF help to
| produce a log file.  After running
[quoted text clipped - 31 lines]
|
| Doesn't seem like the first sample should be this hard. ;)

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

Brad - 12 Jul 2004 22:56 GMT
It turned out the windows events were being created, only
the logging file was not being created anywhere.  I
uninstalled EIF and reinstalled and started over on that
example and now it works, though I don't know what I did
differently.  Thank you for your consideration.

>-----Original Message-----
>Hi there,
[quoted text clipped - 54 lines]
>|
>| Doesn't seem like the first sample should be this hard. ;)
Mike Hayton [MS] - 13 Jul 2004 20:47 GMT
No worries :)

--------------------
| It turned out the windows events were being created, only
| the logging file was not being created anywhere.  I
[quoted text clipped - 82 lines]
| >
| >.

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


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.