New teeChartV2 versions' startup problem
New teeChartV2 versions' startup problem
I've noticed that charts with assemblies ver. after 2.0.2795.29268 are drawing much longer for the first time (compared to ver 2.0.2795.29268). I mean first window drawing after starting my project. After that long wait everything is ok. Maybe I should use some new init functions to speed up th process in newest releases?
Thank you.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bairog,
Latest TeeChart for .NET v2 version available is build 2.0.3203.23271/72 as you can see here. Could you please check if that solves the problem for you?
Thanks in advance.
Latest TeeChart for .NET v2 version available is build 2.0.3203.23271/72 as you can see here. Could you please check if that solves the problem for you?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Of course I've tried latest build too And I still have same problems.
I can say that this long startup was found on such computer configurations like Pentium 4 2.8 Ghz + 512 mb ddr + 128 mb GF 5200(winXP SP2 + .NET Framework 2.0) and Pentium M 1.7 Ghz + 1024 mb ddr2 + Intel GMA 3100(winXP SP3 + .NET Framework 2.0 SP2).
On my new configuration Core2Duo 3.0 Ghz + 2048 mb ddr2 + 512 mb GF 8800 GT(winXP SP3 + .NET Framework 2.0 SP1) the same example worked perfect.
Could it be hardware problem?
Maybe some new init functions were introduced in next release after 2.0.2795.29268?
I can say that this long startup was found on such computer configurations like Pentium 4 2.8 Ghz + 512 mb ddr + 128 mb GF 5200(winXP SP2 + .NET Framework 2.0) and Pentium M 1.7 Ghz + 1024 mb ddr2 + Intel GMA 3100(winXP SP3 + .NET Framework 2.0 SP2).
On my new configuration Core2Duo 3.0 Ghz + 2048 mb ddr2 + 512 mb GF 8800 GT(winXP SP3 + .NET Framework 2.0 SP1) the same example worked perfect.
Could it be hardware problem?
Maybe some new init functions were introduced in next release after 2.0.2795.29268?
Thank you.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bairog,
Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You ca neither post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You ca neither post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
I've uploaded two projects compiled with two versions of teeChart 2 to your upload page.
UPDATE
I've found the problem. Project compiled with teeChart 2.0.3203.23272 starts slowly on computers inside local network but not connected to the Internet. I sniffed network traffic and found multiple DNS requests to crl.usertrust.com:
That DNS requests cannot be resolved so program starts slowly.
What should I do in such situation?
UPDATE
I've found the problem. Project compiled with teeChart 2.0.3203.23272 starts slowly on computers inside local network but not connected to the Internet. I sniffed network traffic and found multiple DNS requests to crl.usertrust.com:
Code: Select all
time sender IP receiver IP protocol message type
3.135227 10.1.1.55 10.1.1.1 DNS Standard query A crl.usertrust.com
6.135273 10.1.1.55 10.1.1.1 DNS Standard query A crl.usertrust.com
10.135319 10.1.1.55 10.1.1.1 DNS Standard query A crl.usertrust.com
18.077392 10.1.1.1 10.1.1.55 DNS Standard query response, Server failure
What should I do in such situation?
Thank you.
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
bairog,
http://www.teechart.net/support/viewtopic.php?t=9104
Please let me know if the new, valid Digital Certificate makes a difference to your issue!
This could be due to the fact that Steema's Digital Certificate on that build is out of date. A new build has just been released, details of which you can find here:bairog wrote: What should I do in such situation?
http://www.teechart.net/support/viewtopic.php?t=9104
Please let me know if the new, valid Digital Certificate makes a difference to your issue!
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Sorry, but it looks like 2.0.3309.32489 has the same problemChris wrote: Please let me know if the new, valid Digital Certificate makes a difference to your issue!
Starting is slow again and I sniffed same DNS requests.
I should note again that release 2.0.2795.29268 didn't have such problems (and no DNS requests were sniffed during startup).
So I suppose that the kernel of the problem first appeared in next release after 2.0.2795.29268.
Maybe you should simply compare that two releases?
BTW I've uploaded my project compiled with latest teeChart build to your upload page.
THE SAME PROBLEM AS DESCRIBED THERE
Daniel Ruehmer wrote: much worse!!!
Now on my development machine with no connection to the Internet shows DNS requests for crl.usertrust.com with all the full timeout delay.
Thank you.
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
bairog,
Now read the rest of the post:bairog wrote:Daniel Ruehmer wrote: much worse!!!
Now on my development machine with no connection to the Internet shows DNS requests for crl.usertrust.com with all the full timeout delay.
So, it seems that for Daniel the problem was solved with the new release when his machine had a working internet connection. However, the issue remains as to why these DNS requests are being sent when the network cable is unplugged. I'm going to run some tests now and will report back to that thread (and not this one) so maybe you'd like to keep an eye on it.Daniel Ruehmer wrote: Wait a moment! I just figured out, that my second network adapter (a connection to the Internet) was not disabled but just "unplugged". After plugging in the network cable and after the first access to usertrust.com no DNS request was sent anymore (with all the benefit in speed), even after a reboot. Now it is gone on my development PC. Shocked
I believe that the connection of the certificate to usertrust.com "installed" somehow a marker that it is valid and asks no more. However on my virtual machine it is still the same (DNS requests are going on).
I granted my virtual machine the right to access the Internet. Displaying the certificate in the DLLs file properties gained access to usertrust.com. Rebooting and unplugging the network cable resulted in a fast response, though plugging in the cable resulted again in DNS requests.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Ok, I was wrong, I have not exact situation that Daniel has.Chris wrote: So, it seems that for Daniel the problem was solved with the new release when his machine had a working internet connection. However, the issue remains as to why these DNS requests are being sent when the network cable is unplugged. I'm going to run some tests now and will report back to that thread (and not this one) so maybe you'd like to keep an eye on it.
Some explanations: My computer has network cable is plugged, it is inside local network but it is NOT connected to the Internet. I have network without working internet connection. And I will never have it.
So I wonder how to make that DNS requests not to be sent at all in such situation.
Thank you.
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
bairog,
Unfortunately, it seems that Daniel will not be able to continue investigating the issue further. May I suggest that you read the latest messages between Daniel and myself for details.
So, maybe you'd like to help me track down the cause of this issue ? If you would like to, please let me know and we'll get to work!
I think your situation is identical with Daniel's situation. In both cases, the problem arises when the machine has no access to valid DNS servers.bairog wrote: Some explanations: My computer has network cable is plugged, it is inside local network but it is NOT connected to the Internet. I have network without working internet connection. And I will never have it.
So I wonder how to make that DNS requests not to be sent at all in such situation.
Unfortunately, it seems that Daniel will not be able to continue investigating the issue further. May I suggest that you read the latest messages between Daniel and myself for details.
So, maybe you'd like to help me track down the cause of this issue ? If you would like to, please let me know and we'll get to work!
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
If you mean that machine has no access to DNS which can resolve DNS requests to crl.usertrust.com then you are rigth.Chris wrote:the problem arises when the machine has no access to valid DNS servers.
I've tested many configurations and project started fast only having access to valid DNS server.
Well I can try to help you, but what can I do i that case?Chris wrote:So, maybe you'd like to help me track down the cause of this issue ? If you would like to, please let me know and we'll get to work!
BTW Why can you simply disable that annoing DNS requests? Maybe introduce some flag like .Local?
Thank you.
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
bairog,
Ok. Well, maybe you could answer the four yes/no questions I've just asked Daniel to confirm this for me.bairog wrote: If you mean that machine has no access to DNS which can resolve DNS requests to crl.usertrust.com then you are rigth.
I've tested many configurations and project started fast only having access to valid DNS server.
Mmm. Well, what you could do is create an "empty" UserControl and then sign it with a "fake" Digital Certificate to see if the problem occurs there. I could then create an "empty" UserControl and then sign it with Steema's Digital Certificate to see if the problem is specific to Steema's Digital Certificate or is general to all Digital Certificates.bairog wrote: Well I can try to help you, but what can I do i that case?
Where would I introduce this flag? I think it's quite clear that these DNS requests are not being made by TeeChart code, but are being made by the OS (or some other security process). The only place that this kind of flag could be specified would be in the process we use to sign the assemblies, but I don't think such a flag exists ...bairog wrote: BTW Why can you simply disable that annoing DNS requests? Maybe introduce some flag like .Local?
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
I found only twoChris wrote:Ok. Well, maybe you could answer the four yes/no questions I've just asked Daniel to confirm this for me.
1) no, it is not installedChris wrote:1)Do you have Steema's Digital Certificate installed on the machine? You can check via "Control Panel -> Internet Options -> Content -> Certificates" If you have, click on the "Advanced" button and check if the "Client Authentication" checkbox is checked. If it is, try unchecking it (also try unchecking this checkbox in the "Intermediate Certification Authorities" tab). You might even like to delete the Steema Digital Certificate to see if that makes a difference.
2) Security
There is the possibility that some security process is causing this unwanted DNS traffic. Some security setting might be causing the security process to double check all Digital Certificates. This process could be an anti-virus process or a spyware/malware detector, either Microsoft built (e.g. Windows Defender) or third party. It may even be a security issue of the .NET Framework itself, although I think this is less likely. Why don't you try turning off all known security processes on your machine?
2) No anti virus, Defender etc. on my machine.
Maybe it is not TeeChart code.Chris wrote: I think it's quite clear that these DNS requests are not being made by TeeChart code, but are being made by the OS (or some other security process). The only place that this kind of flag could be specified would be in the process we use to sign the assemblies, but I don't think such a flag exists ...
But why project compiled with teeChart 2.0.2795.29268 does not have that DNS requests?
Thank you.
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
bairog,
Sorry, my fault for not being more specific. The questions are here:
http://www.teechart.net/support/viewtop ... 9&start=15
1) With access to a valid DNS server, does a TeeChart application with a valid Digital Certificate start without delay?
2) With access to a valid DNS server, does a TeeChart application without a valid Digital Certificate start without delay?
3) Without access to a valid DNS server, does a TeeChart application with a valid Digital Certificate start without delay?
4) Without access to a valid DNS server, does a TeeChart application without a valid Digital Certificate start without delay?
bairog wrote:I found only two
Sorry, my fault for not being more specific. The questions are here:
http://www.teechart.net/support/viewtop ... 9&start=15
1) With access to a valid DNS server, does a TeeChart application with a valid Digital Certificate start without delay?
2) With access to a valid DNS server, does a TeeChart application without a valid Digital Certificate start without delay?
3) Without access to a valid DNS server, does a TeeChart application with a valid Digital Certificate start without delay?
4) Without access to a valid DNS server, does a TeeChart application without a valid Digital Certificate start without delay?
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Do you mean I need to check Sign checkbox on Signing tab of my project properties?Chris wrote:create an "empty" UserControl and then sign it with a "fake" Digital Certificate to see if the problem occurs there
What do you mean? I don't have Steema Sertificate installed on my machineChris wrote:With access to a valid DNS server, does a TeeChart application with a valid Digital Certificate start without delay?
BTW My working day ends at 13 GMT
Last edited by bairog on Fri Jan 23, 2009 11:24 am, edited 2 times in total.
Thank you.