![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I'm receiving the following COMException:
"Your server administrator has limited the number of items you can open simultaneously. Try closing messages you have opened or removing attachments and images from unsent messages you are composing." when I try to iterate thru a list of Contact Items. I've read a few posts on this same error message but I'm still unsure how of how to properly fix it. Here is my code: ListContactItem Results = new ListContactItem(); Outlook.Items Contacts = this.WcmsContactsMapiFolder.Items; Outlook.ContactItem Contact = (Outlook.ContactItem) Contacts.GetFirst(); do { ContactItem NewCont = ContactItem.FromOutlookContactItem(Contact, this.SifApp); Results.Add(NewCont); Marshal.ReleaseComObject(Contact); Contact = (Outlook.ContactItem)Contacts.GetNext(); } while (Contact != null); return Results; I've read posts that say you must call " Marshal.ReleaseComObject()" but that doesn't appear to be closing the connection. I've read posts that say to increase the simultaneous connection limit but that doesn't see right to me. I'm able to view the contact list in Outlook so it is reading it somehow. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Limited number of columns | Pavel | Outlook - Calandaring | 0 | July 8th 08 05:34 PM |
Your server administrator has limited the number of items you can | Johan Verrept | Outlook and VBA | 3 | March 13th 08 03:57 PM |
Your server administrator has limited the number of items you can | Johan Verrept | Add-ins for Outlook | 3 | March 13th 08 03:57 PM |
When exporting Outlook 2007 Contacts inly a limited number go. | mcfarmer | Outlook - Using Contacts | 2 | October 26th 07 09:01 PM |
You server administrator has limited ... | Brian Ross | Outlook - General Queries | 1 | April 10th 07 02:07 PM |