Customers unable to login following upgrade from 2.5 to 2.6

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Only on adminstrator account can log in following up grade to 2.6

All returning customers receive this error when they attempt to login


We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time


Restarting the application, restarting the site via IIS7, clearing cookies on the user PC have not helped.

Any Ideas would be appreciated.

Gary Rohwer
Bar Diamond
11 years ago
To find out what went wrong you need to turn off the custom errors mode.
1. Open web.config file
2. Find out the following line <customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly">
3. Replace it with <customErrors defaultRedirect="errorpage.htm" mode="Off">
11 years ago
This appears to be the error.

Line 5:      <div class="header-links-wrapper">
Line 6:          @Html.Action("HeaderLinks", "Common")
Line 7:          @Html.Action("FlyoutShoppingCart", "ShoppingCart")
Line 8:      </div>
Line 9:      <div class="header-selectors-wrapper">

Do you have any suggestions?
11 years ago
Post the full error text
11 years ago
This is the error stream

Server Error in '/' Application.
--------------------------------------------------------------------------------

A generic error occurred in GDI+.
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.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

Source Error:


Line 5:      <div class="header-links-wrapper">
Line 6:          @Html.Action("HeaderLinks", "Common")
Line 7:          @Html.Action("FlyoutShoppingCart", "ShoppingCart")
Line 8:      </div>
Line 9:      <div class="header-selectors-wrapper">


Source File: c:\inetpub\wwwroot\shop.bardiamond.com\Views\Shared\Header.cshtml    Line: 7

Stack Trace:


[ExternalException (0x80004005): A generic error occurred in GDI+.]
   System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +752921
   Nop.Services.Media.PictureService.GetPictureUrl(Picture picture, Int32 targetSize, Boolean showDefaultPicture) +1727
   Nop.Web.Controllers.<>c__DisplayClass2.<PrepareCartItemPictureModel>b__1() +222
   Nop.Core.Caching.CacheExtensions.Get(ICacheManager cacheManager, String key, Int32 cacheTime, Func`1 acquire) +135
   Nop.Web.Controllers.ShoppingCartController.PrepareCartItemPictureModel(ProductVariant productVariant, Int32 pictureSize, Boolean showDefaultPicture, String productName) +500
   Nop.Web.Controllers.ShoppingCartController.PrepareMiniShoppingCartModel() +3030
   Nop.Web.Controllers.ShoppingCartController.FlyoutShoppingCart() +108
   lambda_method(Closure , ControllerBase , Object[] ) +79
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +264
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +129
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +314
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +825488
   System.Web.Mvc.Controller.ExecuteCore() +159
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +54
   System.Web.Mvc.<>c__DisplayClass4.<Wrap>b__3() +15
   System.Web.Mvc.ServerExecuteHttpHandlerWrapper.Wrap(Func`1 func) +41
   System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +1443

[HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.]
   System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +2515
   System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) +242
   System.Web.HttpServerUtilityWrapper.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) +94
   System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) +834
   System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) +123
   ASP._Page_Views_Shared_Header_cshtml.Execute() in c:\inetpub\wwwroot\shop.bardiamond.com\Views\Shared\Header.cshtml:7
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +173
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +158
   ASP._Page_Views_Shared__Root_cshtml.Execute() in c:\inetpub\wwwroot\shop.bardiamond.com\Views\Shared\_Root.cshtml:15
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +173
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +209
   System.Web.WebPages.WebPageBase.PopContext() +222
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +209
   System.Web.WebPages.WebPageBase.PopContext() +222
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +384
   System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +33
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +825460
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +825460
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +825460
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +825460
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +825460
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +265
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +825488
   System.Web.Mvc.Controller.ExecuteCore() +159
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +54
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Thanks for the help
11 years ago
It appears when ever a user attempts to add an item to the shopping cart the system throws an error.  Following this that user is unable to login .

Bar Diamond
11 years ago
Pat wrote:
A generic error occurred in GDI+

https://www.nopcommerce.com/boards/t/14218/system-log-weird-errors.aspx
11 years ago
Thanks for pointing me in the right direction.

For others with this issue.

Following upgrade from nopCommerce 2.50 to 2.60

For users of Windows Server 2008R2 and IIS7.5

Using the security tab for each one of these files or directories
modify IIS/user to have modify access.

The following are the files from the nopCommerice admin panel under warnings.

nopCommerce 2,60  August 1 2012


'C:\inetpub\wwwroot\shop.bardiamond.com\App_Data'.
  
'C:\inetpub\wwwroot\shop.bardiamond.com\bin'.  

'C:\inetpub\wwwroot\shop.bardiamond.com\content'.
  
'C:\inetpub\wwwroot\shop.bardiamond.com\content\images'.

'C:\inetpub\wwwroot\shop.bardiamond.com\content\images\thumbs'.

'C:\inetpub\wwwroot\shop.bardiamond.com\content\images\uploaded'.

'C:\inetpub\wwwroot\shop.bardiamond.com\content\files\exportimport'.

'C:\inetpub\wwwroot\shop.bardiamond.com\plugins'.

'C:\inetpub\wwwroot\shop.bardiamond.com\plugins\bin'.

'C:\inetpub\wwwroot\shop.bardiamond.com\Global.asax'.

'C:\inetpub\wwwroot\shop.bardiamond.com\web.config'.

'C:\inetpub\wwwroot\shop.bardiamond.com\App_Data\InstalledPlugins.txt'.

'C:\inetpub\wwwroot\shop.bardiamond.com\App_Data\Settings.txt'.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.