Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Error : Swatch Image :

  1. #1
    jf.savard@identifications is offline Junior Member
    Join Date
    Feb 2010
    Location
    Chicoutimi,Quebec Canada
    Posts
    4

    Default Error : Swatch Image :

    after update botton on Large Multi-Image Manager ......3


    Server Error in '/' 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:


    Line 223: End Using
    Line 224: If AppLogic.AppConfigBool("MultiColorMakesSwatchAndMa p") AndAlso variantColors.Length > 0 AndAlso TheSize.ToUpperInvariant() <> "ICON" Then
    Line 225: AppLogic.MakeColorSwatch(ProductID, m_skinID, ThisCustomer.LocaleSetting, variantColors, FN)Line 226: End If
    Line 227:


    Source File: c:\inetpub\wwwroot\admin\EntityProductImageMgr.asp x.vb Line: 225

    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
    System.Drawing.Image.Save(String filename) +25
    AspDotNetStorefrontCore.AppLogic.MakeColorSwatch(I nt32 ProductID, Int32 SkinID, String CustomerLocale, String variantColors, String FN) +1093
    AspDotNetStorefrontAdmin.EntityProductImageMgr.Pag e_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\admin\EntityProductImageMgr.asp x.vb:225
    System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

  2. #2
    Mike The Last Boyscout is offline User
    Join Date
    Nov 2008
    Posts
    254

    Default

    This is a permissions issue. The .NET user account needs read/write/modify access on the whole /images folder

    You should also make sure that you have /images/product/micro and /images/product/swatch folders.