I'm trying to install Microsoft Enterprise Instrumentation framework on
a Windows 2000 machine. I have captured the relevant installation logs
and would appreciate it if anyone knows how to proceed.
Interestingly, the FormatException that was thrown in the last log is
part of a call stack that includes the class
System.Diagnostics.PerformanceCounterLib -- for which I can find no
documentation. Is it possible that this is a framerwork 1.0 class?
I've only got 1.1 installed on this workstation.
TIA
EnterpriseInstrumentationSetup.log
==================================
[05/04/04,16:44:58] Starting Install.exe
[05/04/04,16:44:58] SourceDir: C:\DOCUME~1\ADMINI~1.KAY\LOCALS~1\Temp
\IXP000.TMP\
[05/04/04,16:44:58] Package: EnterpriseInstrumentation.msi
[05/04/04,16:44:58] Trying to load msi.dll
[05/04/04,16:44:58] Loading: C:\WINDOWS\System32\msi.dll
[05/04/04,16:44:58] Switches:
[05/04/04,16:44:58] Install started
[05/04/04,16:44:58] Installing: C:\DOCUME~1\ADMINI~1.KAY\LOCALS~1\Temp
\IXP000.TMP\EnterpriseInstrumentation.msi
[05/04/04,16:44:58] Trying to load msi.dll
[05/04/04,16:44:58] Loading: C:\WINDOWS\System32\msi.dll
[05/04/04,16:44:58] Full UI
[05/04/04,16:44:58] Calling MsiInstallProduct() with commandline:
REBOOT=ReallySuppress
[05/04/04,16:45:34] MsiInstallProduct() returned 1603
[05/04/04,16:45:34]
[MsiInstallProduct]
ReturnCode=1603
[05/04/04,16:45:34] Preparing Dialog
[05/04/04,16:45:34] Message: Setup failed. Please review the Enterprise
Instrumentation readme file, which describes known issues and contains
information on obtaining support from Product Support Services.
[05/04/04,16:45:36] Install.exe returning 1603
[05/04/04,16:45:36]
[Install.exe]
ReturnCode=1603
MSI22f73.LOG
============
Error 1722. There is a problem with this Windows Installer package. A
program run as part of the setup did not finish as expected. Contact
your support personnel or package vendor. Action InstallutilTraceExe11,
location: C:\WINDOWS\Installer\MSI8.tmp, command: installutil "C:
\Program Files\Microsoft Enterprise Instrumentation\Bin\Trace Service"
TraceSessionManager exe
=== Logging stopped: 5/4/2004 16:45:34 ===
EnterpriseInstrumentationInstallUtil.log
========================================
Beginning the Install phase of the installation.
See the contents of the log file for the c:\program files\microsoft
enterprise instrumentation\bin\trace service\tracesessionmanager.exe
assembly's progress.
The file is located at C:\DOCUME~1\ADMINI~1.KAY\LOCALS~1\Temp
\EnterpriseInstrumentationInstallUtil.log.
Installing assembly 'c:\program files\microsoft enterprise
instrumentation\bin\trace service\tracesessionmanager.exe'.
Affected parameters are:
assemblypath = c:\program files\microsoft enterprise instrumentation
\bin\trace service\tracesessionmanager.exe
logtoconsole = false
showcallstack =
logfile = C:\DOCUME~1\ADMINI~1.KAY\LOCALS~1\Temp
\EnterpriseInstrumentationInstallUtil.log
Installing service Windows Trace Session Manager...
Service Windows Trace Session Manager has been successfully installed.
Creating EventLog source Windows Trace Session Manager in log
Application...
Creating performance counter category Event Sources: Software Element.
An exception occurred during the Install phase.
System.FormatException: Input string was not in a correct format.
at System.Number.ParseInt32(String s, NumberStyles style,
NumberFormatInfo info)
at System.Int32.Parse(String s)
at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean
isHelp)
at System.Diagnostics.PerformanceCounterLib.get_NameTable()
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.CategoryExists(String
machine, String category)
at System.Diagnostics.PerformanceCounterCategory.Create(String
categoryName, String categoryHelp, CounterCreationDataCollection
counterData, String machineName, String localizedIniFilePath)
at System.Diagnostics.PerformanceCounterCategory.Create(String
categoryName, String categoryHelp, CounterCreationDataCollection
counterData)
at System.Diagnostics.PerformanceCounterInstaller.Install(IDictionary
stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary
stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary
stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary
savedState)
at System.Configuration.Install.Installer.Install(IDictionary
stateSaver)
at System.Configuration.Install.TransactedInstaller.Install
(IDictionary savedState)
The Rollback phase of the installation is beginning.
Mike Hayton [MS] - 05 May 2004 02:42 GMT
Just a hunch,
Can you ensure that the Regional settings and current language are US-EN on
the machine.
Im wondering if this is causing the problem.
We've also seen corruption of the perf counters on peoples computers from
time to time - this may be the real issue if my hunch is wrong.
Mike
--------------------
| I'm trying to install Microsoft Enterprise Instrumentation framework on
| a Windows 2000 machine. I have captured the relevant installation logs
[quoted text clipped - 106 lines]
|
| The Rollback phase of the installation is beginning.

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
Barath Vasudevan [MS] - 05 May 2004 15:10 GMT
Hi Howard,
Did you have a chance to check the Regional Settings that Mike suggested?
If it does fall to the corruption of perf counters, use the following the
article to rebuild the perf counters before installing EIF
How to Manually Rebuild Performance Counter Library Values
http://support.microsoft.com/?kbid=300956
Please note that the above article pertains to english versions of the
Win2k.
To identify the available extensible counters on the machine use the tool
Extensible Performance Counter List
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/exctrlst
-o.asp
The steps in teh KB article provides info on rebuilding only those ini
files available in the System32 folder. To rebuild the other extensible
counters (identified thro the exctrlst.exe) you'll need to lodctr the ini
files specific to the apps . For e.g the .Net perf coutners are exposed
thro ini files available in %windir%\Microsoft.Net\Framework\1.1.4322\*.ini
Hope the information helps. Let us know if you have any questions.
Thx
Barath
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
--------------------
>X-Tomcat-ID: 39113846
>References: <MPG.1b01e4eff734980098968c@msnews.microsoft.com>
[quoted text clipped - 135 lines]
>|
>| The Rollback phase of the installation is beginning.
Howard Pinsley - 05 May 2004 15:15 GMT
Mike:
Thanks for helping out. I just checked and it is indeed US English
(looking in control panel's regional settings). I did see a similar
post about possible corrupted performance counters and I did follow one
article's instructions about doing a lodctr /r:PerfStringBackup.ini but
that didn't help. That same article went on to describe resetting all
the performance counters to defaults, but the process seemed arduous;
indeed they mentioned that PSS might have a utility to do it? Any other
options? I'm kinda stuck here since I wrote my application using the
Logging Block and I'd hate to have to pull out all that code simply to
get it installed on this guys machine.
> Just a hunch,
>
[quoted text clipped - 19 lines]
> |
> | TIA
Barath Vasudevan [MS] - 05 May 2004 18:51 GMT
Hi Howard,
There is a tool available for rebuilding perf counters, send me an email
(remove the online.) and I can send the tool to you. If the perf counter
rebuild does not work, the only next step i can think of is to get a memory
dump of the installutil process when the exception is thrown. I'll post
back the steps to setting up the debugger and collecting the data.
Let us know if the rebuild works fine in the meanwhile...
Thx
Barath
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
--------------------
>From: Howard Pinsley <hpinsley@kayescholer.com>
>Subject: RE: Problems Installing EIF
>Date: Wed, 5 May 2004 10:15:10 -0400
>Message-ID: <MPG.1b02c0d2d56659e898968d@msnews.microsoft.com>
>References: <MPG.1b01e4eff734980098968c@msnews.microsoft.com>
<c49t6IkMEHA.3780@cpmsftngxa10.phx.gbl>
>Organization: Kaye Scholer LLP
>X-Newsreader: MicroPlanet Gravity v2.50
>Newsgroups: microsoft.public.vsnet.enterprise.tools
>NNTP-Posting-Host: ksgate2.kayescholer.com 206.231.80.2
>Lines: 1
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10
.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.vsnet.enterprise.tools:2232
>X-Tomcat-NG: microsoft.public.vsnet.enterprise.tools
[quoted text clipped - 35 lines]
>> |
>> | TIA
Howard Pinsley - 07 May 2004 00:48 GMT
Barath:
Thanks for the tool. That did the trick. Must be a pretty common
problem for MS to have a tool to fix it. Thanks to both you and Mike!
Regards,
Howard
> Hi Howard,
>
[quoted text clipped - 8 lines]
>
> Barath
Barath Vasudevan [MS] - 10 May 2004 14:16 GMT
Howard,
Good to hear that the perf counter rebuild fixed the problem. We have seen
cases with the perf counter corruption and as you had mentioned it is an
"arduous" task to manually rebuild the counters. So this tool was developed
by one of our engineers to ease the work :)
Good luck with the project and let us know if you need further assistance!
Thx
Barath
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
--------------------
>From: Howard Pinsley <hpinsley@kayescholer.com>
>Subject: RE: Problems Installing EIF
>Date: Thu, 6 May 2004 19:48:12 -0400
>Message-ID: <MPG.1b0498c9798550b998968f@msnews.microsoft.com>
>References: <MPG.1b01e4eff734980098968c@msnews.microsoft.com>
<c49t6IkMEHA.3780@cpmsftngxa10.phx.gbl>
<MPG.1b02c0d2d56659e898968d@msnews.microsoft.com>
<xBLBjmsMEHA.3464@cpmsftngxa10.phx.gbl>
>Organization: Kaye Scholer LLP
>X-Newsreader: MicroPlanet Gravity v2.50
>Newsgroups: microsoft.public.vsnet.enterprise.tools
>NNTP-Posting-Host: ksgate2.kayescholer.com 206.231.80.2
>Lines: 1
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13
.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.vsnet.enterprise.tools:2239
>X-Tomcat-NG: microsoft.public.vsnet.enterprise.tools
[quoted text clipped - 19 lines]
>>
>> Barath
Zhipeng Liu - 02 Feb 2005 13:24 GMT
recently,I got an "Category does not exist " exception at System.Diagnostics.PerformanceCounterLib.GetCategorySample
Finally I fixed this problem. I want to share. Thanks to the people gave me suggestions.
It was due to one perf counter (perfOS) was disabled on my machine. (Weird)
I used the tool Exctrlst.exe from http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/exctrlst-o.asp
and made sure every extensible preformance counter is enabled.
I saved myself from re-image my machine. :-)