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 4 of 4

Thread: Can't edit existing product images

  1. #1
    dfree99 is offline Member
    Join Date
    Nov 2007
    Posts
    48

    Default Can't edit existing product images

    We are using ML 8.0.1.2 and all of a sudden we can't edit our product images. If we try to change or delete an image we get the following error message. We have corrected the "rights" issue but the problem persists.

    Server Error in '/' Application.
    You do not have proper permissions set. You must ensure that the ASPNET and NETWORK SERVICE users have write/modify permissions on the images directory and it's sub-directories.
    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.Exception: You do not have proper permissions set. You must ensure that the ASPNET and NETWORK SERVICE users have write/modify permissions on the images directory and it's sub-directories.

    Source Error:

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

    <%@ Page Language="C#" Debug="true" %>

    or:

    2) Add the following section to the configuration file of your application:

    <configuration>
    <system.web>
    <compilation debug="true"/>
    </system.web>
    </configuration>

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

    Stack Trace:

    [Exception: You do not have proper permissions set. You must ensure that the ASPNET and NETWORK SERVICE users have write/modify permissions on the images directory and it's sub-directories.]
    AspDotNetStorefrontCore.AppLogic.TYC2KN7hI(Int32 , Int32 , Int32 , Int32 , Int32 , Int32 , Int32 , Int32 , Int32 , Int32 , Image , String , String , Int32 , String ) +461
    AspDotNetStorefrontCore.AppLogic.ResizePhoto(Hasht able configValues, Image origPhoto, String img_fName, String tmpImg_fName, String img_SizeType, String img_ContentType) +2067
    AspDotNetStorefrontCore.AppLogic.ResizeEntityOrObj ect(String EntityOrObjectName, String tmpImg_fName, String img_fName, String img_SizeType, String img_ContentType) +499
    entityEditProducts.HandleImageSubmits() +897
    entityEditProducts.UpdateProduct() +18539
    entityEditProducts.btnSubmit_Click(Object sender, EventArgs e) +5
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
    System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +110
    System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +10
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13
    System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +36
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

  2. #2
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    try touching the web.config file to see if that resolves the issue

  3. #3
    dfree99 is offline Member
    Join Date
    Nov 2007
    Posts
    48

    Default

    We tried, but still no luck.

    Any other suggestions? We change out our inventory frequently, so not being able to edit products is a big problem for us.

    Any other suggestions would be greatly appreciated.

  4. #4
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    Ok changing the permissions to allow full access for Network Service on the images folder should do it. Double check permissions on the licence file as well and failing that try restarting the site with IIS.

    From memory when I was using V7 I had to restart this in order for the changes to work.