10-17-2007 08:29 AM
10-17-2007 06:15 PM - edited 10-17-2007 06:15 PM
Message Edited by Jonathan N on 10-17-2007 06:15 PM
10-18-2007 08:30 AM
Thanks for the reply Jonathan,
Our NI sales contact informed me that assembly is only installed with the "Enterprise" edition of MeasurementStudio, and provided me a link to download an evaluation version.
This resolved my compile-time errors, now I'm experiencing an 'interesting' run time error. I'm receiving a 'MethodAccessException was unhandled' error on the following line:
private void InitializeComponent(){
this.waveformGraph1 = new NationalInstruments.UI.WindowsForms.WaveformGraph();...
This happens to be the first time I instantiate an NI object.
1. The examples build & run fine.
2. I created a simple test application using the project wizard and added the one waveformgraph; the exception appears
3. The exception also appears in the legacy app I'm attempting to maintain.
I found another thread with this exception noted; the recommendations were to: delete the bin & obj dirs, removing & re-adding the references, removing & re-adding the libraries, and to deselect/select the "Enable Click-once security...". I've tried them all, no luck. (http://forums.ni.com/rss/message?board.id=232&message.id=4340)
I'm assuming it's a security / licensing issue & hope that when my key arrives next week & I can register the product "for real", it will go away. It would be nice to understand it though.
10-18-2007 09:09 AM
10-18-2007 11:12 AM
That was it, thanks! Everything's building / running fine now. Although, the inability to use a share drive for development is going to cause havoc with our CM policy... :/)
--Kenny A.
10-18-2007 11:30 AM
caspol -q -machine -addgroup 1 -url file://e:/* FullTrust -name "E Drive"