He means that the new error is that you didn't include any code in your post.  
Please reply with a sample of code that reproduces
the error.

&_david++;

Alex Smotritsky wrote:
That's incorrect. The message at the bottom of your reply was my entire
message.

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Wills
Sent: Thursday, September 28, 2006 8:53 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] OS specific WMI error with .Net 1.1

Alex,

The mail filter seems to have stripped out your code.

Seeya
Matthew Wills | Senior Analyst Programmer | Adviser Tools and Services|
Financial Planning and Third Party | NAB Technology | Wealth Management
Australia

|---------+---------------------------->
|         |           Alex Smotritsky  |
|         |           <alex_smotritsky@|
|         |           YAHOO.COM>       |
|         |                            |
|---------+---------------------------->

---------------------------------------------------------------------------
-----------------------------------|
  |
|
  |       To:       ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
|
  |       cc:
|
  |       Subject:  [ADVANCED-DOTNET] OS specific WMI error with .Net 1.1
|

---------------------------------------------------------------------------
-----------------------------------|




I'm trying to iterate over a ManagementObjectCollection with a foreach.
When
running against a Windows 2000 Advanced Server with .Net 1.1 installed I'm
getting the following error:



COM object that has been separated from its underlying RCW can not be used.



The ManagementException.ErrorCode is -2146233087.



This does not happen when running against Windows Server 2003.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to