Developer forum

Forum » Ecommerce - Standard features » .Net error when saving product

.Net error when saving product

Ton Martens
Reply

Hi,

Customer sees himself confronted with a .Net error message when saving a product. I'm in the process of getting al the information needed to reproduce this, but in the mean time, maybe the message makes sense to someone on this forum. Version 8.4.1.23.

Thanks,

Ton

The description for Event ID 1309 from source ASP.NET 4.0.30319.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

3005
An unhandled exception has occurred.
29-2-2016 16:18:45
29-2-2016 15:18:45
f2adc1cd85164848893af5822c996efb
24138
4
0
/LM/W3SVC/5/ROOT-1-131011442521789780
Full
/
D:\virtual_hosts\domainname.nl\application\
WINDOWS1
5608
w3wp.exe
IIS APPPOOL\domainname.nl
KeyNotFoundException
The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Dynamicweb.eCommerce.Products.Product.ExtendSaveProductCatedories(Boolean skipExtendedSave)
   at Dynamicweb.eCommerce.Products.Product.SaveAndConfirm(String ProductID, String ProductVariantID, String ProductLanguageID, Boolean skipExtendedSave)
   at Dynamicweb.eCommerce.Products.Product.SaveAndConfirm(String ProductID, String ProductVariantID, String ProductLanguageID)
   at Dynamicweb.Admin.eComBackend.ProductEdit.SaveProduct(Product prod, String prodId, String groupId, String variantId, Boolean VariantProduct, Boolean WizardProduct, String redirUrl, Boolean closeAfterSave)
   at Dynamicweb.Admin.eComBackend.ProductEdit.SaveAndCloseProduct_Click(Object sender, EventArgs e)
   at Dynamicweb.Controls.RibbonBarButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


http://www.domainname.nl/Admin/Module/eCom_Catalog/dw7/edit/EcomProduct_Edit.aspx?ID=PROD1419&GroupID=GROUP167
/Admin/Module/eCom_Catalog/dw7/edit/EcomProduct_Edit.aspx
84.106.3.248
False
IIS APPPOOL\domainname.nl
53
IIS APPPOOL\domainname.nl
False
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Dynamicweb.eCommerce.Products.Product.ExtendSaveProductCatedories(Boolean skipExtendedSave)
   at Dynamicweb.eCommerce.Products.Product.SaveAndConfirm(String ProductID, String ProductVariantID, String ProductLanguageID, Boolean skipExtendedSave)
   at Dynamicweb.eCommerce.Products.Product.SaveAndConfirm(String ProductID, String ProductVariantID, String ProductLanguageID)
   at Dynamicweb.Admin.eComBackend.ProductEdit.SaveProduct(Product prod, String prodId, String groupId, String variantId, Boolean VariantProduct, Boolean WizardProduct, String redirUrl, Boolean closeAfterSave)
   at Dynamicweb.Admin.eComBackend.ProductEdit.SaveAndCloseProduct_Click(Object sender, EventArgs e)
   at Dynamicweb.Controls.RibbonBarButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


the message resource is present but the message is not found in the string/message table


Replies

 
Nicolai Høeg Pedersen
Reply

Is the solution itnegrated?

It seems like there is a mismatch between the data and the category schema. Also it is a quite old solution and a number of changes and fixes has been made on this part of the product save. So you could consider upgrading.

BR Nicolai

 
Ton Martens
Reply

Hi Nicolai,

I'm sorry, but I don't know what that means. My colleague recylced the pool for another issue, so this might solve this problem too. The problem occured a few weeks ago for the first time.

Upgrading is always a difficult thing, because it involves a lot of time.

Thanks,

Ton

 

You must be logged in to post in the forum