alex@quick.social
2020-03-03T18:34:09Z
New fresh install of DNN 9.3.2, added categories & products on the front-end when viewing the category viewer i'm getting these errors:

Error: Category Viewer is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. ---> System.Web.HttpException: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. ---> System.InvalidOperationException: A single instance of controller 'Hotcakes.Modules.Core.Controllers.ContentColumnController' cannot be used to handle multiple requests. If a custom controller factory is in use, make sure that it creates a new instance of the controller for each request. at System.Web.Mvc.ControllerBase.VerifyExecuteCalledOnce() at System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__4(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func) at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) at System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) at ASP._Page_Portals__default_HotcakesViews__default_Views_Category_Index_cshtml.Execute() in e:\inetpub\websites\greenfacilitysolution.com\Portals\_default\HotcakesViews\_default\Views\Category\Index.cshtml:line 40 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass4.<Wrap>b__3() at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func) at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) --- End of inner exception stack trace --- at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) at System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) at Hotcakes.Commerce.Dnn.Mvc.MvcRenderingEngine.Render(String controllerName, String actionName, String viewName, Object routeValues) at Hotcakes.Modules.CategoryViewer.CategoryViewerView.RenderView() at Hotcakes.Commerce.Dnn.Web.HotcakesModuleBase.OnLoad(EventArgs e) --- End of inner exception stack trace ---
MooreCreative
2020-03-11T22:02:14Z
Just to connect the two forum topics together, the System.Web.MVC and version issues is described here in regards to upgrade of DNN and newer Hotcakes 3x version issues:
https://mmmcommerce.com/...-into-upgraded-DNN-8-0-4 
alex@quick.social
2020-03-11T22:19:15Z
The link goes to 404, i remember Will mentioning something about the upgrade from 8 to 9 breaking something but in this case i re-created the entire site on a fresh copy of 9.3.2.
alex@quick.social
2020-03-18T16:42:32Z
Has there been any update on this?
Will Strohl
2020-03-18T18:53:16Z
Hey Everyone:

I've been in catch-up mode since before DNN Summit. (I had to prepare, be at, train at, help, and then recover from it.) Then I had to prepare for a week of client on-site DNN training (along with the stuff that goes with that).

I'm finally back to my desk and things are back to normal (kind of, but we all know what that means today). ๐Ÿ™‚

Anyhow, this is either an MVC compatibility issue as Ryan mentioned, or you may have invalid code in your custom view at the line below.

e:\inetpub\websites\greenfacilitysolution.com\Portals\_default\HotcakesViews\_default\Views\Category\Index.cshtml:line 40
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
alex@quick.social
2020-03-19T14:01:17Z
I know i ran into this before when using DNN 7.4.2 upgraded to 9.3.2.

I re-created the site on a fresh copy of DNN 9.3.2 with the latest version of hotcakes and now i'm running into the same issue than before. I'm not using any custom code in the view's it's a straight out of the box install.
Will Strohl
2020-03-20T16:52:58Z
I just did a clean install of DNN 9.3.2 and Hotcakes Commerce 3.2.3. I wasn't able to recreate this error when viewing the page with the Category Viewer Index.cshtml.

Is there a detail that I'm missing?
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
alex@quick.social
2020-03-26T13:38:49Z
Hi Will,

The only thing i can think of is i'm using a custom skin, but I've switched the skin on just the page I've deployed to xcilion and i'm still getting the error. I don't understand because prior to doing this i installed on a fresh copy and didn't have any problems. I do have ActionForm installed and i know I've ran into it affecting other modules in the past but it's difficult to diagnose as i don't see any errors in the console just on the deployment of the category viewer module.

http://newgfs.qswebdev.u...kesStore/Category-Viewer 
Will Strohl (install acct)
2020-03-27T01:01:59Z
What code do you see before, at, and after the following line reported in your original post?

e:\inetpub\websites\greenfacilitysolution.com\Portals\_default\HotcakesViews\_default\Views\Category\Index.cshtml:line 40
alex@quick.social
2020-03-27T14:42:26Z
@model Hotcakes.Modules.Core.Models.CategoryPageViewModel
@Html.Action("CategoryTrail", "BreadCrumb", new { cat = Model.LocalCategory })
<div class="hc-category">
@if (Model.LocalCategory.ShowTitle)
{
<h1>@Model.LocalCategory.Name</h1>
}
@Html.Action("Index", "ContentColumn", new { id = Model.LocalCategory.PreContentColumnId })
@Html.Partial("_Header", Model)
@if (Model.SubCategories.Count > 0)
{
<div class="hc-record-grid hc-subcategory-grid clearfix">
@foreach (var subcat in Model.SubCategories)
{
<div class="hc-wrap3">
<div class="hc-record">
<div class="hc-recimage">
<a href="@subcat.LinkUrl">
<img class="hc-autosize" src="@subcat.IconUrl" alt="@subcat.AltText" />
</a>
</div>
<div class="hc-recname">
<a href="@subcat.LinkUrl">@subcat.Name</a>
</div>
</div>
</div>
}
</div>
}
@Html.Partial("_Pager", Model.PagerData, new ViewDataDictionary { { "sortByList", Model.SortSelectList } })
<div class="hc-record-grid hc-product-grid clearfix">
@foreach (var item in Model.Products)
{
<div class="hc-wrap3">
@Html.Partial("_RenderSingleProduct", item)
</div>
}
</div>
@Html.Partial("_Pager", Model.PagerData)
@Html.Action("Index", "ContentColumn", new { id = Model.LocalCategory.PostContentColumnId })
</div>

Wesley Chang
2020-06-12T21:00:22Z
Hello, sorry to reply a 3 month old thread, but this is exactly the same error I'm running into. Did you figure out what was the issue?

Will Strohl
2020-06-12T21:05:44Z
This doesn't occur in a clean installation, so there must be something unique in the environment, including the viewer, theme, configuration, etc. The nature of this specific kind of error begins with troubleshooting the view. The original post cites the issue being at Line 40.

https://hotcakescommerce...iew-doesn-t-work-anymore 
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Wesley Chang
2020-06-15T22:29:24Z
Hi Will,

You are correct. After a day and half of trial and errors, we narrowed down the problem relating to another vendor DNN module (DNNSharp/ActionForm). As soon as we removed the DLLs associated with that module from the BIN folder, the Category Viewer page works.

I'm going to reach out to their support, but if this is something that you've seen before, please do let me know too.

Thanks!
Wes
Will Strohl
2020-06-18T16:44:30Z
We don't use and we don't test against any of the DNN Sharp modules, so I'm not sure that we can help with that.

In the past, I've seen some of their modules change how DNN works and included numerous client-side libraries that aren't actually used on the front-end of the website, so their support is definitely the best next step for this. Sorry. ๐Ÿ™‚
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Loading
  • Sign-up for the Hotcakes Community Newsletter: