Hi
I am trying to process an X12 message and I am getting following error.
Method : ProcessMessage
Message : Process Message failed: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at Q.Inbound.X12Preprocessor.getTranTypeFromFuncCode()
at Q.Inbound.X12Preprocessor.setProcessType()
at Q.Inbound.X12Preprocessor.getFuncGroupHeader(StreamReader sr)
at Q.Inbound.X12Preprocessor.ProcessMessage(X12Definition& docInfo)
Please help.
Thanks