Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Application pause on startup (Read 3481 times)
tim
YaBB Newbies
*
Offline



Posts: 4
Joined: Feb 13th, 2007
Application pause on startup
Feb 13th, 2007 at 6:32am
Print Post  
Hi,

I've been using the .NET 2 version of Flowchart.NET pro with visual studio 2005 sp1 and have seen a rather odd problem.

The first time the flowchart objects are accessed there is a thirty second pause in the programs execution with no hard drive or cpu activity.
It occurs when I create a new shape template using the constructor that adds the new template to the static list.

Since I have the source code, I rebuilt the flowchart controls and turned of the signing of the assemlies and with this unsigned version the pause does not occur.

This makes me think this is more a Microsoft issue but has anyone got any ideas why using a singed assemly would result in this sort of delay or any way to fix it. I've tried readding the assemly and registering it in the GAC to no avail.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Application pause on startup
Reply #1 - Feb 13th, 2007 at 6:46am
Print Post  
Hi,

The delay should happen only if there is no Internet connection available. From the FAQ -

********************************
A:     The flowchart.net.dll is signed via Authenticode. When Windows loads signed libraries, it attempts to verify the certificate revocation list (CRL) published on the certificate authority web site. It is possible to disable this behavior globally, but not individually for the flowchart.net.dll only. To disable CRL checking, open the Internet Options applet from the Control Panel, click on the Advanced tab, scroll down to the "Check for publisher's certificate revocation" checkbox and clear it. If that is not a desirable solution, we can provide you with unsigned build of the dll.

Q:     There is a 15 second delay when my form that contains FlowChart.NET loads for the first time. Why does that happen?

A:     Windows tries to connect to the VeriSign site to check the FlowChart.NET Authenticode signature. If there is not an Internet connection present, a time-out occurs after 15 seconds. See the previous question and answer for more information.
********************************

The dlls is signed because we have many clients that use it in IE, and the signature allows loading the control under stricter security permissions.

Stoyan
  
Back to top
 
IP Logged
 
tim
YaBB Newbies
*
Offline



Posts: 4
Joined: Feb 13th, 2007
Re: Application pause on startup
Reply #2 - Feb 13th, 2007 at 8:05am
Print Post  
Hi,

Thanks for the quick answer, given that our target deployment machines will not have internet connections I think we will need unsigned versions of the assemblies.

As a thought, would adding yourselves as trusted code publishers using certmgr and the appropriate certificate avoid the problem?

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Application pause on startup
Reply #3 - Feb 13th, 2007 at 9:25am
Print Post  
Hi,

Contact us by email and we will send you unsigned assemblies. We will probably add both sets of signed and unsigned assemblies to the installer for the next release.

We could do something with certmgr from our installer, but I am not sure whether you will be able to use our certificate from your application's setup project.

Stoyan
  
Back to top
 
IP Logged
 
tim
YaBB Newbies
*
Offline



Posts: 4
Joined: Feb 13th, 2007
Re: Application pause on startup
Reply #4 - Feb 13th, 2007 at 12:24pm
Print Post  
Thanks for you help. As for the certmgr I was thinking along the lines of if you could release the public part of the signing certificate you use in a format usable with certmgr then we could try adding you as trusted code publishers on the machines when we install our application and see if it prevents this time out issue. I have no idea whether adding someone as a trusted code publisher will prevent the check for the certificate revocation but if it worked we could continue to use the signed assemblies.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Application pause on startup
Reply #5 - Feb 13th, 2007 at 1:02pm
Print Post  
Hi,

I have emailed you an .spc file to import into the trusted publishers list. Please let me know how that works out for you.

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Application pause on startup
Reply #6 - Feb 13th, 2007 at 1:22pm
Print Post  
It seems your email server does not like attachments and returned the message. You can download the file here -

https://www.mindfusion.org/_temp/MindFusion.zip

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint