473,479 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

prblm wrkin with System.Management

When iam including System.Management Namespace and working with it its raising an error : Invalied Namespace.

Its working fine on one system and when the same application is being executed on another machine its giving above said prblm.

Can i get a sol. for this prblm.
--------------------------------
From: sudheer dacha

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>bsVGvEHdyki97HeUJTno9g==</Id>
Nov 17 '05 #1
3 1115
MAybe you are missing some assembly reference in your project settings.

"sudheer dacha via .NET 247" <an*******@dotnet247.com> schrieb im
Newsbeitrag news:Od**************@TK2MSFTNGP09.phx.gbl...
When iam including System.Management Namespace and working with it its raising an error : Invalied Namespace.
Its working fine on one system and when the same application is being executed on another machine its giving above said prblm.
Can i get a sol. for this prblm.
--------------------------------
From: sudheer dacha

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>bsVGvEHdyki97HeUJTno9g==</Id>

Nov 17 '05 #2
What WMI namespace are you using in your program?

Willy.
"sudheer dacha via .NET 247" <an*******@dotnet247.com> wrote in message
news:Od**************@TK2MSFTNGP09.phx.gbl...
When iam including System.Management Namespace and working with it its
raising an error : Invalied Namespace.

Its working fine on one system and when the same application is being
executed on another machine its giving above said prblm.

Can i get a sol. for this prblm.
--------------------------------
From: sudheer dacha

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>bsVGvEHdyki97HeUJTno9g==</Id>

Nov 17 '05 #3
"Invalid Namespace" refers to a WMI namespace not a .NET namespace.

Willy.

"cody" <de********@gmx.de> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
MAybe you are missing some assembly reference in your project settings.

"sudheer dacha via .NET 247" <an*******@dotnet247.com> schrieb im
Newsbeitrag news:Od**************@TK2MSFTNGP09.phx.gbl...
When iam including System.Management Namespace and working with it its

raising an error : Invalied Namespace.

Its working fine on one system and when the same application is being

executed on another machine its giving above said prblm.

Can i get a sol. for this prblm.
--------------------------------
From: sudheer dacha

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>bsVGvEHdyki97HeUJTno9g==</Id>


Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
13988
by: Paul Gronka | last post by:
I've got a VB.NET windows application (written in VS .NET 2003) that makes a call to WMI for retrieving the MAC Address from the client's PC. It works on 4 out of the 5 PC's tested so far. All...
1
5883
by: PaulThomas | last post by:
I am using VS.Net 2000 and C# trying to access the System.Management namespace in a Web Application -but- after: using System; using System.Management; I get: The type or namespace name...
1
10212
by: lcifers | last post by:
I have an application that uses the following code to return the default printer: Dim moReturn As Management.ManagementObjectCollection Dim moSearch As Management.ManagementObjectSearcher Dim...
7
6648
by: eric | last post by:
I'm writing a program in C# and found a couple of threads about how to check the status of a printer before sending it any data, to ensure that the printer is ready to print. They say to include...
3
23270
by: Anil Gupte | last post by:
I am getting this error: Type 'System.Management.ManagementClass' is not defined. The statement is: Dim diskClass As New System.Management.ManagementClass("Win32_LogicalDisk") According to the...
8
5728
by: =?Utf-8?B?YXVsZGg=?= | last post by:
i trying to collect windows services. i'm getting inconsistencies. the collection works every time locally. but remote collection yields different result depending on my lab environment. 1) in...
3
1298
by: nagarwal | last post by:
Hi All, I am having prblm in comparing date, I have to pass a date and if the date is a past date compared to today's date I have to notify.. this is urgent plz reply. The format is mm/dd/yyyy but...
3
16134
by: Marco Shaw | last post by:
I've got some C# code to create a custom PowerShell cmdlet with these statements: .... using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; .... ...
2
4612
by: karthi84 | last post by:
Hi Experts, i have created a web application which has an option to edit the web config file from the web page. when i create an installer for this project using web setup project in VS2008 and...
0
7027
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7019
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7067
jinu1996
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...
1
6719
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6847
tracyyun
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...
0
5312
agi2029
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 project—planning, coding, testing,...
1
4757
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2970
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
555
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.