Error 1172 When Building .Net Interop Assembly

Updated Feb 12, 2026

Reported In

Software

  • LabVIEW 2016
  • LabVIEW 2018

Issue Details

An exception is thrown when building a .net interop assembly in LabVIEW. How can I resolve this issue?

Code:1172 Invoke Node System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. Inner Exception: System.IO.IOException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) System.IO.IOException in AB_InteropAssembly.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller


                                    

Solution

Access denied errors often occur when the user does not have the correct permissions to access the files/location. 

  • Ensure that no other software is accessing the file/folder of interest.
  • Firewall is turned off.
  • Run LabVIEW as Administrator.