10-29-2015 08:26 AM - edited 10-29-2015 08:27 AM
Hello everyone,
I have recently built a C# application to automate our testing process. It is built using the mode Compile for any CPU..
The application manipulates Veristand and TestStand dll files to deploy/undeploy our NI HiL and start the execution of sequences.
It also has a "watch" function in case VeriStand or TestStand crashes while executing.
The problem is that LabVIEW causes the application to crash with an error code 0xE0434352 while testing, even if no .vi is directly called through the app. They are indirectly called through TestStand.
It is observed that crash events occur when LabVIEW slightly exceeds 1GB RAM usage.
When the same number of sequences runs using only TestStand , no problem occurs.
The whole problem is similar to the one described here
with the difference that we have not yet found any workaround.
LabView seems to shut down my application because of some (LabVIEW) internal error.
Could you please provide some feedback?
Attached you will find the automatically created error log.
11-04-2015 07:47 AM
Hi
It looks like the crash comes from a .NET assembly. Have you tried to test your project on an other computer?
If this does not work try the following links to solve your problem:
How To Fix Unknown Software Exception 0xe0434352 Errors – Windows Vista, Windows 7 & 8 Windows Wiki
http://winwiki.org/unknown-software-exception-0xe0434352/
How do I check the version of the .NET Framework that a DLL file was compiled against? - Stack Overflow
http://stackoverflow.com/questions/4449493/how-do-i-check-the-version-of-the-net-framework-that-a-dl...
How to: Target a Version of the .NET Framework
https://msdn.microsoft.com/en-us/library/bb398202.aspx
Best,
Alessandro
11-04-2015 07:53 AM
Hi,
The project ran normally on the second computer where VS 2013 is installed.
Our application is built using .NET 4.5
11-04-2015 08:21 AM
Hi
Check if your versions are supported if you use different .Net and LabVIEW versions on the second computer:
http://digital.ni.com/public.nsf/allkb/DC41DCDA972642CF8625787E00732DDD?OpenDocument
Best,
Alessandro
11-05-2015 01:12 AM - edited 11-05-2015 01:14 AM
Hello again,
Thank you for taking the time to suggest other options!
The computers are identical, except from the Visual studio 2013 Installation on the computer where the app does not crash ...
Also, there is no direct communication/Call between LabVIEW (2014) and the application.
The application controls TestStand (2014) API and VeriStand (2014) API the whole time, and both of them need LabVIEW (2014) to run.
11-05-2015 08:52 AM
Hi
Here is a short possible clarification of the error 0xe0434352:
"The Unknown Software Exception 0xe0434352 error may be caused by windows system files damage. The corrupted system files entries can be a real threat to the well being of your computer. There can be many events which may have resulted in the system files errors. An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware. It can also be caused if your computer is recovered from a virus or adware/spyware attack or by an improper shutdown of the computer. All the above actives may result in the deletion or corruption of the entries in the windows system files. This corrupted system file will lead to the missing and wrongly linked information and files needed for the proper working of the application."
Have you tried to repair install of LV and TS? This has helped in a similar case as you have.
Best,
Alessandro