ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exe with .NET components very slow

Hi, I have an application that calls some .NET system components. If I build an exe file the application it runs good in my development machine, but if I try to run it in another PC of the network the software takes a lot of time to open (2-3 minutes), if I disconnect that PC from the network and open the software it opens immediately. Ok I thought that my app had some problem with paths or linked code, so I tried the .NET calculator example that labview include and created an exe file of that VI. The same problem was detected!! Can someone help me with this? I have 2 days working on a solution and nothing works :s

 

Thanks

Cesar Rico

Certified  Labview Architect

Message Edited by RiCo! on 03-03-2010 10:36 AM
0 Kudos
Message 1 of 7
(5,184 Views)

Hi,

 

Is the behaviour is same on other machines also where LV is not installed?

 

Guru

Regards
Guru (CLA)
0 Kudos
Message 2 of 7
(5,166 Views)
What is your lv version?
0 Kudos
Message 3 of 7
(5,156 Views)
0 Kudos
Message 4 of 7
(5,155 Views)
I'm using LV2009 and this happens in all computers in the network that don't have internet access (blocked by firewall). I read that post and is a very similar problem, only that my app is trying to connect to a verisign server, I'll post the complete address of the server this week (I'm out of office). I used the internet explorer option to disable certification check, this downs the load time to 15 secs.
0 Kudos
Message 5 of 7
(5,124 Views)

OK someone from NI Mexico found the solution to this, follow this link http://support.microsoft.com/kb/936707 to Microsoft site where the problem is explained.

Just add this lines to the app.exe.config file.

 

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<generatePublisherEvidence enabled="false"/>
</runtime>
</configuration>

 

 

Message 6 of 7
(5,087 Views)
Thanks for updating.....:smileywink:
0 Kudos
Message 7 of 7
(5,079 Views)