While building my site on Umbraco 4.8 with uCommerce 2.6.1.0 I accidentally hit "Build solution" in Visual Studio.
After having added several uCommerce-dll's back into the project I'm now stuck at this exception:
An exception of type 'Castle.MicroKernel.ComponentActivator.ComponentActivatorException' occurred in Castle.Windsor.DLL but was not handled in user code Additional information: ComponentActivator: could not instantiate UCommerce.EntitiesV2.Repository`1[[UCommerce.EntitiesV2.PurchaseOrder, UCommerce, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
This exception occurs in this line:
var basket = SiteContext.Current.OrderContext.HasBasket ? SiteContext.Current.OrderContext.GetBasket() : null;
It means that uCommerce can't find the type in question. In this case the Repository which is located in the UCommerce.dll
Make sure that you /bin folder contains the UCommerce.dll from the 2.6.1.0 package zip. Better yet grab all the DLLs from the zip and add them to your /bin to make sure that they're all there.
UCommerce just selfdestructed..
While building my site on Umbraco 4.8 with uCommerce 2.6.1.0 I accidentally hit "Build solution" in Visual Studio.
After having added several uCommerce-dll's back into the project I'm now stuck at this exception:
This exception occurs in this line:
I have no idea how to fix this. Please help.
It means that uCommerce can't find the type in question. In this case the Repository which is located in the UCommerce.dll
Make sure that you /bin folder contains the UCommerce.dll from the 2.6.1.0 package zip. Better yet grab all the DLLs from the zip and add them to your /bin to make sure that they're all there.
I thought I did. But it turns out that I'd missed a few (NHibernate amongst others). After adding the missing DLL's the error disappeared.
Thank you. :-)
Awesome!
is working on a reply...