Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Bobby Wallace 29 posts 81 karma points
    Jul 01, 2016 @ 02:52
    Bobby Wallace

    Trying to Bring up Merchello

    Thanks for listening... I am trying to bring up a moch-up for a client using Merchello. I have searched for the correct install procedure - the core + the starter kit.

    In the end, I keep getting:

    Server Error in '/' Application. A parameter passed into a method was not a valid value Parameter name: Skus must be unique. 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.ArgumentException: A parameter passed into a method was not a valid value Parameter name: Skus must be unique.

    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.

    Stack Trace:

    [ArgumentException: A parameter passed into a method was not a valid value Parameter name: Skus must be unique.]
    Umbraco.Core.Mandate.That(Boolean condition, Func1 defer) +27
    Umbraco.Core.Mandate.ParameterCondition(Boolean condition, String paramName, String message) +110
    Merchello.Core.Persistence.Repositories.ProductRepository.PersistNewItem(IProduct entity) +56
    1.PersistNewItem(IEntity entity) +351
    Merchello.Core.Persistence.UnitOfWork.PetaPocoUnitOfWork.Commit(Action`1 transactionCompleting) +114
    Merchello.Core.Persistence.UnitOfWork.PetaPocoUnitOfWork.Commit() +7
    Merchello.Core.Services.ProductService.Save(IProduct product, Boolean raiseEvents) +281
    Merchello.Bazaar.Install.BazaarDataInstaller.AddMerchelloData() +4581 Merchello.Bazaar.Install.BazaarDataInstaller.Execute() +52
    Merchello.Bazaar.Install.Installer.OnInit(EventArgs e) +42
    System.Web.UI.Control.InitRecursive(Control namingContainer) +139
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +185 System.Web.UI.ControlCollection.Add(Control child) +86
    umbraco.presentation.developer.packages.Installer.ProcessInstall(String currentStep) +1134
    umbraco.presentation.developer.packages.Installer.Page_Load(Object sender, EventArgs e) +498
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +95
    umbraco.BasePages.BasePage.OnLoad(EventArgs e) +14
    System.Web.UI.Control.LoadRecursive() +59
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2952

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1073.0

    Can you lead me in the right direction? I have not sold this client, but I believe I am headed in the right direction.

    Thanks, -Bobby

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 05, 2016 @ 16:13
    Rusty Swayne

    Hey Bobby -

    It looks like Merchello installed fine, but the starter kit failed on the first attempt and you are trying to install it a second time. Can you verify that you have products in the Merchello product list? This would explain the duplicate product SKUs.

  • Bobby Wallace 29 posts 81 karma points
    Jul 05, 2016 @ 17:33
    Bobby Wallace

    My bad... I should have posted a follow-up resolution.

    The solution was to drop the Merchello (merch) database tables and re-install the packages. Fortunately, I had not started inserting products, so no loss of data.

Please Sign in or register to post replies

Write your reply to: