Error occured after installation scrins

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
After installation nopCommerce v. 1.90 foolowing massage was displayed. How I can fix this problem?

Server Error in '/tourhome' 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) +461268
   NopSolutions.NopCommerce.BusinessLogic.Media.PictureService.GetPictureUrl(Picture picture, Int32 targetSize, Boolean showDefaultPicture) +2652
   NopSolutions.NopCommerce.Web.Modules.HomePageProductsControl.dlCatalog_ItemDataBound(Object sender, DataListItemEventArgs e) +456
   System.Web.UI.WebControls.DataListItemEventHandler.Invoke(Object sender, DataListItemEventArgs e) +0
   System.Web.UI.WebControls.DataList.OnItemDataBound(DataListItemEventArgs e) +8692050
   System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +152
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +488
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +64
   System.Web.UI.WebControls.BaseDataList.DataBind() +55
   NopSolutions.NopCommerce.Web.Modules.HomePageProductsControl.BindData() +129
   NopSolutions.NopCommerce.Web.Modules.HomePageProductsControl.Page_Load(Object sender, EventArgs e) +35
   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) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
13 years ago
I'm not sure exactly what the problem is, but "A generic error occurred in GDI+" means that it is trying to either find or save an image that it cannot find. It has something to do with missing images.

What were you doing when this happened? Was this right after install? Did you just do a fresh install to an empty database? Are all the files uploaded to your web space?
13 years ago
Thanks for your answer!
Problem occured after new installation on my test web-site.
Now I fix problem.
By default, folder with nopCommerce files has only "Read" permissions. After I try set these permissions to "Read, Write", shop begin work properly.
13 years ago
Ah yes, there are several folders that require write permissions. NopCommerce installation should have let you know which ones.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.