11-01-2013 09:05 AM
I am getting the following error calling a .net libary.
Error calling method KB.KEAT.TestStandConfig.Reader.Importer.Read, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Inner Exception: System.FormatException: String was not recognized as a valid DateTime.) <append><b>System.FormatException</b> in profinet interface.vi
can anyone offer some suggestions as to what is happening. The .net was created in net 3.5 and I have version 4.5
thanks
11-01-2013 12:30 PM
Add this file to your LabVIEW directory. yes, right in the same folder as "LabVIEW.exe"
Now, of course you want to know why. See Here
OH FOR SHAME! Cant attach *.config
here is the cleaar text
"
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0.30319"/>
</startup>
</configuration>
11-04-2013 06:17 AM
I already have this .config file. Pointing to the appropriate version of .NET (4.0.30319) If i point it to v4.5.50709 it fails asks me to install it (it is in the program manager). The framework i am trying to use was built in v3.5 so should work in either version, but the only similar problem i have seen is this link but it involves dates from .NET to labview, not the other way round
thanks for your help