logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to forums.ablecommerce.com. Please use your AbleCommerce username and password to Login. Forums Registration.

Notification

Icon
Error

Options
Go to last post Go to first unread
speedythinker1832579  
#1 Posted : Saturday, October 10, 2020 1:41:16 PM(UTC)
speedythinker1832579

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 5/20/2019(UTC)
Posts: 51

Thanks: 1 times
I have reported this issue but so far no solution. 200~300 erros repoting on daily. Received a little help in the beginning from ABLE but then no more after a few days later.

I looked at the errors report and found that something was strange: system showed different physical path, was it right? Could it be the issue of reference path and physical path?

The hosting company has fixed a few issue for my site before and they were pointing out that those issues were either database related (null being used) or coding issue. Of the current suituation, they said that they were no longer involved because they blamed on the coding issue and they have no obligation. V9. just so many bugs on it when upgraded from the Gold version. I never seems so much issue from the Gold version anyway.
I'm wondering how soon would a new patch released as I paid for the annual subscription and it may expired already.



Error type 1 ( C:\Home\Clients\lightobject\lightobject-com\Website\Code\BuyProductDialog):

An error has occured at https://www.lightobject....uct/BuyProductDialog/285 View less
Exception: Object reference not set to an instance of an object. Stack Trace: at AbleCommerce.Code.BuyProductDialog.GetChoiceSelectionsAttribute.LoadSelectedKitChoices(Product product, NameValueCollection form) in C:\Home\Clients\lightobject\lightobject-com\Website\Code\BuyProductDialog\GetChoiceSelectionsAttribute.cs:line 69 at AbleCommerce.Code.BuyProductDialog.GetChoiceSelectionsAttribute.OnActionExecuting(ActionExecutingContext filterContext) in C:\Home\Clients\lightobject\lightobject-com\Website\Code\BuyProductDialog\GetChoiceSelectionsAttribute.cs:line 35 at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at
....................


Error type 2 (G:\Home\WWW\lightobject\www.lightobject.com\wwwroot-9\9.0.2.6218\Views\Webpage):

An error has occured at https://www.lightobject.com/ View less
Exception: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. 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.HttpServerUtilityWrapper.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.RenderAction(HtmlHelper htmlHelper, String actionName, String controllerName, Object routeValues) at ASP._Page_Views_Webpage_Index_cshtml.Execute() in G:\Home\WWW\lightobject\www.lightobject.com\wwwroot-9\9.0.2.6218\Views\Webpage\Index.cshtml:line 7 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.StartPage.RunPage() at System.Web.WebPages.StartPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.


Error type 3 (G:\Home\WWW\lightobject\www.lightobject.com\wwwroot-9\9.0.2.621)

An error has occured at https://www.lightobject....4&OrderNumber=253434 View less
Exception: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. 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.HttpServerUtilityWrapper.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.RenderAction(HtmlHelper htmlHelper, String actionName, String controllerName, Object routeValues) at ASP._Page_Views_Webpage_Index_cshtml.Execute() in G:\Home\WWW\lightobject\www.lightobject.com\wwwroot-9\9.0.2.6218\Views\Webpage\Index.cshtml:line 7 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.StartPage.RunPage() at System.Web.WebPages.StartPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(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.

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. Forums Registration.

shari  
#2 Posted : Wednesday, October 14, 2020 5:49:30 AM(UTC)
shari

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 126

Was thanked: 20 time(s) in 20 post(s)
For Error Type#1

Similar issue has been discussed in this forum thread. You can find some help there.
https://www.ablecommerce...-BuyProductDialog-errors

For the remaining errors, I have reported the issue for investigation.

Thanks for your patience!
speedythinker1832579  
#3 Posted : Wednesday, October 14, 2020 12:03:21 PM(UTC)
speedythinker1832579

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 5/20/2019(UTC)
Posts: 51

Thanks: 1 times
Thx, I'll give it a try.
speedythinker1832579  
#4 Posted : Thursday, October 15, 2020 12:22:32 PM(UTC)
speedythinker1832579

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 5/20/2019(UTC)
Posts: 51

Thanks: 1 times
Tried it but it didn't fix the problem. Still getting all three types of errors. So far, 250x errors in one day!

:(
speedythinker1832579  
#5 Posted : Thursday, October 15, 2020 12:29:46 PM(UTC)
speedythinker1832579

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 5/20/2019(UTC)
Posts: 51

Thanks: 1 times
Originally Posted by: shari Go to Quoted Post
For Error Type#1

Similar issue has been discussed in this forum thread. You can find some help there.
https://www.ablecommerce...-BuyProductDialog-errors

For the remaining errors, I have reported the issue for investigation.

Thanks for your patience!



AbleErrorsLog.jpg (149kb) downloaded 4 time(s).
shari  
#6 Posted : Friday, October 16, 2020 5:06:10 AM(UTC)
shari

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 126

Was thanked: 20 time(s) in 20 post(s)
For Error Type 1:

We were assuming that the request was generated by a bot or some customization code taking the URL from the page source. So we fixed the Url but this didn't solve the issue. This means the request is generated from somewhere else.

For this, I would like to know if you have any customizations, if yes, what kind of customization?
Secondly, if you can see the IP from which the request is coming (Admin => Configure => Store => Page Tracking). If it is always the same IP requesting the invalid URL, a solution could be to block that IP.

Alternatively, I am sharing the code fix for which you will need to compile the code.

1- Open Website\Code\BuyProductDialog\GetChoiceSelectionsAttribute.cs
2- Search for

Code:

// LOAD OPTION SELECTIONS AND MAKE THEM AVAILABLE FOR BUYPRODUCTDIALOGE ACTION
filterContext.Controller.ViewData.Add("SelectedOptionChoices", LoadSelectedOptionChoices(form));



2- Replace with

Code:

if (product == null && CurrentRequestData.PageData == null)
{
    filterContext.Result = new HttpStatusCodeResult(400);
    return;
}
// LOAD OPTION SELECTIONS AND MAKE THEM AVAILABLE FOR BUYPRODUCTDIALOGE ACTION
filterContext.Controller.ViewData.Add("SelectedOptionChoices", LoadSelectedOptionChoices(form));


3- Search for

Code:
using CommerceBuilder.Utility;


4- Replace with

Code:
using CommerceBuilder.Utility;
using CommerceBuilder.Web.UI;


5- Compile the project
speedythinker1832579  
#7 Posted : Friday, October 16, 2020 12:23:31 PM(UTC)
speedythinker1832579

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 5/20/2019(UTC)
Posts: 51

Thanks: 1 times
I couldn't compile it here because there was a moudle missing from the libary. There was some customization but it was done by the hosting company who helped us to migrate the V9 from v. Gold. However, I didn't know what change did they make.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.