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 uploading images while creating product

  1. #1
    t_michals is offline Junior Member
    Join Date
    Mar 2011
    Posts
    4

    Default Error uploading images while creating product

    Getting the following error when uploading images for a product:

    Page URL:/formsadmin/entityEditProducts.aspx
    Source:mscorlib
    Message:Could not find a part of the path 'E:\web\hostname\htdocs\images\Product\swatch\tmp_test.gif'.
    Stack Trace:
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode)
    at System.Web.HttpPostedFile.SaveAs(String filename)
    at AspDotNetStorefrontAdmin.entityEditProducts.Handle ImageSubmits() in e:\web\hostname\htdocs\FormsAdmin\entityEditProducts.aspx.cs:line 1911
    at AspDotNetStorefrontAdmin.entityEditProducts.Update Product() in e:\web\hostname\htdocs\FormsAdmin\entityEditProducts.aspx.cs:line 1706
    at AspDotNetStorefrontAdmin.entityEditProducts.btnClo se_Click(Object sender, EventArgs e) in e:\web\hostname\htdocs\FormsAdmin\entityEditProducts.aspx.cs:line 1093
    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
    at System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument)
    at System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument)
    at System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


    What is causing error?

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    You're most likely missing the /swatch folder. That didn't exist in older versions, so if you upgraded you won't have that. Just create a swatch folder within the /images/product folder and you should be all set.