We have upgraded the uCommerce from version 2.5.1 to 2.6.1 and while building the solution we getting the below issue.
Error 8 'UCommerce.Web.UI.Umbraco.UCommerce.Marketing.CampaignItems.OrderTotalEditor' is not allowed here because it does not extend class 'System.Web.UI.UserControl'. umbraco\UCommerce\Marketing\CampaignItems\OrderTotalEditor.ascx 1
Is there any way to rectify this issue.
And also we need to upgrade the uCommerce to latest version
We've are using umbraco 4.7.1.
We have updated the uCommerce to 4.0 and re-builded the solution successfully with no issues.
But it throws the below error on umbraco login page.
Could not load file or assembly 'NHibernate, Version=3.1.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'NHibernate, Version=3.1.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'NHibernate, Version=3.1.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
[FileLoadException: Could not load file or assembly 'NHibernate, Version=3.1.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0
System.Reflection.RuntimeAssembly.GetExportedTypes() +49
Castle.Core.Internal.ReflectionUtil.GetAvailableTypes(Assembly assembly, Boolean includeNonExported) +74
Castle.MicroKernel.SubSystems.Conversion.TypeNameConverter.Scan(Assembly assembly) +56
Castle.MicroKernel.SubSystems.Conversion.TypeNameConverter.InitializeAppDomainAssemblies(Boolean forceLoad) +176
Castle.MicroKernel.SubSystems.Conversion.TypeNameConverter.GetType(String name) +110
Castle.MicroKernel.SubSystems.Conversion.TypeNameConverter.PerformConversion(String value, Type targetType) +45
[ConverterException: Could not convert string 'UCommerce.Xslt.Rendering.IXmlRenderer`1[[UCommerce.EntitiesV2.Definitions.IProperty]], UCommerce' to a type.]
Castle.MicroKernel.SubSystems.Conversion.TypeNameConverter.PerformConversion(String value, Type targetType) +195
Castle.MicroKernel.SubSystems.Conversion.DefaultConversionManager.PerformConversion(String value, Type targetType) +130
Castle.MicroKernel.SubSystems.Conversion.DefaultConversionManager.PerformConversion(String value) +57
Castle.Windsor.Installer.DefaultComponentInstaller.SetUpComponents(IConfiguration[] configurations, IWindsorContainer container, IConversionManager converter) +262
Castle.Windsor.Installer.DefaultComponentInstaller.SetUp(IWindsorContainer container, IConfigurationStore store) +203
UCommerce.Infrastructure.ObjectFactory.Resolve() +66
UCommerce.Umbraco.Menu.Actions.AbstractAction..ctor() +104
UCommerce.Umbraco.Menu.Actions.ProductCatalogSortAction..cctor() +28
[TypeInitializationException: The type initializer for 'UCommerce.Umbraco.Menu.Actions.ProductCatalogSortAction' threw an exception.]
UCommerce.Umbraco.Menu.Actions.ProductCatalogSortAction.get_Instance() +24
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +229
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +193
System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) +38
umbraco.BusinessLogic.Actions.Action.RegisterIActions() +265
umbraco.BusinessLogic.Actions.Action.ReRegisterActionsAndHandlers() +167
[TypeInitializationException: The type initializer for 'umbraco.BusinessLogic.Actions.Action' threw an exception.]
umbraco.cms.presentation._umbraco.RenderActionJS() +98
umbraco.cms.presentation._umbraco.Page_Load(Object sender, EventArgs e) +1658
umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
And also throws below issues in ui of website.
Could not convert string 'UCommerce.Xslt.Rendering.IXmlRenderer`1[[UCommerce.EntitiesV2.Definitions.IProperty]], UCommerce' to a type
Could not load file or assembly 'Examine, Version=0.10.0.292, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Please also note that the latest version of uCommerce downloads a number of dependencies from NuGet at install, so please make sure you have internet connection when installing.
You can check the umbraco log for errors after install. But it sounds like the install of uCommerce did not complete correctly.
Issue in uCommerce upgrade from 2.5.1 to 2.6.1
We are using umbraco 4.7.1.1
We have upgraded the uCommerce from version 2.5.1 to 2.6.1 and while building the solution we getting the below issue.
Error 8 'UCommerce.Web.UI.Umbraco.UCommerce.Marketing.CampaignItems.OrderTotalEditor' is not allowed here because it does not extend class 'System.Web.UI.UserControl'. umbraco\UCommerce\Marketing\CampaignItems\OrderTotalEditor.ascx 1
Is there any way to rectify this issue.
And also we need to upgrade the uCommerce to latest version
Thanks in advance for any help.
Saravanan
Hi Saravanan,
Our strong recommendation is to upgrade to the latest uCommerce version! :-)
Kind regards,
Jesper
Thanks Jesper. Will update to later version.
Hi Jesper,
We have updated the uCommerce to 4.0 and we are getting the below error.
Please help us how to resolve.
Error 72 'Name' cannot implement 'Name' because there is no matching property on interface 'UCommerce.Transactions.Shipping.IShippingMethodService'.
Thanks,
Saravanan
Hi,
We've are using umbraco 4.7.1. We have updated the uCommerce to 4.0 and re-builded the solution successfully with no issues. But it throws the below error on umbraco login page.
And also throws below issues in ui of website.
Please help us in fixing the issue.
Thanks in Advance,
Saravanan
The latest version of uCommerce has its dependencies located in a folder called "ucommerce" under the "bin" folder.
The version of NHibernate uCommerce needs is 3.3.1.4000.
Please check that you have a number of <dependentAssembly> entries in the "web.config" file after install of uCommerce.
It should include an entry for NHibernate looking like:
<dependentAssembly>
<assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" />
<codeBase version="3.3.1.4000" href="bin\ucommerce\NHibernate.dll" />
</dependentAssembly>
Please also note that the latest version of uCommerce downloads a number of dependencies from NuGet at install, so please make sure you have internet connection when installing.
You can check the umbraco log for errors after install. But it sounds like the install of uCommerce did not complete correctly.
Kind regards,
Jesper
Hi Jesper,
Thanks for your reply.
As you said we are haiving that in web.config file and we have installed theough internet connection.
Hi Saravana,
Please look for the assembly "Examine.dll" in the bin folder.
This is a dependency of Umbraco. It should have been installed when you installed Umbraco?
If it is not there, you need to repair the Umbraco installaion.
Kind regards,
Jesper
is working on a reply...