and also in other places that it is very important to set the domain on your store. When i do that however it takes over my main site and I no longer have access to the main site. So my question is how do i setup ucommerce to be a sub section of my site? Also I will eventually need to know how to setup the checkout area to require ssl.
You have to setup a node in the content section to respond to a specific hostname. (right click and manage hostnames). It could be a root node or a childnode anywhere in the tree. In the commerce section you configure each individual store to repsond to a host name.
I guess you would have to configure a hostname for your mainsite also if you have problems with multiple hostnames.
Thank you for your reply. So if I understand what you are saying I need to have www.myumbraco.com as my main site and shop.myumbraco.com as my ucommerce shop site or some variation there of. If that is correct then they are 2 different sites and i would think at that point they are cross domain. When i do that IIS fails to let the site work because it is not setup as it's own seperate site. What I am trying to do is essentially no different than you see on the Umbraco.com site itself. I am trying to have my main site exist with the shop as a link off of it such as www.myumbracosite.com/shop/ Having them be seperate host names does not allow this. Can anyone tell me how to accomplish this if it is even possible?
Thank you in advance for any assistance you can provide.
thank you for your reply. I tried that and when i did that the left nav, the homepage catalog and the basket no longer work. I get the following 3 errors when loading the main page for the shop.
Can you be a little more specific ? Can you attach the UmbDebugShowTrace=True to the querystring so we can debug it :) Make sure UmbracoDebugMode is set to true in the web.config.
Error Loading Razor Script (file: uCommerce MiniBasket) Object reference not set to an instance of an object. at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitConstantExpression(ConstantExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMemberExpression(MemberExpression expression) at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitMemberExpression(MemberExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.ExpressionKeyVisitor.Visit(Expression expression, IDictionary`2 parameters) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitMemberExpression(MemberExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExtensionExpression(ExtensionExpression expression) at Remotion.Linq.Clauses.Expressions.ExtensionExpression.Accept(ExpressionTreeVisitor visitor) at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.Accept(ExpressionTreeVisitor visitor) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Clauses.WhereClause.TransformExpressions(Func`2 transformation) at NHibernate.Linq.Visitors.WhereJoinDetector.Transform(WhereClause whereClause) at NHibernate.Linq.ReWriters.AddJoinsReWriter.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index) at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index) at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel) at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel) at NHibernate.Linq.ReWriters.AddJoinsReWriter.ReWrite(QueryModel queryModel, ISessionFactory sessionFactory) at NHibernate.Linq.Visitors.QueryModelVisitor.GenerateHqlQuery(QueryModel queryModel, VisitorParameters parameters, Boolean root) at NHibernate.Linq.NhLinqExpression.Translate(ISessionFactoryImplementor sessionFactory) at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryIdentifier, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan.CreateTranslators(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters) at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow) at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression) at NHibernate.Linq.DefaultQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery) at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source) at UCommerce.Runtime.CatalogContext.get_CurrentCatalog() at ASP._Page_macroScripts_uCommerce_MiniBasket_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\MiniBasket.cshtml:line 8 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
0.0316385660813204
0.003273
macro
Error loading MacroEngine script (file: uCommerce/MiniBasket.cshtml, Type: '' Object reference not set to an instance of an object. at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitConstantExpression(ConstantExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMemberExpression(MemberExpression expression) at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitMemberExpression(MemberExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.ExpressionKeyVisitor.Visit(Expression expression, IDictionary`2 parameters) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitMemberExpression(MemberExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExtensionExpression(ExtensionExpression expression) at Remotion.Linq.Clauses.Expressions.ExtensionExpression.Accept(ExpressionTreeVisitor visitor) at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.Accept(ExpressionTreeVisitor visitor) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Clauses.WhereClause.TransformExpressions(Func`2 transformation) at NHibernate.Linq.Visitors.WhereJoinDetector.Transform(WhereClause whereClause) at NHibernate.Linq.ReWriters.AddJoinsReWriter.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index) at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index) at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel) at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel) at NHibernate.Linq.ReWriters.AddJoinsReWriter.ReWrite(QueryModel queryModel, ISessionFactory sessionFactory) at NHibernate.Linq.Visitors.QueryModelVisitor.GenerateHqlQuery(QueryModel queryModel, VisitorParameters parameters, Boolean root) at NHibernate.Linq.NhLinqExpression.Translate(ISessionFactoryImplementor sessionFactory) at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryIdentifier, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan.CreateTranslators(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters) at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow) at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression) at NHibernate.Linq.DefaultQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery) at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source) at UCommerce.Runtime.CatalogContext.get_CurrentCatalog() at ASP._Page_macroScripts_uCommerce_MiniBasket_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\MiniBasket.cshtml:line 8 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage) at umbraco.macro.loadMacroScript(MacroModel macro) at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
Error Loading Razor Script (file: uCommerce LeftNavigation) No product catalog group supporting the url "http://mikesumbracosite.com:80/shop.aspx?UmbDebugShowTrace=True" found. at UCommerce.Runtime.CatalogContext.FindProductCatalogGroupForDomain() at UCommerce.Runtime.CatalogContext.get_CurrentCatalogGroup() at UCommerce.Catalog.CatalogLibraryInternal.GetCatalog(String catalogName) at Castle.Proxies.Invocations.CatalogLibraryInternal_GetCatalog_1.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.CatalogLibraryInternalProxy.GetCatalog(String catalogName) at UCommerce.Catalog.CatalogLibraryInternal.GetRootCategories(String catalogName) at Castle.Proxies.Invocations.CatalogLibraryInternal_GetRootCategories_1.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.CatalogLibraryInternalProxy.GetRootCategories(String catalogName) at UCommerce.Api.CatalogLibrary.GetRootCategories(Nullable`1 catalogId) at ASP._Page_macroScripts_uCommerce_LeftNavigation_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\LeftNavigation.cshtml:line 28 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
0.040208896060488
0.006864
macro
Error loading MacroEngine script (file: uCommerce/LeftNavigation.cshtml, Type: '' No product catalog group supporting the url "http://mikesumbracosite.com:80/shop.aspx?UmbDebugShowTrace=True" found. at UCommerce.Runtime.CatalogContext.FindProductCatalogGroupForDomain() at UCommerce.Runtime.CatalogContext.get_CurrentCatalogGroup() at UCommerce.Catalog.CatalogLibraryInternal.GetCatalog(String catalogName) at Castle.Proxies.Invocations.CatalogLibraryInternal_GetCatalog_1.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.CatalogLibraryInternalProxy.GetCatalog(String catalogName) at UCommerce.Catalog.CatalogLibraryInternal.GetRootCategories(String catalogName) at Castle.Proxies.Invocations.CatalogLibraryInternal_GetRootCategories_1.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.CatalogLibraryInternalProxy.GetRootCategories(String catalogName) at UCommerce.Api.CatalogLibrary.GetRootCategories(Nullable`1 catalogId) at ASP._Page_macroScripts_uCommerce_LeftNavigation_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\LeftNavigation.cshtml:line 28 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage) at umbraco.macro.loadMacroScript(MacroModel macro) at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
Error Loading Razor Script (file: uCommerce Homepage Catalog) Object reference not set to an instance of an object. at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitConstantExpression(ConstantExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMemberExpression(MemberExpression expression) at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitMemberExpression(MemberExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.ExpressionKeyVisitor.Visit(Expression expression, IDictionary`2 parameters) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitMemberExpression(MemberExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExtensionExpression(ExtensionExpression expression) at Remotion.Linq.Clauses.Expressions.ExtensionExpression.Accept(ExpressionTreeVisitor visitor) at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.Accept(ExpressionTreeVisitor visitor) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Clauses.WhereClause.TransformExpressions(Func`2 transformation) at NHibernate.Linq.Visitors.WhereJoinDetector.Transform(WhereClause whereClause) at NHibernate.Linq.ReWriters.AddJoinsReWriter.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index) at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index) at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel) at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel) at NHibernate.Linq.ReWriters.AddJoinsReWriter.ReWrite(QueryModel queryModel, ISessionFactory sessionFactory) at NHibernate.Linq.Visitors.QueryModelVisitor.GenerateHqlQuery(QueryModel queryModel, VisitorParameters parameters, Boolean root) at NHibernate.Linq.NhLinqExpression.Translate(ISessionFactoryImplementor sessionFactory) at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryIdentifier, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan.CreateTranslators(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters) at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow) at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression) at NHibernate.Linq.DefaultQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery) at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source) at UCommerce.Runtime.CatalogContext.get_CurrentCatalog() at ASP._Page_macroScripts_uCommerce_HomepageCatalog_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\HomepageCatalog.cshtml:line 3 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
0.0448706800715888
0.003071
macro
Error loading MacroEngine script (file: uCommerce/HomepageCatalog.cshtml, Type: '' Object reference not set to an instance of an object. at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitConstantExpression(ConstantExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMemberExpression(MemberExpression expression) at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitMemberExpression(MemberExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.ExpressionKeyVisitor.Visit(Expression expression, IDictionary`2 parameters) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitMemberExpression(MemberExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExtensionExpression(ExtensionExpression expression) at Remotion.Linq.Clauses.Expressions.ExtensionExpression.Accept(ExpressionTreeVisitor visitor) at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.Accept(ExpressionTreeVisitor visitor) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression) at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression) at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) at Remotion.Linq.Clauses.WhereClause.TransformExpressions(Func`2 transformation) at NHibernate.Linq.Visitors.WhereJoinDetector.Transform(WhereClause whereClause) at NHibernate.Linq.ReWriters.AddJoinsReWriter.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index) at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index) at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel) at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel) at NHibernate.Linq.ReWriters.AddJoinsReWriter.ReWrite(QueryModel queryModel, ISessionFactory sessionFactory) at NHibernate.Linq.Visitors.QueryModelVisitor.GenerateHqlQuery(QueryModel queryModel, VisitorParameters parameters, Boolean root) at NHibernate.Linq.NhLinqExpression.Translate(ISessionFactoryImplementor sessionFactory) at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryIdentifier, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan.CreateTranslators(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters) at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow) at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression) at NHibernate.Linq.DefaultQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery) at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source) at UCommerce.Runtime.CatalogContext.get_CurrentCatalog() at ASP._Page_macroScripts_uCommerce_HomepageCatalog_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\HomepageCatalog.cshtml:line 3 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage) at umbraco.macro.loadMacroScript(MacroModel macro) at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
I Guess the issue is pointing towards the setup in uCommerce. According to this error, you haven't configured your store to run on the hostname below. Can you verify that? Take a look at your store configuration under commerce and see what hostname is configured.
Error Loading Razor Script (file: uCommerce LeftNavigation) No product catalog group supporting the url "http://mikesumbracosite.com:80/shop.aspx?UmbDebugShowTrace=True" found. at
I verified that it was set I even went so far as to add the port number which appeared to work for a min but apparently was not because the issue still persists. The only way it works for me is if i leave it set to default. Beyond that I have another issue that is what started me looking at the Host name in the first place. Whenever I select one of the items from the HomePageCatalog or the left navigation i get a 404 error. I tried to trace it but get nothing.
Care to elaborate on what you did to fix this :) ?
You should be able to right click a node in your content tree and set a hostname for that. Once you've done that, you can select that domain name on the store to use as your hostname.
I did not fix it. As I stated in my last post that problem continues to exist. The problem that i fixed was the 404 errors i was getting when trying to select either the catalog or the products on the razorhomepage. The only way i can get the shop to NOT throw the error is to leave the Hostname setting at default.
Ucommerce as a sub section of my site
I have installed umbraco 6.1.1 and then installed ucommerce 3.6.4.13211 and the demo store Razor_1.0.3.13143 I see in the instructions here http://blogs.thesitedoctor.co.uk/tim/2010/08/17/Getting+Started+With+UCommerce.aspx
and also in other places that it is very important to set the domain on your store. When i do that however it takes over my main site and I no longer have access to the main site. So my question is how do i setup ucommerce to be a sub section of my site? Also I will eventually need to know how to setup the checkout area to require ssl.
You have to setup a node in the content section to respond to a specific hostname. (right click and manage hostnames). It could be a root node or a childnode anywhere in the tree. In the commerce section you configure each individual store to repsond to a host name.
I guess you would have to configure a hostname for your mainsite also if you have problems with multiple hostnames.
I hope that helps.
Regards Morten
Morten,
Thank you for your reply. So if I understand what you are saying I need to have www.myumbraco.com as my main site and shop.myumbraco.com as my ucommerce shop site or some variation there of. If that is correct then they are 2 different sites and i would think at that point they are cross domain. When i do that IIS fails to let the site work because it is not setup as it's own seperate site. What I am trying to do is essentially no different than you see on the Umbraco.com site itself. I am trying to have my main site exist with the shop as a link off of it such as www.myumbracosite.com/shop/ Having them be seperate host names does not allow this. Can anyone tell me how to accomplish this if it is even possible?
Thank you in advance for any assistance you can provide.
Mike
You should be able to point your hostname to a node sitting deeper in the structure by matching the URL structure of it.
www.myumbracosite.com/shop/ is doable.
Soren,
thank you for your reply. I tried that and when i did that the left nav, the homepage catalog and the basket no longer work. I get the following 3 errors when loading the main page for the shop.
Error loading MacroEngine script (file: uCommerce/LeftNavigation.cshtml)
Error loading MacroEngine script (file: uCommerce/HomepageCatalog.cshtml)
Error loading MacroEngine script (file: uCommerce/MiniBasket.cshtml)
Michael,
Can you be a little more specific ? Can you attach the UmbDebugShowTrace=True to the querystring so we can debug it :) Make sure UmbracoDebugMode is set to true in the web.config.
Morten,
Here is the Trace. Thank you.
Request Details
Trace Information
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMemberExpression(MemberExpression expression)
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitMemberExpression(MemberExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.Visit(Expression expression, IDictionary`2 parameters)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitMemberExpression(MemberExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExtensionExpression(ExtensionExpression expression)
at Remotion.Linq.Clauses.Expressions.ExtensionExpression.Accept(ExpressionTreeVisitor visitor)
at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.Accept(ExpressionTreeVisitor visitor)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Clauses.WhereClause.TransformExpressions(Func`2 transformation)
at NHibernate.Linq.Visitors.WhereJoinDetector.Transform(WhereClause whereClause)
at NHibernate.Linq.ReWriters.AddJoinsReWriter.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index)
at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index)
at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel)
at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
at NHibernate.Linq.ReWriters.AddJoinsReWriter.ReWrite(QueryModel queryModel, ISessionFactory sessionFactory)
at NHibernate.Linq.Visitors.QueryModelVisitor.GenerateHqlQuery(QueryModel queryModel, VisitorParameters parameters, Boolean root)
at NHibernate.Linq.NhLinqExpression.Translate(ISessionFactoryImplementor sessionFactory)
at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryIdentifier, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan.CreateTranslators(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters)
at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow)
at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression)
at NHibernate.Linq.DefaultQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery)
at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression)
at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
at UCommerce.Runtime.CatalogContext.get_CurrentCatalog()
at ASP._Page_macroScripts_uCommerce_MiniBasket_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\MiniBasket.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
Object reference not set to an instance of an object.
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitConstantExpression(ConstantExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMemberExpression(MemberExpression expression)
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitMemberExpression(MemberExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.Visit(Expression expression, IDictionary`2 parameters)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitMemberExpression(MemberExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExtensionExpression(ExtensionExpression expression)
at Remotion.Linq.Clauses.Expressions.ExtensionExpression.Accept(ExpressionTreeVisitor visitor)
at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.Accept(ExpressionTreeVisitor visitor)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Clauses.WhereClause.TransformExpressions(Func`2 transformation)
at NHibernate.Linq.Visitors.WhereJoinDetector.Transform(WhereClause whereClause)
at NHibernate.Linq.ReWriters.AddJoinsReWriter.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index)
at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index)
at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel)
at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
at NHibernate.Linq.ReWriters.AddJoinsReWriter.ReWrite(QueryModel queryModel, ISessionFactory sessionFactory)
at NHibernate.Linq.Visitors.QueryModelVisitor.GenerateHqlQuery(QueryModel queryModel, VisitorParameters parameters, Boolean root)
at NHibernate.Linq.NhLinqExpression.Translate(ISessionFactoryImplementor sessionFactory)
at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryIdentifier, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan.CreateTranslators(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters)
at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow)
at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression)
at NHibernate.Linq.DefaultQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery)
at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression)
at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
at UCommerce.Runtime.CatalogContext.get_CurrentCatalog()
at ASP._Page_macroScripts_uCommerce_MiniBasket_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\MiniBasket.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
at UCommerce.Runtime.CatalogContext.get_CurrentCatalogGroup()
at UCommerce.Catalog.CatalogLibraryInternal.GetCatalog(String catalogName)
at Castle.Proxies.Invocations.CatalogLibraryInternal_GetCatalog_1.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.CatalogLibraryInternalProxy.GetCatalog(String catalogName)
at UCommerce.Catalog.CatalogLibraryInternal.GetRootCategories(String catalogName)
at Castle.Proxies.Invocations.CatalogLibraryInternal_GetRootCategories_1.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.CatalogLibraryInternalProxy.GetRootCategories(String catalogName)
at UCommerce.Api.CatalogLibrary.GetRootCategories(Nullable`1 catalogId)
at ASP._Page_macroScripts_uCommerce_LeftNavigation_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\LeftNavigation.cshtml:line 28
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
No product catalog group supporting the url "http://mikesumbracosite.com:80/shop.aspx?UmbDebugShowTrace=True" found.
at UCommerce.Runtime.CatalogContext.FindProductCatalogGroupForDomain()
at UCommerce.Runtime.CatalogContext.get_CurrentCatalogGroup()
at UCommerce.Catalog.CatalogLibraryInternal.GetCatalog(String catalogName)
at Castle.Proxies.Invocations.CatalogLibraryInternal_GetCatalog_1.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.CatalogLibraryInternalProxy.GetCatalog(String catalogName)
at UCommerce.Catalog.CatalogLibraryInternal.GetRootCategories(String catalogName)
at Castle.Proxies.Invocations.CatalogLibraryInternal_GetRootCategories_1.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.CatalogLibraryInternalProxy.GetRootCategories(String catalogName)
at UCommerce.Api.CatalogLibrary.GetRootCategories(Nullable`1 catalogId)
at ASP._Page_macroScripts_uCommerce_LeftNavigation_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\LeftNavigation.cshtml:line 28
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMemberExpression(MemberExpression expression)
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitMemberExpression(MemberExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.Visit(Expression expression, IDictionary`2 parameters)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitMemberExpression(MemberExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExtensionExpression(ExtensionExpression expression)
at Remotion.Linq.Clauses.Expressions.ExtensionExpression.Accept(ExpressionTreeVisitor visitor)
at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.Accept(ExpressionTreeVisitor visitor)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Clauses.WhereClause.TransformExpressions(Func`2 transformation)
at NHibernate.Linq.Visitors.WhereJoinDetector.Transform(WhereClause whereClause)
at NHibernate.Linq.ReWriters.AddJoinsReWriter.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index)
at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index)
at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel)
at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
at NHibernate.Linq.ReWriters.AddJoinsReWriter.ReWrite(QueryModel queryModel, ISessionFactory sessionFactory)
at NHibernate.Linq.Visitors.QueryModelVisitor.GenerateHqlQuery(QueryModel queryModel, VisitorParameters parameters, Boolean root)
at NHibernate.Linq.NhLinqExpression.Translate(ISessionFactoryImplementor sessionFactory)
at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryIdentifier, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan.CreateTranslators(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters)
at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow)
at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression)
at NHibernate.Linq.DefaultQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery)
at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression)
at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
at UCommerce.Runtime.CatalogContext.get_CurrentCatalog()
at ASP._Page_macroScripts_uCommerce_HomepageCatalog_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\HomepageCatalog.cshtml:line 3
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
Object reference not set to an instance of an object.
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitConstantExpression(ConstantExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMemberExpression(MemberExpression expression)
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.VisitMemberExpression(MemberExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.ExpressionKeyVisitor.Visit(Expression expression, IDictionary`2 parameters)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitMemberExpression(MemberExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExtensionExpression(ExtensionExpression expression)
at Remotion.Linq.Clauses.Expressions.ExtensionExpression.Accept(ExpressionTreeVisitor visitor)
at Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.Accept(ExpressionTreeVisitor visitor)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.NhExpressionTreeVisitor.VisitExpression(Expression expression)
at NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression)
at Remotion.Linq.Clauses.WhereClause.TransformExpressions(Func`2 transformation)
at NHibernate.Linq.Visitors.WhereJoinDetector.Transform(WhereClause whereClause)
at NHibernate.Linq.ReWriters.AddJoinsReWriter.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index)
at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index)
at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel)
at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
at NHibernate.Linq.ReWriters.AddJoinsReWriter.ReWrite(QueryModel queryModel, ISessionFactory sessionFactory)
at NHibernate.Linq.Visitors.QueryModelVisitor.GenerateHqlQuery(QueryModel queryModel, VisitorParameters parameters, Boolean root)
at NHibernate.Linq.NhLinqExpression.Translate(ISessionFactoryImplementor sessionFactory)
at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryIdentifier, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan.CreateTranslators(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLExpressionQueryPlan..ctor(String expressionStr, IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters)
at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow)
at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression)
at NHibernate.Linq.DefaultQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery)
at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression)
at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
at UCommerce.Runtime.CatalogContext.get_CurrentCatalog()
at ASP._Page_macroScripts_uCommerce_HomepageCatalog_cshtml.Execute() in c:\projects\Umbraco\MacroScripts\uCommerce\HomepageCatalog.cshtml:line 3
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
Control Tree
Session State
Application State
Request Cookies Collection
Response Cookies Collection
Headers Collection
Response Headers Collection
Form Collection
Querystring Collection
Server Variables
Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1008
I Guess the issue is pointing towards the setup in uCommerce. According to this error, you haven't configured your store to run on the hostname below. Can you verify that? Take a look at your store configuration under commerce and see what hostname is configured.
Error Loading Razor Script (file: uCommerce LeftNavigation) No product catalog group supporting the url "http://mikesumbracosite.com:80/shop.aspx?UmbDebugShowTrace=True" found. at
Hope that helps.
Regards
Morten
Morten,
I verified that it was set I even went so far as to add the port number which appeared to work for a min but apparently was not because the issue still persists. The only way it works for me is if i leave it set to default. Beyond that I have another issue that is what started me looking at the Host name in the first place. Whenever I select one of the items from the HomePageCatalog or the left navigation i get a 404 error. I tried to trace it but get nothing.
Update--
I figured out what the issue was with the 404 errors. The original issue from this post still exists unless i leave the ucommerce setting to Default.
Care to elaborate on what you did to fix this :) ?
You should be able to right click a node in your content tree and set a hostname for that. Once you've done that, you can select that domain name on the store to use as your hostname.
Morten,
I did not fix it. As I stated in my last post that problem continues to exist. The problem that i fixed was the 404 errors i was getting when trying to select either the catalog or the products on the razorhomepage. The only way i can get the shop to NOT throw the error is to leave the Hostname setting at default.
is working on a reply...