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 » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Your server administrator has limited the number of items you can



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 20th 10, 04:21 AM posted to microsoft.public.outlook.program_forms
spottedmahn
external usenet poster
 
Posts: 16
Default Your server administrator has limited the number of items you can

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


All times are GMT +1. The time now is 08: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.