Question
I'm trying to update my .NET DLL. Why is LabVIEW™ throwing this error: “an error occurred trying to load the assembly”?
Answer
LabVIEW™ is likely throwing the error due to its default security configuration for .NET assemblies.
In order to get around this, create a file in the folder containing the LabVIEW™ executable, name it “LabVIEW.exe.config” and add the following to the file:
<?xml version =""1.0""?>
<configuration>
<runtime>
<loadFromRemoteSources enabled=""true"" />
</runtime>
</configuration>
Restart LabVIEW™, compile the entire project, and run the program.
If the issue persists, submit a support ticket via https://support.lmi3d.com/hc/en-us
Source: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8XnSAK
Further info - Several vi extensions (a LabVIEW virtual instrument file) for Gocators is provided with Utilities package under the "Utilities Package/Integration/LabVIEW" folder.
The 6.1.42.10 firmware utilities package can be downloaded here. Please visit the product download page on the LMI website to see if there is an updated version that would be applicable to the firmware that you are currently using.
Comments
0 comments
Please sign in to leave a comment.