Hi, I'm trying to run the following WQL using WMIC from command prompt:
wmic PATH Win32_PerfFormattedData_PerfProc_Process GET IDProcess,VirtualBytes,WorkingSet
and it's returning something like:
ERROR = 0x80041010
Description = Invalid class
Facility = WMI
instead of the values requested. Sometimes it returns also "Description = Provider Failure".
I'm using a WinXP machine with SP1 and .NET framework 1.1 installed. Do you think there might be something wrong in the WMI repository? I've also tried the query from a script and returns the same error.
Regards,
Christopher Attard 4 5657
You can run wbemtest to see if the class exists.
If not, you should try to run wmiadp.exe from %windir%\system32\wbem in order to restore the high performance counters in the repository.
Also note that this is not related to CSharp, you should post to a WMI NG.
Willy.
"Christopher Attard" <ch*********@gfi.com> wrote in message news:u8**************@TK2MSFTNGP12.phx.gbl...
Hi, I'm trying to run the following WQL using WMIC from command prompt:
wmic PATH Win32_PerfFormattedData_PerfProc_Process GET IDProcess,VirtualBytes,WorkingSet
and it's returning something like:
ERROR = 0x80041010
Description = Invalid class
Facility = WMI
instead of the values requested. Sometimes it returns also "Description = Provider Failure".
I'm using a WinXP machine with SP1 and .NET framework 1.1 installed. Do you think there might be something wrong in the WMI repository? I've also tried the query from a script and returns the same error.
Regards,
Christopher Attard
I've tried it out but I'm still having the sam problem
Chris
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message news:eT*************@tk2msftngp13.phx.gbl...
You can run wbemtest to see if the class exists.
If not, you should try to run wmiadp.exe from %windir%\system32\wbem in order to restore the high performance counters in the repository.
Also note that this is not related to CSharp, you should post to a WMI NG.
Willy.
"Christopher Attard" <ch*********@gfi.com> wrote in message news:u8**************@TK2MSFTNGP12.phx.gbl...
Hi, I'm trying to run the following WQL using WMIC from command prompt:
wmic PATH Win32_PerfFormattedData_PerfProc_Process GET IDProcess,VirtualBytes,WorkingSet
and it's returning something like:
ERROR = 0x80041010
Description = Invalid class
Facility = WMI
instead of the values requested. Sometimes it returns also "Description = Provider Failure".
I'm using a WinXP machine with SP1 and .NET framework 1.1 installed. Do you think there might be something wrong in the WMI repository? I've also tried the query from a script and returns the same error.
Regards,
Christopher Attard
Did you check the presence of the Win32_PerfFormattedData_PerfProc_Process class using wbemtest.exe?
If they are missing you should try to run "wmiadap /f"
or, "winmgmt /clearadap"
Willy.
"Christopher Attard" <ch*********@gfi.com> wrote in message news:On**************@TK2MSFTNGP10.phx.gbl...
I've tried it out but I'm still having the sam problem
Chris
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message news:eT*************@tk2msftngp13.phx.gbl...
You can run wbemtest to see if the class exists.
If not, you should try to run wmiadp.exe from %windir%\system32\wbem in order to restore the high performance counters in the repository.
Also note that this is not related to CSharp, you should post to a WMI NG.
Willy.
"Christopher Attard" <ch*********@gfi.com> wrote in message news:u8**************@TK2MSFTNGP12.phx.gbl...
Hi, I'm trying to run the following WQL using WMIC from command prompt:
wmic PATH Win32_PerfFormattedData_PerfProc_Process GET IDProcess,VirtualBytes,WorkingSet
and it's returning something like:
ERROR = 0x80041010
Description = Invalid class
Facility = WMI
instead of the values requested. Sometimes it returns also "Description = Provider Failure".
I'm using a WinXP machine with SP1 and .NET framework 1.1 installed. Do you think there might be something wrong in the WMI repository? I've also tried the query from a script and returns the same error.
Regards,
Christopher Attard
Using wbemtest.exe, it is being listed as a child class of Win32_PerfFormattedData. But when trying to enumerate the instances of Win32_PerfFormattedData_PerfProc_Process an Error dialog pops up (number=0x80041010,description=invalid class). I've also tried out running "wmiadap /f" and winmgmt /clearadap" but it was all in vain.
Note that this error's behaviour is completely random, sometimes it is raised and sometimes the query works perfectly.
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message news:OX**************@TK2MSFTNGP09.phx.gbl...
Did you check the presence of the Win32_PerfFormattedData_PerfProc_Process class using wbemtest.exe?
If they are missing you should try to run "wmiadap /f"
or, "winmgmt /clearadap"
Willy.
"Christopher Attard" <ch*********@gfi.com> wrote in message news:On**************@TK2MSFTNGP10.phx.gbl...
I've tried it out but I'm still having the sam problem
Chris
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message news:eT*************@tk2msftngp13.phx.gbl...
You can run wbemtest to see if the class exists.
If not, you should try to run wmiadp.exe from %windir%\system32\wbem in order to restore the high performance counters in the repository.
Also note that this is not related to CSharp, you should post to a WMI NG.
Willy.
"Christopher Attard" <ch*********@gfi.com> wrote in message news:u8**************@TK2MSFTNGP12.phx.gbl...
Hi, I'm trying to run the following WQL using WMIC from command prompt:
wmic PATH Win32_PerfFormattedData_PerfProc_Process GET IDProcess,VirtualBytes,WorkingSet
and it's returning something like:
ERROR = 0x80041010
Description = Invalid class
Facility = WMI
instead of the values requested. Sometimes it returns also "Description = Provider Failure".
I'm using a WinXP machine with SP1 and .NET framework 1.1 installed. Do you think there might be something wrong in the WMI repository? I've also tried the query from a script and returns the same error.
Regards,
Christopher Attard This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rsa Myh |
last post by:
Hi,
I am running SQL Server 2000 SP3 on Windows Server 2003 and since recently
have a strange problem executing shape queries from COM+ components using
ADO.
Until 4 days ago, they worked,...
|
by: Matias Silva |
last post by:
Hi Everyone, I wrote a for loop to build several select
statements that are combined with a UNION. When I execute
one of the queries separately, it works, but when I execute
the query with a UNION...
|
by: Pbuck |
last post by:
I am running a report that is drawing in data from 5 different queries.
The report has five different fields and a sum field to tally up the
values in the 5 different fields. The data is loaded...
|
by: Joe Ross |
last post by:
I've been working with Microsoft support for over 3 weeks now on an
intermittent General Network Error we're seeing in our production
environment between our ASP.NET application and SQL Server...
|
by: Xah Lee |
last post by:
in March, i posted a essay “What is Expressiveness in a Computer
Language”, archived at:
http://xahlee.org/perl-python/what_is_expresiveness.html
I was informed then that there is a academic...
|
by: Aaron West |
last post by:
Try this script to see what queries are taking over a second.
To get some real output, you need a long-running query. Here's one
(estimated to take over an hour):
PRINT GETDATE()
select...
|
by: Omer |
last post by:
Hi,
I am using C# 2.0 along with MS Access database. All my queries are
working perfectly fine, but one inner join query is ocntinously
throwing. I ahve tried it both from code and running...
|
by: Jan |
last post by:
Hi:
I've got the Error 3197 problem ("The Microsoft Jet database engine
stopped the process because you and another user are attempting to
change the same data at the same time.") in a client...
|
by: fniles |
last post by:
One of our application uses VB6 and Access97 database. Another application
uses VB.NET 2005.
This morning for about 15 seconds when the application tries to read either
a query or a table from the...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
| |