Just to let you know we're seeing this on another machine.
So far it appears that while the .NET PerformanceCounter class says it has
installed the custom perf counters, they are not present.
Then when the app using the perf counters (namely the Trace Session Manager
service) tries to use them - it returns the exception saying there isnt a
custom counter.
To check this, run perfmon, right click on the graph and add counters.
If the counters are installed, there should be an entry in the Category
("Performance Object") drop down called "EventSinks".
I expect that on your machine its missing.
Im still trying to find a fix to this problem and I'll reply when I have
more information.
Cheers
Mike
--------------------
|
| I'd try changing to the directory that has the TraceSessionManager.exe in
| it and typing
|
| installutil /u TraceSessionManager.exe
| installutil TraceSessionManager.exe
| net start "Windows Trace Session Manager"
|
| Im not convinced that this will fix the problem.
|
|
| Can you perform the following steps and send us the associated files?
|
| I. Collection install logs
| 1. From the Run option off the Start menu, open "cmd" to launch a command
| prompt. Then type in the following commands:
| 2. Change to the directory containing EnterpriseInstrumentation.exe - if
it
| is in "C:\Documents and Settings\myTempDir" you would type:
| cd /d "C:\Documents and Settings\myTempDir"
| 3. Execute the MSI install with the full logging enabled
| EnterpriseInstrumentation.exe /c:"msiexec.exe /q /l*v
| %temp%\EnterpriseInstrumentationMSI.log /i enterpriseinstrumentation.msi"
| 4. Complete the install (or see it fail)
| 5. Change to the %temp% directory
| cd /d %temp%
| 6. Look for the following files and please attach them to a reply.
Possible
| filenames are:
| EnterpriseInstrumentationMSI.log
| EnterpriseInstrumentationInstall.log
| EnterpriseInstrumentationInstallUtil.log
| EnterpriseInstrumentationSetup.log
| (depending on where the installation fails, not all of the files may
be
| present).
|
|
| --------------------
| |
| | Hi,
|
| I get the same error regardless of how I try to start the service. In
fact,
| the installation program reports that the installation failed and the
same
| error is reported in the Application Event Log.
|
| Arun
|
| ----- Mike Hayton [MS] wrote: -----
|
| Hi there,
|
| So is this error output when you reboot the computer & the computer
is
| restarting?
| Can you type
| net start "Windows Trace Session Manager"
| from the command prompt and manually start the service?
|
| Mike
|
|
| --------------------
| | I'm trying to install the Speech server on my machine, but I'm
| having
| trouble installing Entrprise Instrumentation. Here's the error in
the
| Application Log.
|
| Event Type: Error
| Event Source: Windows Trace Session Manager
| Event Category: None
| Event ID: 0
| Date: 2/6/2004
| Time: 1:06:57 AM
| User: N/A
| Computer: PAVILION
| Description:
| The Windows Trace Session Manager service could not be started. If
| the
| error details below indicate a File Mapping exception, please review
| the
| Enterprise Instrumentation readme for a description of this known
| issue and
| steps to resolve or workaround it. The error returned was:
|
| System.InvalidOperationException: The requested Performance Counter
is
| not
| a custom counter, it has to be initialized as ReadOnly.
| at System.Diagnostics.PerformanceCounter.Initialize()
| at System.Diagnostics.PerformanceCounter..ctor(String
categoryName,
| String counterName, String instanceName, Boolean readOnly)
| at
|
|
Microsoft.EnterpriseInstrumentation.TraceSessions.TraceSessionManager..ctor(
| )
| at
|
|
Microsoft.EnterpriseInstrumentation.TraceSessions.TraceSessionManager.Main(S
| tring[] arg)
|
| For more information, see Help and Support Center at
|
http://go.microsoft.com/fwlink/events.asp. |
| I believe there is an issue if I have both .NET 1.0 and 1.1
frameworks
| installed. I did have the 1.0 version, but I've uninstalled it and I
| have
| onyl the 1.1 now.
|
| I'd appreciate any help in this regard.
|
| Thanks
| Arun
| |
|
| --
|
| 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 |
|
--
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