Hi, I'm getting the following error message when trying to upload images for a new product, thanks!
Server Error in '/shop' 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:
Line 1763: Image1 = AppLogic.GetImagePath("Product", "icon", true) + FN + ".jpg";
Line 1764: Image1File.SaveAs(TempImage1);
Line 1765: AppLogic.ResizeEntityOrObject("Product", TempImage1, Image1, "icon", "image/jpeg");
Line 1766: AppLogic.DisposeOfTempImage(TempImage1);
Line 1767:
Source File: d:\webspace\millsysadmin\dhaydt\visual-lighting.com\www\shop\Admin\entityEditProducts.asp x.cs Line: 1765
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.SavePhoto(Int32 resizedWidth, Int32 resizedHeight, Int32 destHeight, Int32 destWidth, Int32 destX, Int32 destY, Int32 sourceHeight, Int32 sourceWidth, Int32 sourceX, Int32 sourceY, Image origPhoto, String img_fName, String fillColor, Int32 resizedQuality, String img_ContentType) +453
AspDotNetStorefrontCore.AppLogic.ResizePhoto(Hasht able configValues, Image origPhoto, String img_fName, String tmpImg_fName, String img_SizeType, String img_ContentType) +1853
AspDotNetStorefrontCore.AppLogic.ResizeEntityOrObj ect(String EntityOrObjectName, String tmpImg_fName, String img_fName, String img_SizeType, String img_ContentType) +409
entityEditProducts.HandleImageSubmits() in d:\webspace\millsysadmin\dhaydt\visual-lighting.com\www\shop\Admin\entityEditProducts.asp x.cs:1765
entityEditProducts.UpdateProduct() in d:\webspace\millsysadmin\dhaydt\visual-lighting.com\www\shop\Admin\entityEditProducts.asp x.cs:1697
entityEditProducts.btnSubmit_Click(Object sender, EventArgs e) in d:\webspace\millsysadmin\dhaydt\visual-lighting.com\www\shop\Admin\entityEditProducts.asp x.cs:1109
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +112
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) +5563