LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 8 crashes with .NET runtime 2.0

Any idea why labview 8.01 would crash under WinXP with a .NET Runtime 2.0 error...when I am no using any .NET objects?
This is happening randomly, but my application event logs show the .NET error each time.
 
Eric
0 Kudos
Message 1 of 12
(3,954 Views)
I know this sounds strange, but you aren't running LV under a debugger are you?
 
I've not heard of a problem like this before - we do bring up the .NET engine at launch, but I'm not sure why it would cause any crash. Can you post the error information you referred to?
0 Kudos
Message 2 of 12
(3,952 Views)
No, I am not running under a debugger. I have attached a picture of the WinXP error from the event viewer.
0 Kudos
Message 3 of 12
(3,947 Views)
Hmmm, can't see anything there. Is there anything at all about your system that you may think is unusual? We've done quite a bit of testing with .NET 2.0 for LV 8 so I've never seen that problem. Any .NET config files? policy file changes? etc? Any modifications to the LV install? Reproducible on another machine?
 
Do you have .NET 1.1 SP1 installed? You could try creating a config file to force LV to use .NET 1.1SP1 instead (see my description here).
0 Kudos
Message 4 of 12
(3,933 Views)
I can't think of anything that has changed.  The system I have labview 8 on is the only thing on the machine besides MS OFFICE. It is strictly for development and i have not made any changes other than the service packs (XP SP2).
I have attached the program, I believe it will run. It usually crashes when working on the block diagram, however, it has crashed when on the front panel.
 
0 Kudos
Message 5 of 12
(3,905 Views)
Well, I played around with the VI's but couldn't see a crash. Of course, if it's random, that doesn't tell me much.
 
What I'd recommend is to create a file called LabVIEW.exe.config in the same directory as LabVIEW.exe and put the following text into it
 
<configuration>
   <startup>
      <requiredRuntime version="v1.1.4322"/>
   </startup>
</configuration>
 
This will force you to run with .NET 1.1 instead - even though, as you say, you aren't using .NET. However, LV 8 does launch the .NET runtime at launch, so let's see what this tells us.
0 Kudos
Message 6 of 12
(3,884 Views)

hi Eric,

Can you run a thorough Windows Update? Your .Net 2.0 runtime might not be correctly installed.

I don't see any other obvious reasons that may cause your crash (i am under the same environment as you).

 

Tai

0 Kudos
Message 7 of 12
(3,868 Views)
I get a Labview configuration error, and it won't start.
0 Kudos
Message 8 of 12
(3,859 Views)
I can't do a full update as i have no access to the internet with this machine.  The company does not allow non IT supported machines on the network.
0 Kudos
Message 9 of 12
(3,857 Views)
I'm not sure what you mean about a LV config error. I tried putting the LabVIEW.exe.config with a bogus .NET version in it, and I got an error message about not finding the .NET version, but LV came up and worked correctly.
 
Could you give a screenshot of the error you're getting?
 
You're not putting that config info I gave you in LabVIEW.ini are you?
0 Kudos
Message 10 of 12
(3,854 Views)