BEgallery image upload problems

Topics: ASP.NET 2.0
Jul 8, 2010 at 10:41 PM

Have a sneaky suspicion this is related to the whole 'medium trust' issue in iis7

Had similar issue when uploading image to a blog but managed to work around it by manually creating the folder structure.

Does anyone know of the folder structure for BEgallery as I can't find any documentation.

Error Details:

Url : http://cattymccabephotography.co.uk/admin/BEgallery_admin/default.aspx?gallery=Test
Raw Url : /admin/BEgallery_admin/default.aspx?gallery=Test
Message : Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source : System.Web
StackTrace : at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.admin_begallery_admin_default_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
TargetSite : Boolean HandleError(System.Exception)
Message : \\web-123win\winpackage21\cattymccabephotography.co.uk\www.cattymccabephotography.co.uk\web\content\BEgallery\gallery_files\temp.5.jpg
Source : System.Drawing
StackTrace : at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at admin_BEgallery_admin_Default.resize(String file, String prefix, String imagewidth)
at admin_BEgallery_admin_Default.btnAddPhoto_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
TargetSite : System.Drawing.Image FromFile(System.String, Boolean)