LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

An error occured trying to load the assembly 3.5. bug?

Installed labview 2010 sp1 no results still get the error.

 

The VI I now used just consist of 1 contructor which contains the DLL.

- saved it.

- close labview

- start labview

- open the VI with File->Recent.

 

result is the error2.jpg.

 

- close VI 

- opened a new VI

- added constructor

- selected the DLL

 

result is the error2.jpg

 

- closed Labview

- open labview

- open the VI with File->Open

 

result is ok1.jpg

 

 

 

0 Kudos
Message 11 of 15
(755 Views)

I just found out that the pathing of the dll the problem is.

 

What must I do to make the dll visible in the constructor list without the need for browsing?

 

 

 

 

0 Kudos
Message 12 of 15
(753 Views)

Without going into the details you provided in your posts, i already thought it *could* be a path issue.

If you want the assembly to show up in the inital list of assemblies in your constructor, you have to add the assembly to the Global Assembly Cache.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 13 of 15
(748 Views)

Hello Norbert,

 

I shall try it tommorow at work what you mentioned.

I still find it strange that when the VI is opened with recent files I cannot use the dll.

Even if I close the VI, open a new one add a constructor, the when adding the .dll it gives an error2.jpg.

I have to close labview and start labview again so I can use it again.

 

Something really messes up labview.

 

gr,

0 Kudos
Message 14 of 15
(742 Views)

I got the error "failure adding assembly to the cache: The system cannot find the file specified.".

When I wanted to add the .dll with gacutil.exe.

 

gacutil /i HebCommunicationLibraryNET.dll

 

gr,

 

0 Kudos
Message 15 of 15
(728 Views)