Home > Labview Error > Labview Error 1172

Labview Error 1172

If you *are* using collections and have Visual Studio Professional or higher you can attach to the executable and debug into your method calls when execution starts to ascertain why you I am using an SDP-S control board with the AD5780 evaluation kit. The key cannot be null (default value). System.ArgumentNullException: Key cannot be null. 00000015 114.37963104 [3404] Parameter name: key 00000016 114.37963104 [3404] at System.Collections.Hashtable.get_Item(Object key) 00000017 114.37963104 [3404] at NationalInstruments.LabVIEW.SyncInvokeTable.LookupControl(Object key) 00000018 114.37963104 [3404] at NationalInstruments.LabVIEW.DNRuntime.InvokeMethod(Int32 invokeType, Type type, this content

Share this post Link to post Share on other sites vugie 153 Extremely Active Members 153 388 posts Location:Warsaw, Poland Version:LabVIEW 2009 Since:2006 Posted May 27, 2011 Another common international By default, when a.NET program is compiled, the assembly produced will be a private assembly. If building an application, make sure to include the assembly in the build. Very interesting, thanks for responding. see this here

I don't think you should do anything wit FTD2XX.DLL. Brian Tylerhttp://detritus.blogs.com/lycangeek 0 Kudos Message 6 of 10 (12,759 Views) Reply 0 Kudos Re: Why am I getting Error 1172 when trying to invoke .NET assembly? How do I increase Assembly Trust?

The problem you have (as Rolf is saying) is you have a black-box that is't happy and no way to tell why it isn't happy (Labview can only tell you it When distributing built applications, make sure the target computer has the .NET Framework installed that corresponds with the called .NET assembly. Pointing to the appropriate version of .NET (4.0.30319) If i point it to v4.5.50709 it fails asks me to install it (it is in the program manager). Then I try to build the project again, including this new method in the build source.

Neither of these functions throw that type of exception. The system returned: (22) Invalid argument The remote host or network may be down. PJM Share this post Link to post Share on other sites Clinto 0 LAVA groupie Members 0 5 posts Version:LabVIEW 2010 Since:2009 Posted May 28, 2011 Not exactly what you http://forums.ni.com/t5/LabVIEW/NET-Control-Error-1172-Only-in-executable/td-p/2497534 Your cache administrator is webmaster.

ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: http://0.0.0.10/ Connection to 0.0.0.10 failed. I am completely stumped as to why this is happening. I'll forward your comments to both teams (in Mexico and China) and if they have any questions or comments in response, I will post them here. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Cant attach *.config here is the cleaar text " 0 Kudos Message 2 of 3 (360 Views) Reply 0 Kudos Re: error 1172 Akiel Active Participant ‎11-04-2013 https://lavag.org/topic/16976-net-control-error-1172-only-in-executable/ thanks J Share this post Link to post Share on other sites Mark Smith 33 Extremely Active Members 33 330 posts Location:Utah Version:LabVIEW 2011 Since:1995 Posted March 18, 2009 QUOTE Browse other questions tagged .net labview or ask your own question. I will forward your questions/comments to the engineers in China.

Unfortunately this is a bit hypothetical unless you can provide some more information (LabVIEW version, code, setup, anything) and some more ideas as to how you have your system configured. 0 news I ended up solving the problem! If you have LV 8+, then you can get more detailed information on the error (maybe not in this case...but worth a shot) by getting debugview (http://www.microsoft.com/technet/sysinternals/Miscellaneous/DebugView.mspx) and running that when See Here OH FOR SHAME!

any ideas?? 0 Kudos Message 5 of 10 (12,783 Views) Reply 0 Kudos Re: Why am I getting Error 1172 when trying to invoke .NET assembly? Error calling method KB.KEAT.TestStandConfig.Reader.Importer.Read, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.Inner Exception: System.FormatException: String was not recognized as a valid DateTime.) System.FormatException in profinet interface.vi can It's pretty low-level stuff, using a custom serial communication protocol that we developed for device-to-device communication. have a peek at these guys The framework i am trying to use was built in v3.5 so should work in either version, but the only similar problem i have seen is this link but it involves

PJM Hi PJM, Thanks for the comment. I tried doing some web searching on the error message, and it's all about playing around with the various security settings and demands - running code on a network share is Sign In Sign In Remember me Not recommended on shared computers Sign in anonymously Sign In Forgot your password?

Showing results for  Search instead for  Did you mean:  Reply Topic Options Start Document Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the

So the .Net exception could be a bug in the C# such as referencing invalid objects, but it could just as well be an exception thrown by the code on purpose You must distributed the data directory with the built application. Shared assemblies are placed in the Global Assembly Cache. I attached a Word document that I received from the engineer in China that describes the problem.

Can someone take my Wi-Fi signal DOWN? Or sign in with one of these services Sign in with Facebook Sign in with Twitter Sign in with LinkedIn Sign Up All Content All Content This Topic This Forum Advanced For more trouble-shooting steps for using an assembly from a network drive, please see KnowledgeBase 3C8J8HPC. check my blog Sign in here.

Or sign in with one of these services Sign in with Facebook Sign in with Twitter Sign in with LinkedIn Sign Up All Content All Content This Topic This Forum Advanced This works just as expected in the development environment, but when I build an executable and run that, the control just sits there without being properly filled in. What Labview controls would I use then? Is there a trick to dodging?

Use the Probe Tool to make sure the .NET object reference, originally created by the .NET Constructor Node VI, is valid. I started out by creating a .NET Refnum control and then connecting that to a Property Node. thanks The Rookie Nope, that's what you have to do. A world with a special political system Word for a single tunnel within a "tunnel complex" or the complex itself What "actually" happens at T-minus-0 When does logistic regression not work

I appreciate any help I can get! I really have my fingers crossed that this forum can help us solve this problem. Richard2950 Member ‎10-13-2004 01:47 PM Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator If the vi and the .NET All Rights Reserved © 2016 Jive Software | Powered by Jive SoftwareHome | Top of page | HelpJive Software Version: 2016.3.3.0, revision: 20161114103527.8baa852.release_2016.3.3 current community chat Stack Overflow Meta Stack Overflow

I'm a product development manager in California. The C# programmer tested the DLL pretty thoroughly, including downloading LabView 2011 and making sure LabView could call the DLL. The Vi works great on my computer but once I moved it to the network it no longer works.