Which is causing invalid cast exception on line # 184 in NHapi.Base.Model.Varies in fixOBX5 method... foreach (IType repetition in segment.GetField(5)) { Varies v = (Varies) repetition; <--- Invalid cast exception ... }
Which is causing invalid cast exception on line # 184 in NHapi.Base.Model.Varies
in fixOBX5 method...
foreach (IType repetition in segment.GetField(5))
{
Varies v = (Varies) repetition; <--- Invalid cast exception
...
}