Groups | Blog | Home
all groups > visual studio .net enterprise tools > february 2004 >

visual studio .net enterprise tools : Enterprise Instrumentation Installation


Arun Kumar
2/5/2004 11:31:05 PM
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: Erro
Event Source: Windows Trace Session Manager
Event Category: Non
Event ID:
Date: 2/6/200
Time: 1:06:57 A
User: N/
Computer: PAVILIO
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(String[] 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

Thank
mikehayt_ NO[at]SPAM online.microsoft.com
2/10/2004 6:13:37 PM
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
Arun Kumar
2/10/2004 9:21:09 PM
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

mikehayt_ NO[at]SPAM online.microsoft.com
2/11/2004 9:40:28 PM
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
Joel Lyons
2/12/2004 10:45:44 AM
I get this error any time I attempt to use the "traceSink" event sink but
the TraceSessionManager service has not been installed.

It would be nice if the traceSink event sink would handle this case a little
better than throwing this exception.

[quoted text, click to view]
trouble installing Entrprise Instrumentation. Here's the error in the
Application Log.
[quoted text, click to view]
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:
[quoted text, click to view]
Microsoft.EnterpriseInstrumentation.TraceSessions.TraceSessionManager..ctor(
)
[quoted text, click to view]
Microsoft.EnterpriseInstrumentation.TraceSessions.TraceSessionManager.Main(S
tring[] arg)
[quoted text, click to view]
installed. I did have the 1.0 version, but I've uninstalled it and I have
onyl the 1.1 now.
[quoted text, click to view]

Arun Kumar
2/12/2004 8:06:06 PM
You are right, my machine does not have the entry. Please let me know when you do find a fix. I appreciate your help

Arun Kumar
2/12/2004 8:56:06 PM
I just noticed there aren't any counter available when I go into Performance Monitor. All I see is a list of numbers. I also noticed these errors in the Application Log

Event Type: Warnin
Event Source: LoadPer
Event Category: Non
Event ID: 200
Date: 2/12/200
Time: 10:38:42 P
User: N/
Computer: PAVILIO
Description
LastCounter and LastHelp values of performance registry is corrupted and needs to be updated. The first and second DWORDs in Data Section are the original values while the third and forth DWORDs in Data Section are the updated new values

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp
Data
0000: c0 09 00 00 c1 09 00 00 À...Á..
0008: e8 13 00 00 c1 09 00 00 è...Á..

Event Type: Erro
Event Source: LoadPer
Event Category: Non
Event ID: 300
Date: 2/12/200
Time: 10:38:42 P
User: N/
Computer: PAVILIO
Description
The performance counter name string value in the registry is incorrectly formatted. The bogus string is 4820, the bogus index value is the first DWORD in Data section while the last valid index values are the second and third DWORD in Data section

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp
Data
0000: d4 12 00 00 c0 09 00 00 Ô...À..
0008: c1 09 00 00 97 02 00 00 Á...—..

Event Type: Erro
Event Source: LoadPer
Event Category: Non
Event ID: 300
Date: 2/12/200
Time: 10:38:42 P
User: N/
Computer: PAVILIO
Description
The performance counter explain text string value in the registry is incorrectly formatted. The bogus string is Number of WMI High Performance provider returned by WMI Adapter, the bogus index value is the first DWORD in Data section while the last valid index values are the second and third DWORD in Data section

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp
Data
0000: 00 00 00 00 cf 09 00 00 ....Ï..
0008: f6 13 00 00 00 0b 00 00 ö......

mikehayt_ NO[at]SPAM online.microsoft.com
2/12/2004 9:14:09 PM
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
Arun Kumar
2/13/2004 6:11:05 PM
Hi,

I did fix the problem. I replaced the files related to the perfomance monitor with a new copy (.ini, .msc etc). That fixed the issue with the performance monitor. Then I was able to install the EI and the speech server with no trouble.

Thanks for your help.

mikehayt_ NO[at]SPAM online.microsoft.com
2/16/2004 9:54:05 PM
FYI: Im still trying to track down an answer to this. I havent forgotten..

--------------------
|
| You are right, my machine does not have the entry. Please let me know
when you do find a fix. I appreciate your help.

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
mikehayt_ NO[at]SPAM online.microsoft.com
2/18/2004 5:41:05 PM
That's great news.

Can you reply with a list of files that you replaced?
Any other steps? (e.g. reboot)

--------------------
| Hi,

I did fix the problem. I replaced the files related to the perfomance
monitor with a new copy (.ini, .msc etc). That fixed the issue with the
performance monitor. Then I was able to install the EI and the speech
server with no trouble.

Thanks for your help.

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
AddThis Social Bookmark Button