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)
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.)
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:
and also my web.config has these issues:
Hi Ian,
Please check the table "UCommerce_User" in the database, and check for doubled entries in the column "ExternalId".
Kind regards,
Jesper
Hi ianhoughton,
Any luck?
Would love to solve this one as well.
Cheers
mkariti
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
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
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!
Thanks for posting a follow-up in the forum. #h5yr!
is working on a reply...