キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

System.Runtime.Serialization.SerializationException

Hello,

 

I'm using machine's driver, what is created in framework .NET 4.0.

When calling out methods from this dll by using NI Test Stand I'm getting error:

 

Error: An exception occurred inside the call to .NET member 'MeasSignal':
System.Runtime.Serialization.SerializationException: Parse Error, no assembly associated with Xml key a2:http://schemas.microsoft.com/clr/nsassem/Measurements.Audio/Measurements.Audio%2C%20Version%3D1.0.1.... SpectrumAnalysis\r 

 

I also tried to call out same method with console application (what I created with visual studio 2010) then everything was working as expected.

 

Any idea what could be wrong if I'm using Test Stand?

 

Best regards,

Heiki

 

0 件の賞賛
メッセージ1/4
5,418件の閲覧回数

Hey Heix,

 

This looks similar to the behavior described in this KnowledgeBase:

 

http://digital.ni.com/public.nsf/allkb/7B539BFFD0C1666186257B04006FA183?OpenDocument

 

Just for some more information, what version of TestStand are you using?

Which libray is the method in?

Where is this code stored? (i.e. is it a on the local disk or a network drive)

What kind of file are you calling in TestStand?

Are you trying to deserialize the steps?

Which process model are you using?

 

Best,

 

-KP

Kurt P
Automated Test Software R&D
メッセージ2/4
5,391件の閲覧回数

NOTE: Some other alternatives that don't seem to be mentioned in the KB:

 

1) Put assembly in the GAC

2) Put assembly in same directory as the exe you are running.

 

-Doug

メッセージ3/4
5,385件の閲覧回数

Hello,

 

Thank you very much for your time and help. I was able to get it working. Your advice was exactly what I needed.

 

Best regards,

Heiki

0 件の賞賛
メッセージ4/4
5,345件の閲覧回数