Can't import orders to Stone Edge - Live with Gold
Posted: Wed Nov 19, 2014 3:25 pm
Went live but now can't import orders to Stone Edge Order Manager. Stone edge support has sent us the following error and said AbleCommerce will have to fix before it will work. Here is the error:
Code: Select all
SETIError: System.ArgumentException: The value "System.Object[]" is not of type "CommerceBuilder.Orders.OrderItem" and cannot be used in this generic collection.
Parameter name: value
at System.ThrowHelper.ThrowWrongValueTypeArgumentException(Object value, Type targetType)
at System.Collections.Generic.List`1.System.Collections.IList.Add(Object item)
at NHibernate.Util.ArrayHelper.AddAll(IList to, IList from)
at NHibernate.Impl.SessionImpl.ListCustomQuery(ICustomQuery customQuery, QueryParameters queryParameters, IList results)
at NHibernate.Impl.SessionImpl.List(NativeSQLQuerySpecification spec, QueryParameters queryParameters, IList results)
at NHibernate.Impl.SessionImpl.List[T](NativeSQLQuerySpecification spec, QueryParameters queryParameters)
at NHibernate.Impl.SqlQueryImpl.List[T]()
at SETIService.Do_DownloadOrders(HttpResponse HttpResponse, XmlDocument& xRespDoc, String OrderDate, String LastOrder, String StartNum, String BatchSize, Boolean CountOnly, String PassPhrase, Store& objStore, Boolean bDSSMode) in D:\www\site-gold\Client\SETIService.ashx:line 1009
at SETIService.Do_Download(HttpResponse HttpResponse, Store objStore, String Which, String Update, String Count, String OrderDate, String LastOrder, String BatchSize, String StartNum, String PassPhrase, Boolean bDSSMode) in D:\www\site-gold\Client\SETIService.ashx:line 352
at SETIService.Dispatcher(HttpResponse HttpResponse, Store objStore, String OMFunction, String Update, String Count, String OrderDate, String LastOrder, String OrderNumber, String OrderStatus, String BatchSize, String StartNum, String PassPhrase, Boolean bDSSMode) in D:\www\site-gold\Client\SETIService.ashx:line 289
at SETIService.ProcessSETIRequest(HttpContext Context) in D:\www\site-gold\Client\SETIService.ashx:line 186