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

Tags: , , , , , , ,

Outlook 2003 Addin 15 seconds startup delay on terminal server





 
 
Thread Tools Display Modes
  #1  
Old March 2nd 07, 12:11 PM posted to microsoft.public.outlook.program_addins
Sander Kooij
external usenet poster
 
Posts: 4
Default Outlook 2003 Addin 15 seconds startup delay on terminal server

Hello,

I have a question concerning an Outlook 2003 Add-in. At our company we
have developed an Outlook add-in which is implemented in quite a few
organizations and is running properly on hundreds of desktops.
Recently we received the request to run our add-in in a Terminal
Server environment (Windows 2003 server). While testing this I have
encountered a strange problem. Outlook seems to 'hangs' for about 15
seconds when starting up and than continues to work properly. All the
functionality of the add-in, as well as Outlook seem to work properly
without any problem. For our customer however this problem is
unacceptable because it significantly increases the startup time and
Outlook is not responding during the 15 seconds 'hang'.

To see where the delay occurred exactly, I have modified the add-in,
stripping the execution of the original functionality and only adding
some log entries to check where the delay occurred. In all the
functions which are called by Outlook when implementing the
IDTExtensibility2 Interface, I have set a log event with a date-time
stamp to see how long each step takes. Here below is the result.

02/03/2007 10:42:43 In Connect Constructor
02/03/2007 10:42:43 Current Tick: 104036226
02/03/2007 10:42:43 Out Connect Constructor
02/03/2007 10:42:59 In OnConnection
02/03/2007 10:42:59 Current Tick: 104051377
02/03/2007 10:42:59 Out OnConnection
02/03/2007 10:42:59 In OnAddInsUpdate
02/03/2007 10:42:59 Out OnAddInsUpdate
02/03/2007 10:42:59 In OnStartupComplete
02/03/2007 10:42:59 Out OnStartupComplete
02/03/2007 10:43:04 In OnBeginShutdown
02/03/2007 10:43:04 Out OnBeginShutdown
02/03/2007 10:43:04 In OnDisconnection
02/03/2007 10:43:04 Out OnDisconnection

As you can see in this log file snippet, there is a 15 second delay
between the constructor of the connect class and the calling of the
OnConnect method. To time more accurate I have set a tick count entry
in the log displaying the current tick count. When subtracting the two
tick counts it is clearly that the delay is 15 seconds (15151
milliseconds to be precise). This is always the same, the milliseconds
vary between 15140 and 15160, but it's quite constant. When running
the Add-in on a normal desktop the difference between the ticks is
always under the 500 millisecond.

It is clear that Terminal Server is having some impact on the Add-in.
However I am unable to determine what is causing it. I have tried to
use different user account (varying from a default user to an
administrator) excluding a rights problem. Also there are no errors or
warnings reported in the event viewer.

My question is:
Has someone ever encountered a similar problem before? Or is it
possible to see what Outlook is doing in these 15 seconds (an Outlook
log perhaps, if it exists).


Thank you in advance,


- Sander Kooij


Ads
 




Thread Tools
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 AddIn for Terminal Server Users tingletanglebob Outlook - Using Forms 0 December 19th 06 05:35 PM
There is a delay every six seconds in Outlook. Why? Judy Kay Outlook - Installation 1 November 27th 06 03:23 PM
Outlook forms running on Windows 2003 Terminal Server Marc-andre Poupier Outlook - Using Forms 0 April 12th 06 07:04 PM
New Outlook 2003 profiles on Terminal Server 2003 John W Outlook - Installation 0 February 28th 06 06:22 PM
Outlook 2003 will not connect to Exchange 2003 via terminal server session. Bagger Outlook - General Queries 2 January 25th 06 05:28 AM


All times are GMT +1. The time now is 10:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Mortgage Calculator - Cell Phones - Final Fantasy MP3 - Credit Cards - Modded Xbox