Re: webservice performance data missing

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: rhertzler (rhertzler_at_bigwindow.net)
Date: 05/25/04

  • Next message: Microsoft: "Re: trying to change registry value using wmi.. managementscope error"
    Date: Tue, 25 May 2004 17:14:01 -0400
    
    

    Here is what the log has after wmiadap /c and then /f:

    (Tue May 25 16:58:21 2004.14501937) : CAdapRegPerf::Clean() succeeded.
    (Tue May 25 16:59:07 2004.14547843) : The Monitor thread ID is 0xfa8
    (Tue May 25 16:59:07 2004.14547890) : The ADAP process ( PID: 2800 ) is
    connected to the WinMgmt service
    [SNIP]
    (Tue May 25 16:59:07 2004.14548171) : Collect called for .NET CLR Data
    returned 0
    (Tue May 25 16:59:07 2004.14548171) : Collect for service .NET CLR Data for
    Costly counters failed
    (Tue May 25 16:59:07 2004.14548171) : Close called for .NET CLR Data
    returned 0
    (Tue May 25 16:59:07 2004.14548171) : Thread 0x818 for .NET CLR Data is
    terminating
    [SNIP]
    (Tue May 25 16:59:07 2004.14548218) : Collect called for .NET CLR Networking
    returned 0
    (Tue May 25 16:59:07 2004.14548218) : Collect for service .NET CLR
    Networking for Costly counters failed
    (Tue May 25 16:59:07 2004.14548218) : Close called for .NET CLR Networking
    returned 0
    (Tue May 25 16:59:07 2004.14548218) : Thread 0xfbc for .NET CLR Networking
    is terminating
    [BIG SNIP]
    (Tue May 25 16:59:07 2004.14548593) : ** ContentIndex Library Loaded.
    (Tue May 25 16:59:08 2004.14548609) : Worker thread for ContentIndex is
    0xe84
    (Tue May 25 16:59:08 2004.14548609) : CNTRegistry::GetMultiStr() failed: 0.
    (Tue May 25 16:59:08 2004.14548609) : Serivce ContentIndex has a non MSDN
    compliant or invalid Linkage Key
    (Tue May 25 16:59:08 2004.14548609) : Open called for ContentIndex returned
    0
    [SNIP]
    (Tue May 25 16:59:08 2004.14548718) : ** ISAPISearch Library Loaded.
    (Tue May 25 16:59:08 2004.14548718) : Worker thread for ISAPISearch is 0x2bc
    (Tue May 25 16:59:08 2004.14548718) : CNTRegistry::GetMultiStr() failed: 0.
    (Tue May 25 16:59:08 2004.14548718) : Serivce ISAPISearch has a non MSDN
    compliant or invalid Linkage Key
    (Tue May 25 16:59:08 2004.14548718) : Open called for ISAPISearch returned 0
    [BIG SNIP]
    (Tue May 25 16:59:10 2004.14551203) : ** W3SVC Library Loaded.
    (Tue May 25 16:59:10 2004.14551203) : Worker thread for W3SVC is 0x7b4
    (Tue May 25 16:59:10 2004.14551203) : Open called for W3SVC returned 0
    (Tue May 25 16:59:10 2004.14551453) : Collect called for W3SVC returned 0
    (Tue May 25 16:59:10 2004.14551453) : Collect called for W3SVC returned 0
    (Tue May 25 16:59:10 2004.14551453) : Close called for W3SVC returned 0
    (Tue May 25 16:59:10 2004.14551453) : Thread 0x7b4 for W3SVC is terminating
    (Tue May 25 16:59:10 2004.14551453) : CAdapPerfLib::EndProcessingStatus()...
    (Tue May 25 16:59:10 2004.14551453) : Destructing the W3SVC performance
    library wrapper.
    (Tue May 25 16:59:10 2004.14551453) : Library for Service W3SVC Freed.
    (Tue May 25 16:59:10 2004.14551453) : CPerfLibSchema::Initialize for W3SVC
    hr 00000000
    (Tue May 25 16:59:10 2004.14551500) : GetClassList for W3SVC hr 00000000
    (Tue May 25 16:59:10 2004.14551515) : m_apMasterClassList[0]->Merge for
    W3SVC hr 00000000
    (Tue May 25 16:59:10 2004.14551562) : GetClassList for W3SVC hr 00000000
    (Tue May 25 16:59:10 2004.14551578) : m_apMasterClassList[1]->Merge for
    W3SVC hr 00000000
    (Tue May 25 16:59:11 2004.14551656) : class
    Win32_PerfRawData_W3SVC_WebServiceCache: Display for counter 4574 not found
    (Tue May 25 16:59:11 2004.14551656) : class
    Win32_PerfRawData_W3SVC_WebServiceCache: Display for counter 4630 not found
    (Tue May 25 16:59:11 2004.14551656) : class
    Win32_PerfRawData_W3SVC_WebServiceCache: Display for counter 4612 not found
    (Tue May 25 16:59:11 2004.14551671) : class
    Win32_PerfRawData_W3SVC_WebServiceCache: Display for counter 4596 not found
    (Tue May 25 16:59:11 2004.14551750) : CNTRegistry::GetStr() failed: 2.
    (Tue May 25 16:59:11 2004.14551937) : CNTRegistry::GetStr() failed: 2.
    (Tue May 25 16:59:11 2004.14552296) : CNTRegistry::GetStr() failed: 2.
    (Tue May 25 16:59:11 2004.14552328) : CNTRegistry::GetStr() failed: 2.
    (Tue May 25 16:59:11 2004.14552562) : CAdapRegPerf::Dredge() for
    SYSTEM\CurrentControlSet\Services\{50969EB9-8F21-4635-8ADA-349FA1E1DE31}
    succeeded.

    Also, in the event log:
    EVENT 62: WMI ADAP was unable to process the .NET CLR Data performance
    library since one of the data blobs reported to have classes but had zero
    size.
    EVENT 62: WMI ADAP was unable to process the .NET CLR Networking performance
    library since one of the data blobs reported to have classes but had zero
    size.
    EVENT 39: WMI ADAP was unable to create the object
    Win32_PerfRawData_ASP_DelayedDocuments for Performance Library ASP because
    property Queries already exists.
    EVENT 40: WMI ADAP was unable to create the object
    Win32_PerfRawData_ASP_DelayedDocuments for Performance Library ASP because
    error 0x80041001 was returned.
    EVENT 39: WMI ADAP was unable to create the object
    Win32_PerfRawData_InetInfo_ResultsRate for Performance Library InetInfo
    because property Uniquekeys already exists
    EVENT 40: WMI ADAP was unable to create the object
    Win32_PerfRawData_InetInfo_ResultsRate for Performance Library InetInfo
    because error 0x80041001 was returned
    EVENT 41: WMI ADAP was unable to create object index 3634 for Performance
    Library SMTPSVC because no value was found in the 009 subkey

    Doesn't make much sense to me, more ideas? Thanks immensely for your help.

    "Ivan Brugiolo [MSFT]" <ivanbrug@online.microsoft.com> wrote in message
    news:ukbXwKpQEHA.4020@TK2MSFTNGP11.phx.gbl...
    > Have you enabled verbose logging for WinMmgt before running WmiADAP ?
    > The wmiadap.log should give an idea why the generation
    > of the Win32_Perf[Raw|Formattes]_XXX_YYY classes failed.
    > One reason could be that the service was not started when the "dredge" was
    > performed,
    > or, the performance counter library has been disabled by perfib.
    >
    > --
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    > Use of any included script samples are subject to the terms specified at
    > http://www.microsoft.com/info/cpyright.htm
    >
    >
    > "rhertzler" <rhertzler@bigwindow.net> wrote in message
    > news:O8Qw#uoQEHA.1960@TK2MSFTNGP10.phx.gbl...
    > > Neither of these commands added anything to the wmiadap.log file, but it
    > did
    > > make the webservice data come back. Now the script works again as well
    as
    > > the simple test of the autogenerated script from scriptomatic.
    > >
    > > I have also used the Microsoft scriptomatic tool to check other items
    that
    > > do not return data. They are:
    > >
    > > FTPService
    > > ASPNETapplications
    > >
    > > Do you have any magic commands for these also? I don't use them on a
    > regular
    > > basis, so I am ready to leave well enough alone at this point if there
    is
    > > not a ready fix.
    > >
    > >
    > > "Ivan Brugiolo [MSFT]" <ivanbrug@online.microsoft.com> wrote in message
    > > news:u4862hoQEHA.3944@tk2msftngp13.phx.gbl...
    > > > Look for errors in WmiADAP.log after you've run "wmiadap.exe /c &&
    > > > wmiadamp.exe /F"
    > > >
    > > > --
    > > > This posting is provided "AS IS" with no warranties, and confers no
    > > rights.
    > > > Use of any included script samples are subject to the terms specified
    at
    > > > http://www.microsoft.com/info/cpyright.htm
    > > >
    > > >
    > > > "rhertzler" <rhertzler@bigwindow.net> wrote in message
    > > > news:fbe88daf.0405250941.2095a1c7@posting.google.com...
    > > > > I am using a script built with scriptomatic to gather webservice
    > > > > performance data and email it to me once a day. The script worked
    fine
    > > > > and I was getting the emails - great.
    > > > >
    > > > > But, I was getting event ID 2003 in the logs about trusted
    performance
    > > > > library... so I followed kb 267831. The warning went away in the
    event
    > > > > log just like they were supposed to, but I lost all access to
    > > > > webservice WMI data. So now in my script (and scriptomatic as well)
    > > > > when it runs the query "Select * from
    > > > > Win32_PerfRawData_W3SVC_WebService" I get nothing back.
    > > > >
    > > > > So, I tried kb 300956 to manually rebuild performance counter
    library
    > > > > values. Didn't make a difference. I turned on verbose logging for
    WMI
    > > > > and have the following clue in the wbemcore.log:
    > > > >
    > > > > ---------
    > > > > (Tue May 25 13:11:16 2004.877593) : CALL ConnectionLogin::NTLMLogin
    > > > > wszNetworkResource = \\.\root\cimv2
    > > > > pPreferredLocale = (null)
    > > > > lFlags = 0x0
    > > > > (Tue May 25 13:11:16 2004.877593) : DCOM connection from
    > > > > WEB01\Administrator at authentiction level Privacy, AuthnSvc = 10,
    > > > > AuthzSvc = 0, Capabilities = 0
    > > > > (Tue May 25 13:11:16 2004.877593) : CALL CWbemNamespace::GetObject
    > > > > BSTR ObjectPath = Win32_PerfRawData_W3SVC_WebService
    > > > > long lFlags = 0
    > > > > IWbemClassObject ** pObj = 0x1B4F954
    > > > > [SNIP]
    > > > > (Tue May 25 13:11:20 2004.881265) : STARTING a main queue thread
    2424
    > > > > for a total of 1
    > > > > (Tue May 25 13:11:20 2004.881265) : Query Engine request: querying
    dyn
    > > > > provider with <select * from Win32_PerfRawData_W3SVC_WebService>
    > > > > (Tue May 25 13:11:20 2004.881265) : Query Engine actual: querying
    dyn
    > > > > provider with <select * from Win32_PerfRawData_W3SVC_WebService>
    > > > > (Tue May 25 13:11:20 2004.881281) : Error 80041002 occured executing
    > > > > request for CancelProvAsyncCall for sink 02C6AFD8
    > > > > (Tue May 25 13:11:20 2004.881281) : CAsyncReq_CancelProvAsyncCall
    call
    > > > > failed
    > > > > ---------
    > > > >
    > > > > On all other queries against WMI the line with the error 80041002 is
    > > > > "CALL CWbemNamespace::GetObject" and the query returns the data I
    > > > > want.
    > > > >
    > > > > Anybody have any ideas? This is running on Windows 2003 Server. I
    want
    > > > > my webservice info back quite badly.
    > > >
    > > >
    > >
    > >
    >
    >


  • Next message: Microsoft: "Re: trying to change registry value using wmi.. managementscope error"

    Relevant Pages

    • Re: Javascript: string detection
      ... this script doesn' work, probably, because of the wrong syntax. ... A complete syntax check is better left to the server where existing code is more readily available and not a burden on the client. ... Be aware that even the regular expression above is restrictive as it won't accept literal IPv6 addresses, those that contain display names, or comments in some locations. ...
      (comp.lang.javascript)
    • Re: webservice performance data missing
      ... and the CLR counters are among some of the known ones. ... Display for counter 4574 not ... WMI ADAP was unable to process the .NET CLR Networking ... >> Use of any included script samples are subject to the terms specified at ...
      (microsoft.public.win32.programmer.wmi)
    • Re: Script to aid a visually impaired person
      ... best because it toggles. ... That's why i gave you the second script so that you can run it silently... ... but i dont think you can run the first one silently because as i explained it sends the Z key to that display box and if you hide the box then it will not receive that Z key so the script will not work ... ... Snip your long urls - http://snipurl.com/ ...
      (microsoft.public.scripting.vbscript)
    • Getting the FullName
      ... Is it possible to get the full name of a user using script? ... simply using the snip below to return the username, but I would like to get ... the users Full Name or Display Name instead. ...
      (microsoft.public.windows.server.scripting)
    • Re: Name change
      ... (application icons displayed on the dock often display information). ... slows down Windoze) - four CPU cores in two chips. ... It's displayed by the Temperature Monitor app, ...
      (uk.people.support.depression)