Error when saving categories

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
I just installed ver 1.3 on GoDaddy WITHOUT sample data.  I have enabled specific error reporting instead of the generic error message.

Whenever I try to add a category it trips the following error page.  My public store front page also trips an error as a result of the category problem.  HELP!:



Server Error in '/store' Application.
--------------------------------------------------------------------------------

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
   System.Drawing.Image.Save(String filename, ImageFormat format) +69
   NopSolutions.NopCommerce.Common.Media.PictureManager.GetPictureUrl(Picture picture, Int32 TargetSize, Boolean showDefaultPicture) in PictureManager.cs:283
   NopSolutions.NopCommerce.Common.Media.PictureManager.GetPictureUrl(Picture picture, Int32 TargetSize) in PictureManager.cs:120
   NopSolutions.NopCommerce.Web.Administration.Modules.CategoryInfoControl.BindData() in CategoryInfo.ascx.cs:53
   NopSolutions.NopCommerce.Web.Administration.Modules.CategoryInfoControl.Page_Load(Object sender, EventArgs e) in CategoryInfo.ascx.cs:88
   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.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3601
14 years ago
It's not the error. You should give write access to the /images/thumbs directory.
14 years ago
Your analysis is correct.  I've fixed the problem and all is well--Thank You!
13 years ago
Hello
I ran into the same problem when I tried to save my newly created category - on IIS7/ASP.NET 4

I have navigated to
C:\inetpub\wwwroot\AA\AAStore\Web\

And right click on folder "images" and "thumbs" (under images) to set permission, the popup dialog on this win2008 says:
"Read-only (only applies to files in folder)"

Seems Windows 2008 restrict my action to uncheck read-only to files (not folders) only.

As such I am still struggling with this problem.

I have already enabled "annonymous authentication" on my website - impersonated account = administrator account. But still no luck.

Any suggestion please?
13 years ago
I finally fixed this via configuring identity impersonation in web.config.

<identity impersonate="true" userName="contoso\Jane" password="pass"/>
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.