all groups > visual studio .net enterprise tools > april 2004 >
You're in the

visual studio .net enterprise tools

group:

Deploying minimal EIF


Deploying minimal EIF Joel Lyons
4/22/2004 8:54:31 PM
visual studio .net enterprise tools: We want to use the functionality of EIF, but we're not interested in using
the trace event sink. I thought you only needed the TraceSessionManager
service if you were using the trace event sink. So, I tried deploying our
application with just the Microsoft.EnterpriseInstrumentation.*.dlls, but
when I try to raise an event I get the following InvalidOperation exception:
"The requested Performance Counter is not a custom counter, it has to be
initialized as ReadOnly."

Running "installutil TraceSessionManager.exe" seems to fix this. But, is
there any way I can use the EIF dll's without the TraceSessionManager
installed? Can I create the expected perfmon counters another way? I'd
really rather not have to deploy/install the TraceSessionManager service if
we aren't using it.

Thanks!
-Joel

Re: Deploying minimal EIF Joel Lyons
4/23/2004 5:35:41 PM
Hmm...understood. In case we decide to take this route anyway, can I get
some info on the perfmon counters i need to install?
Thanks Mike
-Joel

[quoted text, click to view]

RE: Deploying minimal EIF mikehayt_ NO[at]SPAM online.microsoft.com
4/23/2004 9:25:13 PM
Firstly I should say that, EIF is supported only when it is installed from
the MSI.
So if you want support, the deployment will have include installing EIF the
standard way.

However, you're right - if you install the perf counters by hand, then you
wouldnt need to install (or have present) the TraceSessionManager.dll
If you want an example of this - reply back and I'll have a look for some
sample code.

Mike

--------------------
|
| We want to use the functionality of EIF, but we're not interested in using
| the trace event sink. I thought you only needed the TraceSessionManager
| service if you were using the trace event sink. So, I tried deploying our
| application with just the Microsoft.EnterpriseInstrumentation.*.dlls, but
| when I try to raise an event I get the following InvalidOperation
exception:
| "The requested Performance Counter is not a custom counter, it has to be
| initialized as ReadOnly."
|
| Running "installutil TraceSessionManager.exe" seems to fix this. But, is
| there any way I can use the EIF dll's without the TraceSessionManager
| installed? Can I create the expected perfmon counters another way? I'd
| really rather not have to deploy/install the TraceSessionManager service
if
| we aren't using it.
|
| Thanks!
| -Joel
|
|
|

--

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
Re: Deploying minimal EIF mikehayt_ NO[at]SPAM online.microsoft.com
4/24/2004 4:36:28 PM
Sure, I'll have a look for this on Monday.

Mike

--------------------
|
| Hmm...understood. In case we decide to take this route anyway, can I get
| some info on the perfmon counters i need to install?
| Thanks Mike
| -Joel
|
[quoted text, click to view]
| > Firstly I should say that, EIF is supported only when it is installed
from
| > the MSI.
| > So if you want support, the deployment will have include installing EIF
| the
| > standard way.
| >
| > However, you're right - if you install the perf counters by hand, then
you
| > wouldnt need to install (or have present) the TraceSessionManager.dll
| > If you want an example of this - reply back and I'll have a look for
some
| > sample code.
| >
| > Mike
| >
| > --------------------
| > |
| > | We want to use the functionality of EIF, but we're not interested in
| using
| > | the trace event sink. I thought you only needed the
TraceSessionManager
| > | service if you were using the trace event sink. So, I tried deploying
| our
| > | application with just the Microsoft.EnterpriseInstrumentation.*.dlls,
| but
| > | when I try to raise an event I get the following InvalidOperation
| > exception:
| > | "The requested Performance Counter is not a custom counter, it has to
be
| > | initialized as ReadOnly."
| > |
| > | Running "installutil TraceSessionManager.exe" seems to fix this. But,
| is
| > | there any way I can use the EIF dll's without the TraceSessionManager
| > | installed? Can I create the expected perfmon counters another way?
I'd
| > | really rather not have to deploy/install the TraceSessionManager
service
| > if
| > | we aren't using it.
| > |
| > | Thanks!
| > | -Joel
| > |
| > |
| > |
| >
| > --
| >
| > 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
AddThis Social Bookmark Button