Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • ianhoughton 281 posts 605 karma points c-trib
    Aug 14, 2013 @ 18:26
    ianhoughton
    0

    UCommerce section empty after install

    I've installed Umbraco 6.1.3 webforms, and uComponents 3.6.4.13211 and got no errors. When selecting the uComponents section in the backend the tree is empty.

    Checking the umbraco log I have this error:

    2013-08-14 17:05:54,949 [17] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 20] An unhandled exception occurred
    System.InvalidOperationException: Sequence contains more than one element
       at NHibernate.Linq.DefaultQueryProvider.ExecuteQuery(NhLinqExpression nhLinqExpression, IQuery query, NhLinqExpression nhQuery)
       at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression)
       at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression)
       at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)
       at UCommerce.Umbraco.Security.UmbracoUserService.GetUser(String userName)
       at UCommerce.Umbraco.Security.UmbracoUserService.GetCurrentUser()
       at UCommerce.Security.RoleService.GetRolesForUser()
       at UCommerce.Security.SecurityService.UserIsInRole(Role role)
       at UCommerce.Umbraco.Menu.LoadCatalog.CreateRootNode(XmlTreeNode& rootNode)
       at umbraco.presentation.webservices.TreeDataService.LoadAppTrees(TreeRequestParams treeParams)
       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    and also my web.config has these issues:

     

  • Jesper Nielsen 141 posts 498 karma points
    Aug 16, 2013 @ 10:27
    Jesper Nielsen
    0

    Hi Ian,

    Please check the table "UCommerce_User" in the database, and check for doubled entries in the column "ExternalId".

    Kind regards,

    Jesper

  • MK 429 posts 906 karma points
    Aug 25, 2013 @ 21:09
    MK
    0

    Hi ianhoughton,

    Any luck?

    Would love to solve this one as well.

    Cheers

    mkariti

  • Jesper Nielsen 141 posts 498 karma points
    Aug 26, 2013 @ 09:44
    Jesper Nielsen
    0

    Please note that when the commerce tree is empty after install, it means that Umbraco cannot get through to uCommerce to get information about the tree. There could be any number of different reasons for this.

    The comment to look for duplicate entries is specifically tied to the Ian's exception.

    One issue could be that the latest installs needs internet access to be able to get NuGet packages. If the install failed because of this, simply install it again when the internet connection is up. (If this happened during a first install, I think you will find that the configuration of uCommerce only holds the .config.default files, that have yet to be copied as .config files.)

    But please post your specific exception details.

    Kind regards,

    Jesper

  • MK 429 posts 906 karma points
    Aug 26, 2013 @ 10:55
    MK
    0

    Hi Jesper.

    Many thanks for your reply.

    Ive looked at the uCommerce_user for duplication - none.

    Also, the only ex I'm getting is the following in the console:

     

     

     

    I have no errors in the umbraco log but get these errors in the Logs folder:

     

    System.InvalidOperationException: Sequence contains more than one element

       at NHibernate.Linq.DefaultQueryProvider.ExecuteQuery(NhLinqExpression nhLinqExpression, IQuery query, NhLinqExpression nhQuery)

       at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression)

       at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression)

       at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)

       at UCommerce.Umbraco.Menu.LoadSettings.CreateRootNode(XmlTreeNode& rootNode)

       at umbraco.presentation.webservices.TreeDataService.LoadAppTrees(TreeRequestParams treeParams)

       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Regards,

    mkariti

  • MK 429 posts 906 karma points
    Aug 26, 2013 @ 15:40
    MK
    1

    Ok I managed to solve my problem.

    Duplication of entries in the uCommerce_Role. You'll have to edit the uCommerce_Permission table as well.

    Good luck!

    And dont forget to backup before applying any changes!

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 27, 2013 @ 07:33
    Søren Spelling Lund
    0

    Thanks for posting a follow-up in the forum. #h5yr!

Please Sign in or register to post replies

Write your reply to:

Draft