LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1097 in .NET Assemblies in Memory (LabVIEW 2018)

Hi All,

 

I have developed the application with LabVIEW 2014 and loaded the DLL from the third party into my project, there is no problem while this project is being developed with LabVIEW 2014 version.

 

In last year, my company had encouraged my team to upgrade the application to be developed with LabVIEW 2018, other parts of code has no problem except the code related to DLL.

When I opened the ".Net Assemblies in Memory"  dialog box, the error 1097 occurred and there is nothing showed in the display assemblies in Memory windows. So with this error, the code related to this DLL call does not work anymore. I am confused and tried to search over NI forum for this Error 1097 but cannot find the solution.

 

If anyone have even seen this kind of error, please share your idea/solution, would be great for me. Thank you.

 

Attached file name "2014.PNG" is the snapshot from LabVIEW2014 environment when I opened the .NET Assemblies in Memory dialog box.

 

Also, the attached file name "2018.PNG" is the snapshot from LabVIEW2018 environment and error descriptions. 

I can share the DLL file if you want to duplicate the error at your side. 

 

NOTE: both LabVIEW 2014 (32bit) and 2018 (32bit) version are running in the same PC (Windows10 64Bits).

Download All
0 Kudos
Message 1 of 3
(1,080 Views)

error 1097 means there is an error in the configure of a DLL call.  It's a generic error code.  Does not provide detailed information.

 

Check your LabVIEW 2014 folder, see if there is a "LabVIEW.exe.config" file.

 

George Zou
0 Kudos
Message 2 of 3
(1,041 Views)

Hi Zou,

 

Thank you for your answer.

There is no "LabVIEW.exe.config" file on both LabVIEW 2014 and LabVIEW 2018 folders. 

 

Anyway, yesterday I have created the LabVIEW.exe.config file (like below) on LabVIEW 2018 folder but it did not fix the error.

 

<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<requiredRuntime version="v4.0.30319"/>
</startup>
</configuration>

0 Kudos
Message 3 of 3
(1,025 Views)