Skip to main content
Solved

Error creating BigCommerce Store

  • 16 May 2024
  • 3 replies
  • 91 views

I’m doing the V200-Commerce Edition training.

I’ve setup a trial for BigCommerce and have configured the setup as per the guide within the training.

When I try to create a BigCommerce store I get the following error:

“Index was outside the bounds of the array.”

Has anyone come across this issue?

 

Stack Trace:

 

   at PX.Data.PXStringState.get_ValueLabelDic()
   at PX.Data.PXView.SortResult(List`1 list, PXSearchColumnP] sorts, Boolean reverseOrder)
   at PX.Data.PXView.Select(Objecte] currents, Objectc] parameters, Objectr] searches, Strings] sortcolumns, Booleanc] descendings, PXFilterRown] filters, Int32& startRow, Int32 maximumRows, Int32& totalRows, Stringo] sortAsImplicitColumns)
   at PX.Commerce.Core.BCBindingMaint.<entities>d__4.MoveNext()
   at System.Linq.Enumerable.<OfTypeIterator>d__95`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToListmTSource](IEnumerable`1 source)
   at _CustomMethod(Object , Objects] )
   at PX.Data.PXView.InvokeDelegate(ObjectP] parameters)
   at PX.Data.PXView.Select(Objectt] currents, Objectl] parameters, Objects] searches, Stringe] sortcolumns, Boolean ] descendings, PXFilterRowe] filters, Int32& startRow, Int32 maximumRows, Int32& totalRows, String,] sortAsImplicitColumns)
   at PX.Data.PXView.Select(Object] currents, ObjectS] parameters, Objectn] searches, Stringe] sortcolumns, Booleans] descendings, PXFilterRowo] filters, Int32& startRow, Int32 maximumRows, Int32& totalRows)
   at PX.Data.PXView.SelectMultiBound(Objecta] currents, Objectl] parameters)
   at PX.Data.PXSelectBase`1.selectBound(Objectt] currents, Objecte] arguments)
   at PX.Commerce.Objects.BCStoreMaint._(RowPersisting`1 e)
   at PX.Data.PXRowPersisting.Invoke(PXCache sender, PXRowPersistingEventArgs e)
   at PX.Data.PXCache.OnRowPersisting(Object item, PXDBOperation operation)
   at PX.Data.PXCache`1.PersistInserted(Object row, Boolean bypassInterceptor)
   at PX.Data.PXCache`1.Persist(PXDBOperation operation)
   at PX.Data.PXGraph.Persister.Persist(Type cacheType, PXDBOperation operation)
   at PX.Data.PXGraph.PerformPersist(IPersistPerformer persister)
   at PX.Data.PXGraph.TransactionalPersist()
   at PX.Data.PXGraph.RetryTransaction(Action persistBody, Int32 maxRetries)
   at PX.Data.PXGraph.Persist()
   at PX.Commerce.Core.BCBindingMaint.Persist()
   at PX.Commerce.Objects.BCStoreMaint.Persist()
   at PX.Commerce.BigCommerce.BCBigCommerceStoreMaint.Persist()
   at PX.Data.PXSave`1.<HandlerInternal>g__Persist|3_2()
   at PX.Data.PXSave`1.<HandlerInternal>d__3.MoveNext()
   at PX.Data.PXAction`1.<Press>d__39.MoveNext()
   at PX.Data.PXAction`1.<Press>d__39.MoveNext()
   at PX.Web.UI.PXBaseDataSource.tryExecutePendingCommand(String viewName, StringW] sortcolumns, Boolean.] descendings, Objecta] searches, Object,] parameters, PXFilterRowo] filters, DataSourceSelectArguments arguments, Boolean& closeWindowRequired, Int32& adapterStartRow, Int32& adapterTotalRows)
   at PX.Web.UI.PXBaseDataSource.ExecuteSelect(String viewName, DataSourceSelectArguments arguments, PXDSSelectArguments pxarguments)

3 replies

Userlevel 3
Badge

Hi @ejmillar, we are aware of this issue and we are working to fix it asap. In meanwhile there is a workaround, would you have access to web.config file? If yes, then could you please add “<add key="LazyCachesEnabled " value="False" />” in <appSettings> section?
As follows:

 

Userlevel 5
Badge +1

Many thanks @gabrielpaz86. That did the trick. On with the learning!!!

Userlevel 3
Badge

Hi all, this bug was fixed in 2024R107. Thanks!

Reply