Hi All,
Anyone here have the similar issue of the product page cannot be display intermittently? Whenever the product page cannot be display saying there is a error loading the module, the DNN event log will always have the following entries. After this exceptions happen the only way to let the product page to display is to restart the IIS or server. If anyone know how to fix this please let me know. Thank you.
First Entry
===========
ModuleId:500
ModuleDefId:130
FriendlyName:Category
ModuleControlSource:DesktopModules/CartViper/CategoryMenu.ascx
AssemblyVersion:7.3.2
PortalID:0
PortalName:VieStyle Store
UserID:-1
UserName:
ActiveTabID:123
ActiveTabName:Products
RawURL:/store/Products
AbsoluteURL:/store/Default.aspx
AbsoluteURLReferrer:
UserAgent:Mozilla/5.0 (linux; u; android 4.1.1; ja-jp; sgpt12 build/tjs0166) applewebkit/534.30 (khtml, like gecko) version/4.0 safari/534.30 yjapp-android jp.co.yahoo.android.yjtop/2.1.8
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:134e7aa4-1b7f-4031-82e3-41bd0535860d
InnerException:An item with the same key has already been added.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:System.Collections.Generic.Dictionary`2.Insert
StackTrace:
Message:
DotNetNuke.Services.Exceptions.ModuleLoadException: An item with the same key has already been added. ---> System.ArgumentException: An item with the same key has already been added. at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at CartViper.Modules.Store.Catalog.ProductInfo..ctor() --- End of inner exception stack trace ---
Source:
Second Entry
===========
ModuleId:500
ModuleDefId:130
FriendlyName:Category
ModuleControlSource:DesktopModules/CartViper/CategoryMenu.ascx
AssemblyVersion:7.3.2
PortalID:0
PortalName:VieStyle Store
UserID:-1
UserName:
ActiveTabID:123
ActiveTabName:Products
RawURL:/store/Products
AbsoluteURL:/store/Default.aspx
AbsoluteURLReferrer:
UserAgent:Mozilla/5.0 (linux; u; android 4.1.1; ja-jp; sgpt12 build/tjs0166) applewebkit/534.30 (khtml, like gecko) version/4.0 safari/534.30 yjapp-android jp.co.yahoo.android.yjtop/2.1.8
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:169cc330-3842-4b43-86ee-cce109a4c374
InnerException:Object reference not set to an instance of an object.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:CartViper.Modules.Store.Catalog.ProductInfo.set_UnitCost
StackTrace:
Message:
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at CartViper.Modules.Store.Catalog.ProductInfo.set_UnitCost(Decimal value) at CartViper.Modules.Store.Catalog.ProductInfo.Fill(IDataReader dr) at DotNetNuke.Common.Utilities.CBO.FillObjectFromReader(Object objObject, IDataReader dr) at DotNetNuke.Common.Utilities.CBO.CreateObjectFromReader(Type objType, IDataReader dr, Boolean closeReader) at DotNetNuke.Common.Utilities.CBO.FillListFromReader[TItem](IDataReader dr, IList`1 objList, Boolean closeReader) at CartViper.Modules.Store.WebControls.CategoryMenu.CountProductsInCategory(List`1& productsCounted, Int32 categoryId, StoreInfo storeSettings) at CartViper.Modules.Store.WebControls.CategoryMenu.CalculateProductCount(StoreInfo storeSettings, CategoryInfo currentCategory, IEnumerable`1 categories) at CartViper.Modules.Store.WebControls.CategoryMenu.rpNavigationMenu_ItemDataBound(Object sender, RepeaterItemEventArgs e) at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at CartViper.Modules.Store.WebControls.CategoryMenu.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source: