GDPicture Start slow

General discussions about GdPicture.NET.
Post Reply
kyosukec
Posts: 6
Joined: Fri Oct 09, 2009 11:15 am

GDPicture Start slow

Post by kyosukec » Wed Apr 18, 2012 7:06 am

Dear Sir,

In one window 2008 server, after I install the GDPicture and start the sample application "Document Viewer.exe", it takes around 1 min in order that the form show up.

Attached please find the screenshot, it is find that the process is started in the task manager,
it CPU cost is zero during the time it waiting, and then it finally pop up. It seems that it wait for something to timeout

In fact not only that application, all application reference to GDPicture also takes 1 min to start up. Is there any hints what would affect this? Many thanks
Attachments
GDPicture Start Slow.zip
(180.7 KiB) Downloaded 339 times

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GDPicture Start slow

Post by Loïc » Wed Apr 18, 2012 11:36 am

Hello,

The problem is probably caused by the authenticode verification process.

Some information from http://msdn.microsoft.com/en-us/library/cc656914.aspx
Authenticode verification adds to the startup time. Authenticode-signed assemblies have to be verified with the certification authority (CA). This verification can be time consuming, because it can require connecting to the network several times to download current certificate revocation lists. It also makes sure that there is a full chain of valid certificates on the path to a trusted root. This can translate to several seconds of delay while the assembly is being loaded.

Consider installing the CA certificate on the client computer, or avoid using Authenticode when it is possible. If you know that your application does not need the publisher evidence, you do not have to pay the cost of signature verification.

Starting in .NET Framework 3.5, there is a configuration option that allows the Authenticode verification to be bypassed. To do this, add the following setting to the app.exe.config file:

Code: Select all

<configuration>
    <runtime>
        <generatePublisherEvidence enabled="false"/> 
    </runtime>
</configuration>

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests