Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Ecom page not working

Ecom page not working

Hans Kloppenborg
Reply

At the moment we cannot visit the Ecom node in the DW 9.3.1 backend, it seems a widget on the dashboard uses a non existing function in the api:

Dynamicweb.Ecommerce.Shops.Shop.ProductCountByShopsForBackendTree().

[MissingMethodException: Methode not found: System.Collections.Generic.Dictionary`2<System.String,Int32> Dynamicweb.Ecommerce.Shops.Shop.ProductCountByShopsForBackendTree().] Dynamicweb.Admin.eComBackend.MainMaster.GetShopNodes(eComTreeNode parentNode, Boolean catalogNodes) +0 Dynamicweb.Admin.eComBackend.MainMaster.GetNodes(eComTreeNode parent, eComTreeNodeType t) +191 Dynamicweb.Admin.eComBackend.MainMaster.PopulateTree() +448 System.Web.UI.Control.OnLoad(EventArgs e) +103 System.Web.UI.Control.LoadRecursive() +68 System.Web.UI.Control.LoadRecursive() +162 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3811

Is there a way to disable the dashboard widgets? Or a fix for this issue?

Greets Hans

 

 


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Hans,

Could this be a a .NET Framework version mismatch. Which version do you have installed? I believe 9.3 requires 4.6 and later.

Imar

 
Hans Kloppenborg
Reply

Hi Imar,

No I dont think that is the issue, we are running on Azure and that has the latest framework ASP.NET Version:4.7.2053.0 active.

It looks more like a widget on the new dashboard uses a DW API function that does not exist.

Greets Hans

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
This post has been marked as an answer

Oh, I see. I was thrown off a bit by the "MissingMethodException: Methode not found: System.Collections.Generic.Dictionary" which seemed to indficate that a method on the Dictionary wasn't found.

Did all your assemblies get updated correctly? I can see ProductCountByShopsForBackendTree being defined in the Shop class inside Dynamicweb.Ecommerce.dll. Which file version does that file have on your machine? Mine is 1.3.1.0 and it's working with that version.

Imar

Votes for this answer: 1
 
Hans Kloppenborg
Reply

Hi Imar,

Checked the Ecommerce.dll file in the bin folder, and strangely it was version 1.2.4 or something, even with the ecomerce package 1.3.1.0 installed via Nuget. This didnt change on a rebuild.

Solved it by downgrading the nuget Dynamicweb.Ecommerce package to 1.3.0.0 (and automaticly the Dynamicweb.Admin to 9.3.0). After the downgrade the issue was solved.

Next I upgraded again to 1.3.1.0 and it kept working, and I have the 1.3.1.0 dll now also.

I have no clue what went wrong with the upgrade from DW 9.2.4 to 9.3.1 but it was a lot, but it seems to work now.

Thanks for the help,

Hans

 

You must be logged in to post in the forum