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

while synchronizing error is coming



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 21st 09, 12:57 PM posted to microsoft.public.outlook.program_addins
hemaneelagiri via OfficeKB.com
external usenet poster
 
Posts: 22
Default while synchronizing error is coming

hi
i am developing an application in that i have contacts. i am synchronizing
the data with my database to my outlook contacts.
i am using below code
_____________________________________
Microsoft.Office.Interop.Outlook.ContactItem contactItem= (Microsoft.Office.
Interop.Outlook.ContactItem)fldContacts.Items.Add( Microsoft.Office.Interop.
Outlook.OlItemType.olContactItem);

contactItem.CustomerID = ((int)objType).ToString() + "_" + dr["AddresseId"].
ToString().Trim();
contactItem.FirstName = dr["FirstName"].ToString();ontactItem.Gender =
Microsoft.Office.Interop.Outlook.OlGender.olMale;
contactItem.Email1Address = dt.Rows[i]["CommValue"].ToString();
contactItem.Categories = contactItem.Categories + ";" + "my new";
contactItem.Save();
__________________________________

except one system it is working fine in all other systems.
and bellow erroe is coming in that system

"Unable to cast COM object of type 'System._ComObject' to interface type
'Microsoft.Office.Interop.Outlook._ContactItem'. This Operation failed
because the queryinterface call on the COM Component for the interface with
IID'{00063021-0000-0000-C000-000000000046}' failed due to the follwing error.
No such interface suported(Exception from HRESULT.0x80004002(E_NOINTERFACE)).
"

we are not able find why it si coming

please help

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200908/1

Ads
  #2  
Old August 21st 09, 03:27 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default while synchronizing error is coming

If it works everywhere but on one machine you're going to have to do
detective work to see what's different on that machine. Disable all addin
code, any synch software and check for dependencies and requirements for you
code. See if it runs then.

It's going to be a process of elimination.

--
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


"hemaneelagiri via OfficeKB.com" u54138@uwe wrote in message
news:9aec86a34ae18@uwe...[i]
hi
i am developing an application in that i have contacts. i am
synchronizing
the data with my database to my outlook contacts.
i am using below code
_____________________________________
Microsoft.Office.Interop.Outlook.ContactItem contactItem=
(Microsoft.Office.
Interop.Outlook.ContactItem)fldContacts.Items.Add( Microsoft.Office.Interop.
Outlook.OlItemType.olContactItem);

contactItem.CustomerID = ((int)objType).ToString() + "_" +
dr["AddresseId"].
ToString().Trim();
contactItem.FirstName = dr["FirstName"].ToString();ontactItem.Gender =
Microsoft.Office.Interop.Outlook.OlGender.olMale;
contactItem.Email1Address = dt.Rows["CommValue"].ToString();
contactItem.Categories = contactItem.Categories + ";" + "my new";
contactItem.Save();
__________________________________

except one system it is working fine in all other systems.
and bellow erroe is coming in that system

"Unable to cast COM object of type 'System._ComObject' to interface type
'Microsoft.Office.Interop.Outlook._ContactItem'. This Operation failed
because the queryinterface call on the COM Component for the interface
with
IID'{00063021-0000-0000-C000-000000000046}' failed due to the follwing
error.
No such interface suported(Exception from
HRESULT.0x80004002(E_NOINTERFACE)).
"

we are not able find why it si coming

please help

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200908/1


  #3  
Old August 24th 09, 10:52 AM posted to microsoft.public.outlook.program_addins
hemaneelagiri via OfficeKB.com
external usenet poster
 
Posts: 22
Default while synchronizing error is coming

not only one miachine it is coming randomly.. after it came teh outlook is
not working and after system restarting it is working.. and code also working.
  #4  
Old August 24th 09, 03:05 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default while synchronizing error is coming

Again, you're going to have to do the detective work on this. No one can
remotely debug an intermittent error or one that occurs on one or only a few
machines.

--
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


"hemaneelagiri via OfficeKB.com" u54138@uwe wrote in message
news:9b112661c6e71@uwe...
not only one miachine it is coming randomly.. after it came teh outlook is
not working and after system restarting it is working.. and code also
working.


 




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
Error synchronizing folde Dag N Outlook - General Queries 0 May 6th 08 12:48 PM
error popup coming unnecessarily Dickery1 Outlook and VBA 1 March 6th 08 02:57 PM
Error message in mircosoft word in mail merge coming frm outlook03 Jessica Outlook - Using Contacts 1 May 15th 07 10:53 PM
Strange error coming from OUTLOOK... Karan Outlook - General Queries 0 June 13th 06 06:36 AM
Synchronizing Error Message with handheld Hoagie Outlook - Calandaring 1 May 27th 06 05:06 PM


All times are GMT +1. The time now is 01:13 PM.


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.