A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

COM object that has been separated from its underlying RCW



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 9th 09, 02:37 PM posted to microsoft.public.outlook.program_addins
Nagaraj
external usenet poster
 
Posts: 22
Default COM object that has been separated from its underlying RCW

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
Ads
  #2  
Old April 9th 09, 03:29 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default COM object that has been separated from its underlying RCW

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" wrote in message
...
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get to email from Word - separated from original thread Graham Mayor[_2_] Outlook - General Queries 0 April 23rd 08 04:53 PM
Your digital ID name cannot be found by the underlying security system Jorge Ramos Outlook - General Queries 15 February 6th 08 10:53 AM
Why does the Address property of the Recipient object in the Outlook object model look funny? Omatase Outlook - General Queries 2 July 13th 07 10:09 PM
"An error occurred in the underlying security system" in Outlook 2 Del Outlook - Installation 0 November 15th 06 12:35 PM
Outlook 2003 - Pop Account & Exchage Account in two separated personal folders roy Outlook - General Queries 1 June 28th 06 07:13 PM


All times are GMT +1. The time now is 09:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.