Can't upload image in Nopcommerce

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
Can't upload image in Administration
Please help me fix this error
Error Details In Log:


'D:\inetpub\vhosts\reubengallery.com\httpdocs\images\thumbs\0000172.jpg' is denied

System.UnauthorizedAccessException: Access to the path 'D:\inetpub\vhosts\reubengallery.com\httpdocs\images\thumbs\0000172.jpg' is denied. 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) at System.IO.File.WriteAllBytes(String path, Byte[] bytes) at NopSolutions.NopCommerce.Common.Media.PictureManager.GetPictureUrl(Picture picture, Int32 TargetSize, Boolean showDefaultPicture) in C:\Users\Andy\Desktop\nopCommerceNew\nopCommerce_1.11\Libraries\Nop.Common\Media\PictureManager.cs:line 177 at NopSolutions.NopCommerce.Common.Media.PictureManager.GetPictureUrl(Picture picture, Int32 TargetSize) in C:\Users\Andy\Desktop\nopCommerceNew\nopCommerce_1.11\Libraries\Nop.Common\Media\PictureManager.cs:line 109 at NopSolutions.NopCommerce.Common.Media.PictureManager.GetPictureUrl(Picture picture) in C:\Users\Andy\Desktop\nopCommerceNew\nopCommerce_1.11\Libraries\Nop.Common\Media\PictureManager.cs:line 86 at NopSolutions.NopCommerce.Common.Media.PictureManager.GetPictureUrl(Int32 imageId) in C:\Users\Andy\Desktop\nopCommerceNew\nopCommerce_1.11\Libraries\Nop.Common\Media\PictureManager.cs:line 76 at NopSolutions.NopCommerce.Web.Administration.Modules.ProductPicturesControl.gvwImages_RowDataBound(Object sender, GridViewRowEventArgs e) in D:\Custommer\Site\13-6\nopCommerceNew\nopCommerce_1.11\NopCommerceStore\Administration\Modules\ProductPictures.ascx.cs:line 124 at System.Web.UI.WebControls.GridView.OnRowDataBound(GridViewRowEventArgs e) at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at System.Web.UI.WebControls.GridView.DataBind() at NopSolutions.NopCommerce.Web.Administration.Modules.ProductPicturesControl.BindData() in D:\Custommer\Site\13-6\nopCommerceNew\nopCommerce_1.11\NopCommerceStore\Administration\Modules\ProductPictures.ascx.cs:line 49 at NopSolutions.NopCommerce.Web.Administration.Modules.ProductPicturesControl.btnUploadProductPicture_Click(Object sender, EventArgs e) in D:\Custommer\Site\13-6\nopCommerceNew\nopCommerce_1.11\NopCommerceStore\Administration\Modules\ProductPictures.ascx.cs:line 87
14 years ago
Please give write permissions to D:\inetpub\vhosts\reubengallery.com\httpdocs\images\ directory
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.