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 email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ =================================== This list is hosted by DevelopMentor. http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com