Bug: "A generic error occurred in GDI+" at New Products

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 15 ans
Immediately after installation I've got the error on New Products:

A generic error occurred in GDI+.

Line 62:                     ProductPictureCollection productPictures = product.ProductPictures;
Line 63:                     if (productPictures.Count > 0)
Line 64:                         hlImageLink.ImageUrl = PictureManager.GetPictureUrl(productPictures[0].Picture, 125, 125, true);
Line 65:                     else
Line 66:                         hlImageLink.ImageUrl = PictureManager.NoImageURL;

[ExternalException (0x80004005): A generic error occurred in GDI+.]
   System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +377518
   System.Drawing.Image.Save(String filename, ImageFormat format) +69
   NopSolutions.NopCommerce.Common.BLL.Managers.PictureManager.GetPictureUrl(Picture picture, Int32 Width, Int32 Height, Boolean showDefaultPicture) in D:\Work\Own\NopCommerce\Solution\NopCommerce\Nop.Common\BLL\Managers\PictureManager.cs:168
   NopSolutions.NopCommerce.Web.Modules.Products.ProductBoxControl.BindData() in c:\Documents and Settings\sergeyb\my documents\visual studio 2008\projects\nopcommerce\nopcommerceweb\Modules\Products\ProductBox.ascx.cs:64
   NopSolutions.NopCommerce.Web.Modules.Products.ProductBoxControl.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\sergeyb\my documents\visual studio 2008\projects\nopcommerce\nopcommerceweb\Modules\Products\ProductBox.ascx.cs:44
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Il y a 15 ans
http://forums.nopcommerce.com/forums/default.aspx?g=posts&t=68
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.