LabVIEW 2013: An error occured trying to load the assembly

Hey all,
I'm trying to load a .NET 4.5 dll into LabVIEW 2013.
When I place any of the .NET VIs and try to select the one I'm after it says "An error occured trying to load the assembly" and won't let me load it.
I also tried importing the dll, but that gave errors too.
It's defintely a .NET 4.5 dll as the .NET reflector gives me
[assembly: ComVisible(false)] [assembly: TargetFramework(".NETFramework,Version=v4.5", FrameworkDisplayName=".NET Framework 4.5")] [assembly: SecurityRules(SecurityRuleSet.Level1)] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification=true)]
To try and get around the import issue, I added the following to my LabVIEW.exe.config file
<?xml version ="1.0"?>
<configuration>
  <runtime>
    <loadFromRemoteSources enabled="true" />
  </runtime>
</configuration>
but it made no difference.
Any suggestions? All the things I've read so far are for 2010.
Solved!
Go to Solution.

Hornless.Rhino wrote:
Wart wrote:
I had the same issue a while back.  Unfortunately mine magically resolved itself, but I made a post with what I'd been reading and got a reply with another suggested link.  It sounds like you've gone down the same road, but I figure every little bit helps:
http://forums.ni.com/t5/LabVIEW/Error-Loading-NET-Assembly-in-2013/m-p/2521098
Thanks.
Hopefully mine will resolve itself too. LV2013 is meant to support the newer stuff without me having to mess about.
We shall see...
So far no dice.
It's really bizarre. It works with sample c# code in visual studio (see link below), but for some reason LabVIEW doesn't like the dll (tried both LV 2012 and 2013).
Sample code (not mine) is available at http://elbruno.com/2013/12/01/kinectone-hello-world-with-kinectsdk-v2-body-count/

Similar Messages

  • An error occurred trying to load the NTX Terminal.

    Hello,
    I have to do a navigation system with Lego's hardware. My English is not really well and I don't know how to install all the drivers and thinks I need to work with Lego mindstorms and Labwieu 8.5.
    I have in my computer (windows vista) Labwieu 8.5 and the tool kit too. But I thinks I need to install more things because I have always warnings when I do any application (like a simple display).
    With more specifications my problem is:
    When I Click: Tools--NTX Modul--NTX Terminal. I have message box like this: An error occurred trying to load the NTX Terminal. 
    If you can help me, I will be really grateful!

    #include "stdafx.h"
    using namespace System;
    extern "C" {
    namespace clrtest {
        public ref class testClass
        public:
             testClass()
             int foo(void)
                return(42);
    Compiling the above minimal c++ code  into a clr dll gives the same cryptic
    "an error occurred trying to load the assembly" when the .net constructor node tries to load it.
    I am far from a .net expert or a c++ one for that matter.
    Anyone know what is missing from the above code?
    Ultimatley I want to write a wrapper for cyusb.lib a static (c++) library for the FX2 USB chip from cypress exposing some of its functionality to labview.
    Cheers
    baldrik

  • . Net An error occurred trying to load assembly

    I have 2 .NET assemblies.  One I can load with the .NET constructor node.  The other gives me an error occurred trying to load the assembly.  I can not figure out why one will load and the other will not.  I am using labview 2013 and .Net Framework 4.0.  Both the Assemblies are located in my labview project and the VI I am using to call them with the constructor node is also in the labview project.  Can anyone tell me why one will load and the other will not?
    Attachments:
    DLLs.zip ‏249 KB

    This thread may solve your problem.

  • DBD: Error while trying to load the transport provider for odbc. Failed to load the library. System error: The specified module could not be found.

    Hello Everyone,
    We are getting an error while trying to create an Universe via Microsoft -> MS Analysis Services 2014 -> OLEDB for OLAP Provider under Connection in UDT -"DBD: Error while trying to load the transport provider for odbc. Failed to load the library. System error: The specified module could not be found."  We have installed BI 4.1 SP05 in our system. As per earlier posts in scn in BO XI 3.x this issue used to be for improper installation of Integration KIT but in our scenarion Integration KIT is within the BO 4.1 package so no seperate installation is required. Moreover I have checked whether all the driver is present under file: "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\drivers" and seems everything is fine. But still I am getting this error. One important point is we could use IDT because in IDT still we don't have option to connect with 'Microsoft Analysis Services - 2014 (XMLA)' as we are using Microsoft Analysis Services 2014 version.
    Kindly help if anyone has faced the same problem with SAP BO 4.1.
    Thanks and Best Regards,
    Ghosal

    Hello Everybody,
    The problem is solved now after installing "OLEDB drivers from SQL Server 2012 Feature Pack". We had OLEDB drivers that comes directly from SQL Server but that did not worked out in our case.
    Thanks for your support.
    Best Regards,
    Ghosal

  • WDS Server Service won't start - 'An error occurred trying to start the Windows Deployment Services Server.'

    I'm having issues installing starting the WDS server service on Win 2008 R2,  this is happening on multiple (all 2008 R2) systems on this domain so I'm beginning to think it's either AD or network related, in event viewer I get the following error.
    'An error occurred trying to start the Windows Deployment Services Server.'
    Error Information: 0x0906
    EventID : 257 
    single domain, single forest, 2008 R2 functional level, both system are virtual plugged into same vswitch on a flat network.
    any ideas what might be the issue?  I've never had an issue getting this working on many occasions before today and I've come to many a dead end looking at other articles thus far... 
    With WDS tracing enabled I get the following error information:
    [4304] 09:22:11: ===>Starting logging of module [WDSServer]
    [4304] 09:22:11: [UDPPorts] Policy: 1, Dynamic Port Range: 64001-65000.
    [4304] 09:22:11: [RPC] Using Tcp Port 5040 for Rpc Calls.
    [4304] 09:22:11: [RPC] Client Impersonation Logging=Disabled
    [4304] 09:22:11: [RPC] Host Name: sccm.domain.local
    [4304] 09:22:11: [RPC] NTLM/Kerberos Spn: ldap/sccm.domain.local
    [4304] 09:22:11: [RPC] Initialized
    [3756] 09:22:11: [RPC] Server Started.
    [4304] 09:22:11: [BINLSVC][RPC][Ep={5F4FB9F0-C0E3-41C1-AA00-9A7C690AC3A3}] Registered
    [4304] 09:22:11: [BINLSVC] Provider Initialized.
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={FA0A27E1-C2BA-4B3B-94B2-025E82FFAA6D}] Registered
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={011D24AC-CB3A-4739-A339-5D2E1B5306CE}] Registered
    [4304] 09:22:11: [51][WDSDDPS] [d:\w7rtm\base\ntsetup\opktools\wds\ddp\server\ddpprovider.cpp:196] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={FA0A27E1-C2BA-4B3B-94B2-025E82FFAA6D}] Closed
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={011D24AC-CB3A-4739-A339-5D2E1B5306CE}] Closed
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsprovider.cpp:144] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS] Initialization Failed (rc=2310)
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsprovhdl.cpp:172] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS] Deleted.
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsservice.cpp:178] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [Udp] Listen Shutdown.
    [3756] 09:22:11: [RPC] Server terminated (rc=0)
    [4304] 09:22:11: [RPC] Listen Stopped.
    [4304] 09:22:11: [BINLSVC] Shutting down
    [4304] 09:22:11: [BINLSVC][RPC][Ep={5F4FB9F0-C0E3-41C1-AA00-9A7C690AC3A3}] Closed
    [4304] 09:22:11: [BINLSVC] Deleted.

    It seems I've found out the solution myself,  the issue seems to be caused when DHCP and WDS are on the same server, The installation must identify this during the first installation of WDS but not on subsequent installations, the method to
    get it working again is:
    1.      
    Install WDS Role (using defaults)
    2.      
    Make the following registry change:
    HKLM\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSPXE\UseDhcpPorts  =  0
    3.      
    Run the following command line to initialize Windows Deployment Services:
    wdsutil /initialize-server /reminst:D:\RemoteInstall
    4.      
    Run the following command to enable the DHCP port registry setting
    wdsutil /Set-Server /UseDHCPPorts:No /DHCPOption60:Yes

  • I get aq run time error when trying to load the latest version of iTunes. Help.

    I get a run time error when attempting to install the latest version of iTunes & now cannot access iTunes. Can anyone help me?

    Hi jalbany,
    Thanks for using Apple Support Communities.  This article has steps you can take for the error you're seeing:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Ari

  • Tron HD Purchase "An Error Occurred Trying to Load Content" Issue

    This is outrageous...a recent AppleTV 2 update didn't fix it and I spent $20 to purchase this HD movie. Has anyone found a fix? I tried the unplug cable stuff but that didn't work...this is nuts. Why isn't Apple addressing the issue?

    I had the same problem!  I rented the roommate last night and it said this movie will be able to play in 13 hours!  So we unplugged it, then tried it again and it played fine until 7 mins in and it had to buffer for an hour, so we watched a netflix instead.  But this morning, it didn't show up, even though we still have 30 hours left! help!?!?!?!

  • Error while trying to load the xslt mapping

    Hi,
    while testing the xslt mapping, the following error is encountered:
    "TransformerConfigurationException occurred when loading MAP.xsl; details: Could not compile stylesheet"
    Please help me in the resolving this.
    Regards,
    Meenakshi

    Hi Meenakshi,
      Select XMLTOOLKIT option in operation mapping,and execute your XSLT Mapping.....
    Check this thread for more help...
    XSLT mapping issue
    Regds,
    Pinangshuk.

  • I get an error message trying to load the help site for Photoshop CC

    Pressing F1 or selecting 'help' in Photoshop CC produces an error message in Firefox ('you do not have permission' etc) but works fine in Internet Explorer. I tried reinstalling Photoshop CC, and I tried reinstalling Firefox but the problem persisted (I admit I did not clear my Firefox settings before reinstalling). Adobe say it is a Firefox problem. As far as I am aware I have no other Firefox problems. Running in Windows 7 64-bit, everything up to date.

    https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can
    https://support.mozilla.org/en-US/kb/secure-connection-failed-error-message
    https://support.mozilla.org/en-US/kb/connection-untrusted-error-message
    '''http://kb.mozillazine.org/Error_loading_websites'''
    '''This Connection is Untrusted''' is sometimes caused because the
    computer system clock is wrong. Check the time / date / time zone settings.

  • "Invalid file name" error when trying to load the report in IIS/CR 2008

    We have deployed our application to many installations with no problem however in one particular case we get this error whenever we try to load any reports in our web app.
    I made sure that the DefaulAppPool user (Network Service) has read+excute on all folders as well as the IIS anonymous user.
    The anonnymous access is off but Windows Integrated Security is on.
    ASP.NET Version:2.0.50727.3082
    Web.config is healthy and is listed below.
    Other pages in the application which are not depenent on C.R load and run perfectly.
    I don't know what else to check
    thanks for you help
    jeff
    Web.Config Entries related to CR ***********
    <compilation debug="true">
    <assemblies>
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    </assemblies>
    <buildProviders>
    <add extension=".rpt" type="CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></buildProviders>
    </compilation>
      ERROR DETAILS *****************
    [COMException (0x800001fb): Invalid file name.]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +356
    [CrystalReportsException: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +418
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.get_ProductLocaleID() +31
       CrystalDecisions.ReportSource.CachedObjectReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated) +474
       CrystalDecisions.ReportSource.CachedObjectReportSource.InternalGetReport(RequestContext context, Boolean bAddToCacheWhenCreated) +15
       CrystalDecisions.Web.CrystalReportSource.get_ReportDocument() +184
       CrystalReportPageTemplate.OnInit(EventArgs e) in

    I got a procmon log file and examined it. I have the file and I could also provide you with that or screenshots of it.
    There is nothing unusual about it. I can see entires in which CR has successfully opened the report and has cached in a c:\windows\temp.
    However there is one or two non-successful entries that may be related, especially that examining the stack trace brings us to a call to get_ProductLocaleID():
    - A call to read reg entry HKU\S-1-5-20\Software\Business Objects\Suite 12.0\Crystal Reports\Locale fails with NAME NOT FOUND.
    - immediately after that and from the same process (w3wp.ex) there is a call to open directory "c:\" which is logged as ACCESS DENIED.
    Any subsequent unsuccessful calls seem to be results of exception handling in the debug code.
    Does this point to any setup issues with CR? We always run the redistributable x86 runtime when installing it.

  • DBD: An error occurred while trying to load the provider for transport odbo

    Hello,
    I am trying to create universe on top of BPC cube using 'Business Planning and Consolidation' option under SAP Business Objects in Universe Designer ; however when creating connection I am getting following error messgae
    "DBD: An error occurred while trying to load the provider for transport odbo. Failed to load library . System error message: The specified module could not be found."
    I am using BO 3.1
    Is anyone aware of this issue? Kindly assist.
    Thanks

    We were having the same problem, found this note in the SAP KB
    https://websmp130.sap-ag.de/sap/support/notes/1321459
    Mike

  • An error occurred while trying to load the dvd player

    I try to use a dvd control or dvd tutorial and I get:
    An error occurred while trying to load the dvd player
    -2147220869
    (I was following
    http://www.adobe.com/devnet/director/articles/flash_dvd.html
    What should I try?
    .V

    We were having the same problem, found this note in the SAP KB
    https://websmp130.sap-ag.de/sap/support/notes/1321459
    Mike

  • Error - DBD: An error occurred while trying to load the provider for ...

    Error - DBD: An error occurred while trying to load the provider for transport odbo.
               Failed to load library. System error message: The specifed module could not be found.
    While I am trying to create connection in universe designer to MS Analysis Services 2005.
    Thank you - Ashok
    Edited by: akojha on Jan 4, 2010 5:27 PM

    We were having the same problem, found this note in the SAP KB
    https://websmp130.sap-ag.de/sap/support/notes/1321459
    Mike

  • DBD: An error occurred while trying to load the provider for transport sap.

    Hi,
    I just installed the BO XI 3.1 SP2 & SAP integration KIT 12.0 and could able to import all the roles from SAP client in BO CMC.But when i am trying to create new Universe & creating a connection to SAP it is throwing an error " DBD: An error occurred while trying to load the provider for transport sap.System error message:The specified module could not be found ".
    I even applied FIX packs 1.7 & 1.8 for both BOXI 3.1 & SAP Integration KIT,but still throwing the same error.
    Could any please help me out in this issue.
    Thanks in advance,
    Sanjay

    Hi,
    this looks like a Bug:
    Check SAP Note - 1365062
    I would recommend installing SP2 for BOXI 3.1
    Regards
    -Seb.

  • Error when trying to load jar file (loadjava)

    I have been struggling with this issue for a few days. I read all the old threads and solutions online but none of them worked. I wrote some java stored procedures and have been trying to load the required jar files. The error message I keep getting is this:
    ORA-29532: Java call terminated by uncaught Java exception: oracle.aurora.server.tools.loadjava.ToolsError: Error during loadjava: Failures occurred during processing. Check trace file for details
    I have tried to load them using Enterprise Manager Console and the following:
    call dbms_java.loadjava(' -force -resolve
    c:\javacog\cognosClient.jar', ' -resolver "((* PUBLIC) (*
    SYS) )"')
    Any ideas? We are using Oracle 10gr2, and trying to load Cognos 8.3 SDK jar files. According to Cognos, Java 1.4 is supported.
    Edited by: user10406501 on Oct 8, 2008 2:26 PM

    Sorry to respond to an old message, I was just looking for the solution for the totally different problem.
    Key word 'Cognos' got me here.
    I've menage to load Cognos SDK onto Oracle 10.2.0.2 on Windows XP.
    I've used simple loadjava script. After that it requires some additional GRANTs, and it works.
    If you still are looking for the solution for this problem, respond to this message, and I'll post the scripts.
    Thomas

Maybe you are looking for

  • Oracle JDBC Thin Driver Memory leak in scrollable result set

    Hi, I am using oracle 8.1.7 with oracle thin jdbc driver (classes12.zip) with jre 1.2.2. When I try to use the scrollable resultset and fetch records with the default fetch size, I run into memory leaks. When the records fetched are large(10000 recor

  • Removal of Trovi from macbook pro

    When installing Microsoft Essentials, I have unfortunately ended up with Trovi which comes up on both Chrome and Safari. How do I delete please? I run 10.9.5 on my macbook pro.

  • Illlustrator CC can't save back to Illustrator 3...

    I have a file that was created sometime ago (Illustrator CS5-ish). I am able to open the file in CC just fine. I open the file and then: convert all of the type to outlines delete a background box that contains a gradient (no other gradients exist) f

  • Physical inventory verification

    Hi In physical inventory verification when a recount is initiated a new physical inventory document is created. What will happen to the previous physical inventory document? Regards

  • Victim of fraud, no help from skype

    I have recently had 50 euros taken from my account through PayPal. I haven't used Skype for 4 years. either somebody has hacked into my account or Skype have illegally taken my money. I have sent emails to Skype but had no help, there is no phone num