PC Review


Reply
Thread Tools Rate Thread

COM object that has been separated from its underlying RCW

 
 
Nagaraj
Guest
Posts: n/a
 
      9th Apr 2009
Hi All,

I opened a mail in outlook 2007. Done some manipulations and closed it.
When I again open the same mail item I am getting the following error

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

Can anybody help me resolving this issue?

Thanks in advance

--
Nagaraj Tadipatri
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      9th Apr 2009
You are most likely calling Marshal.ReleaseComObject() or it's finalize
cousin on that object, which releases the RCW for the object. Then you are
trying to re-use that object without re-instantiating it. Make sure not to
call one of the release methods if you still have any other references you
need to use for that object, or re-instantiate that object to create a new
RCW before using it again.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Nagaraj" <(E-Mail Removed)> wrote in message
news:F254B03D-77A9-43A3-B43D-(E-Mail Removed)...
> Hi All,
>
> I opened a mail in outlook 2007. Done some manipulations and closed it.
> When I again open the same mail item I am getting the following error
>
> COM object that has been separated from its underlying RCW cannot be used.
>
> Can anybody help me resolving this issue?
>
> Thanks in advance
>
> --
> Nagaraj Tadipatri


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
object that has been separated from its underlying RCW j Microsoft Outlook Program Addins 11 3rd Aug 2009 02:33 PM
COM object that has been separated from its underlying RCW can not be used??? Marco Castro Microsoft VB .NET 2 9th Jan 2007 12:57 PM
COM object that has been separated from its underlying RCW... =?Utf-8?B?TWljaGFlbCBNYWVz?= Microsoft VB .NET 4 14th Nov 2006 06:43 PM
Error: COM object that has been separated from its underlying RCW can not be used. moondaddy Microsoft Dot NET Framework 1 31st Jan 2006 06:45 AM
COM object that has been separated from its underlying RCW can not be used. Rahul T. Microsoft ASP .NET 3 3rd Dec 2004 12:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:24 PM.