I don't know if this has been addressed before but my employer has installed nopcommerce on his server. When we try accessing the default page we get the standard 'something went wrong error'. I checked the error log and thsi is the error that is occurring:
Unknown Severity: 11 Message: Exception of type 'System.Web.HttpUnhandledException' was thrown. Exception: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) at NopSolutions.NopCommerce.BusinessLogic.Media.PictureManager.GetPictureUrl(Picture picture, Int32 TargetSize, Boolean showDefaultPicture) in F:\Own\NopCommerce\Solution\Solution\Libraries\Nop.BusinessLogic\Media\PictureManager.cs:line 307 at NopSolutions.NopCommerce.BusinessLogic.Media.PictureManager.GetPictureUrl(Int32 imageId, Int32 TargetSize, Boolean showDefaultPicture) in F:\Own\NopCommerce\Solution\Solution\Libraries\Nop.BusinessLogic\Media\PictureManager.cs:line 144 at NopSolutions.NopCommerce.Web.Modules.HomePageCategories.dlCategories_ItemDataBound(Object sender, DataListItemEventArgs e) in F:\Own\NopCommerce\Solution\Solution\NopCommerceStore\Modules\HomePageCategories.ascx.cs:line 67 at System.Web.UI.WebControls.DataList.OnItemDataBound(DataListItemEventArgs e) at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at NopSolutions.NopCommerce.Web.Modules.HomePageCategories.BindData() in F:\Own\NopCommerce\Solution\Solution\NopCommerceStore\Modules\HomePageCategories.ascx.cs:line 52 at NopSolutions.NopCommerce.Web.Modules.HomePageCategories.Page_Load(Object sender, EventArgs e) in F:\Own\NopCommerce\Solution\Solution\NopCommerceStore\Modules\HomePageCategories.ascx.cs:line 42 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- 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.default_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\nopcomm\06d83ed6\f46c02dc\App_Web_k_phpxip.8.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I am getting the same error, but oddly the path it is pointing to is the path on my local machine. ??? The error is on the published site at the host. Why is it looking on my local machine? And how do I change that? I published the site using Visual Studio 2008.