Slow starup after installing

Add-in Express™ Support Service
That's what is more important than anything else

Slow starup after installing
Experiencing slow IE startup time when the addon is enabled 
Erdem Ergin




Posts: 6
Joined: 2010-01-12
We are experiencing different startup times after installing an addon.
Although the startup time varies, it is always perceived.
At the worst scenario, I found it took 30 seconds between the two lines below:

10:30:35 512 5388 Creating a new application domain.
10:30:36 512 5388 Success.
10:31:06 512 5388 Unwrapping the managed class.
10:31:06 512 5388 Success.

Any ideas?
Thanks
Posted 11 Feb, 2010 13:28:49 Top
Erdem Ergin




Posts: 6
Joined: 2010-01-12
Some more information:
Environment is Windows 2003 Terminal Server, Internet Explorer 6
Addon we developed, does not have any toolbar, just runs on http events.
Posted 11 Feb, 2010 13:48:40 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hi Erdem,

Is this issue reproducible on a new empty add-on?


Andrei Smolin
Add-in Express Team Leader
Posted 12 Feb, 2010 08:04:28 Top
Erdem Ergin




Posts: 6
Joined: 2010-01-12
Hi,

Yes, I just create a ADX IE AddOn project, build and deloyed it.
Here is the log:

16:35:40 448 5568 Creating a new application domain.
16:35:40 448 5568 Success.
16:36:11 448 5568 Unwrapping the managed class.
16:36:11 448 5568 Success.
Posted 12 Feb, 2010 08:44:48 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Erdem.

I can't reproduce the issue on our PCs. The 'Unwrapping the managed class' string says that .NET Framework creates a proxy object for the iemodule. I am afraid we can't accelerate this process.
Posted 12 Feb, 2010 10:30:47 Top
Erdem Ergin




Posts: 6
Joined: 2010-01-12
Hi,

Further investigation showed me that this duration varies depending on logged on user.
User with less rights experienced faster startup time.
Could there be an issue about user rights?

Also most of the time spend is between success and unwrapping the class lines.
If the unwrapping operation is taking long, should not we see this longer duration between unwrapping the class line and the next success line.
Is there any other operation done inbetween creating the application domain and unwrapping the class?

Thanks
Posted 12 Feb, 2010 10:51:06 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hi Erdem,

Try clearing the flag below and restarting IE:
Tools | Internet Options | Advanced | Security | "Check for publisher's certificate revocation"


Andrei Smolin
Add-in Express Team Leader
Posted 15 Feb, 2010 02:41:29 Top
Erdem Ergin




Posts: 6
Joined: 2010-01-12
Hi Andrei,

This solves our problem. But our server admins ask if there is way to handle that case instead of clearing this option.
Is there an option like manually registering the certificate to server or so?
Or can you send a bit more info about this process behind this so I can share the information with server admins?

Thanks for your help
Posted 15 Feb, 2010 03:09:32 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hi Erdem,

Unfortunately, we don't know what stands behind that flag. We suppose that some requests don't pass through in your configuration, but in fact, we just don't know. If you happen to find out the reason for this, I ask you to share that informationwith us. Please.


Andrei Smolin
Add-in Express Team Leader
Posted 15 Feb, 2010 04:03:39 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hi Erdem,

I've just found the following suggestion on the web:

As an alternative, adding the following line to Hosts file should also resolve the issue :

127.0.0.1 crl.microsoft.com


Please let me know if this helps.


Andrei Smolin
Add-in Express Team Leader
Posted 15 Feb, 2010 05:02:21 Top