HighTechTalks DotNet Forums  

EIF SimpleInstrumentation walkthrough problem

Visual Studio.net (Enterprise Tools) microsoft.public.vsnet.enterprise.tools


Discuss EIF SimpleInstrumentation walkthrough problem in the Visual Studio.net (Enterprise Tools) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Brad
 
Posts: n/a

Default EIF SimpleInstrumentation walkthrough problem - 07-09-2004 , 05:38 PM






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.


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: EIF SimpleInstrumentation walkthrough problem - 07-12-2004 , 01:49 PM






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


--------------------
Quote:
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.


--

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



Reply With Quote
  #3  
Old   
Brad
 
Posts: n/a

Default RE: EIF SimpleInstrumentation walkthrough problem - 07-12-2004 , 04:56 PM



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.


Quote:
-----Original Message-----
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
| 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.
|
|

--

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

.


Reply With Quote
  #4  
Old   
AT
 
Posts: n/a

Default RE: EIF SimpleInstrumentation walkthrough problem - 07-13-2004 , 02:47 PM



No worries

--------------------
Quote:
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,

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
| 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.
|
|

--

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

.


--

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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.