Error on nop 1.6

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 лет назад
Hi Support,

Please give me solution to resolve this error, please see below, I'm using nop 1.6


A generic error occurred in GDI+.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[ExternalException (0x80004005): A generic error occurred in GDI+.]
   System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +377630
   NopSolutions.NopCommerce.BusinessLogic.Media.PictureManager.GetPictureUrl(Picture picture, Int32 targetSize, Boolean showDefaultPicture) in F:\Temp\Test\nopCommerce 1.60\Libraries\Nop.BusinessLogic\Media\PictureManager.cs:396
   NopSolutions.NopCommerce.BusinessLogic.Media.PictureManager.GetPictureUrl(Picture picture, Int32 targetSize) in F:\Temp\Test\nopCommerce 1.60\Libraries\Nop.BusinessLogic\Media\PictureManager.cs:180
   NopSolutions.NopCommerce.BusinessLogic.Media.PictureManager.GetPictureUrl(Int32 imageId, Int32 targetSize) in F:\Temp\Test\nopCommerce 1.60\Libraries\Nop.BusinessLogic\Media\PictureManager.cs:169
   NopSolutions.NopCommerce.Web.Modules.ProductInfoControl.BindData() in F:\Temp\Test\nopCommerce 1.60\NopCommerceStore\Modules\ProductInfo.ascx.cs:63
   NopSolutions.NopCommerce.Web.Modules.ProductInfoControl.Page_Load(Object sender, EventArgs e) in F:\Temp\Test\nopCommerce 1.60\NopCommerceStore\Modules\ProductInfo.ascx.cs:40
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35


[i][/i]

Many thanks
13 лет назад
Make sure that the folder ~/images/thumbs/ has read/write privileges.
13 лет назад
I don't know why, in that directory (~/images/thumbs) there is some picture link work well whille others happened that error.

Many thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.