BizTalk WCF-SQL Invalid cast from ‘System.String’ to ‘System.Collections.Generic.IEnumerable`1
Full Error System.InvalidCastException: Failed to convert parameter value from a String to a IEnumerable`1. —> System.InvalidCastException: Invalid cast from ‘System.String’ to ‘System.Collections.Generic.IEnumerable`1 [[System.Data.Common.DbDataRecord, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]’. at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType, Boolean& coercedToDataFeed, Boolean& typeChanged, Boolean allowStreaming) — End of […]