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

Outlook 2003 SP3 24+ contacts limit in Terminal server env



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 14th 07, 07:21 PM posted to microsoft.public.outlook.program_forms
Rafael[_2_]
external usenet poster
 
Posts: 28
Default Outlook 2003 SP3 24+ contacts limit in Terminal server env

All,

I have an Outlook 2003 SP3 with Exchange 2003 Sp1 environment and I've
noticed there's a limitation to the number of contacts I can create or update
programmatically. The magic number seems to be between 244 and 248.

I need to tell as well that I have a custom form for the contacts but this
does not seem to be a problem on my lab where I am running Outlook 2003 SP3
in stand alone mode. I can edit create/edit thousands of contacts using the
same custom form.

I've also increased the cache size on both sides but in stand alone mode,
Outlook worked fine even with the 2048 cache size.

Any thoughts would be appreciated. Here is the code I use to create a bunch
of contacts. This code fails every 24+ contacts.

Sub CreateContacts()
Dim myOlApp As New Outlook.Application
Dim myNameSpace As Outlook.NameSpace
Dim myFolder
Dim myContact As Outlook.ContactItem

Set myNameSpace = myOlApp.GetNamespace("MAPI")
Set myFolder = myNameSpace.GetDefaultFolder(olFolderContacts)

myName = 0
Do Until myName = 500

Set myContact = myOlApp.CreateItem(olContactItem)
myContact.BusinessAddressState = "WA"
myContact.FullName = "User" & myName
myContact.Email1Address = myContact.FullName & "
myName = myName + 1
myContact.Save

Loop
MsgBox myName & " were created."
Set myNameSpace = Nothing
Set myOlApp = Nothing
Set myFolder = Nothing

End Sub
  #2  
Old October 15th 07, 12:29 AM posted to microsoft.public.outlook.program_forms
Rafael[_2_]
external usenet poster
 
Posts: 28
Default Outlook 2003 SP3 24+ contacts limit in Terminal server env

Update:

When I run my VSTO AddIn against an Outlook 2007 client on my Exchange 2003
env, I get the following error:
"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 mesagges you are composing."

Not sure where I can change this limitation in Exchange 2003.


"Rafael" wrote:

All,

I have an Outlook 2003 SP3 with Exchange 2003 Sp1 environment and I've
noticed there's a limitation to the number of contacts I can create or update
programmatically. The magic number seems to be between 244 and 248.

I need to tell as well that I have a custom form for the contacts but this
does not seem to be a problem on my lab where I am running Outlook 2003 SP3
in stand alone mode. I can edit create/edit thousands of contacts using the
same custom form.

I've also increased the cache size on both sides but in stand alone mode,
Outlook worked fine even with the 2048 cache size.

Any thoughts would be appreciated. Here is the code I use to create a bunch
of contacts. This code fails every 24+ contacts.

Sub CreateContacts()
Dim myOlApp As New Outlook.Application
Dim myNameSpace As Outlook.NameSpace
Dim myFolder
Dim myContact As Outlook.ContactItem

Set myNameSpace = myOlApp.GetNamespace("MAPI")
Set myFolder = myNameSpace.GetDefaultFolder(olFolderContacts)

myName = 0
Do Until myName = 500

Set myContact = myOlApp.CreateItem(olContactItem)
myContact.BusinessAddressState = "WA"
myContact.FullName = "User" & myName
myContact.Email1Address = myContact.FullName & "
myName = myName + 1
myContact.Save

Loop
MsgBox myName & " were created."
Set myNameSpace = Nothing
Set myOlApp = Nothing
Set myFolder = Nothing

End Sub

 




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
Outlook 2003 Security Settings on Terminal Server Island Girl Outlook - Installation 3 June 28th 07 01:10 AM
Outlook 2003 On Windows 2000 Server w/ Terminal Services Jeff Outlook - Installation 0 March 6th 07 06:03 PM
Outlook forms running on Windows 2003 Terminal Server Marc-andre Poupier Outlook - Using Forms 0 April 12th 06 08:04 PM
New Outlook 2003 profiles on Terminal Server 2003 John W Outlook - Installation 0 February 28th 06 07:22 PM
Outlook 2003 will not connect to Exchange 2003 via terminal server session. Bagger Outlook - General Queries 2 January 25th 06 06:28 AM


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