Close

3005: An unhandled exception has occurred.

tmilligan
6 years ago
#14257 Quote
Avatar
  • 3
Hello,

We have had the follow error message pop up a few times on our site and it always ends up resolving itself after 30-60 minutes:

We're sorry, an internal error occurred. 
Our supporting staff has been notified of this error and will address the issue shortly.

We apologize for the inconvenience.

Please try clicking your browsers 'back' button or try reloading the home page.

If you continue to receive this message, please try again in a little while.

Thank you for your patience.


I reached out to the web host and they found the following in the logs:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/30/2018 5:17:40 AM

[code]
Exception information:
    Exception type: HttpException
    Exception message: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.
   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
   at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage)
   at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm)
   at System.Web.HttpServerUtilityWrapper.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm)
   at System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter)
   at System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues)
   at ASP._Page_Views_Widget_WidgetsByZone_cshtml.Execute() in h:\root\home\premi81110-001\www\site1\Views\Widget\WidgetsByZone.cshtml:line 5
   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.Invo
SDobrev
6 years ago
#14258 Quote
Avatar
  • Moderator
  • 283
Hi,

Check the System Log in the admin panel. There should be an error logged.
Best Regards,
Stoyan Dobrev
Nop-Templates.com
tmilligan
6 years ago
#14263 Quote
Avatar
  • 3
I did not find any events in the log near the time of the incident.
SDobrev
6 years ago
#14268 Quote
Avatar
  • Moderator
  • 283
Hi,

When the error page is shown there is always logged an error in the nopCommerce system log.

Monitor the log and if you find any error please send it to us. Now we do not have enough information to help you resolve the problem.
Best Regards,
Stoyan Dobrev
Nop-Templates.com
tmilligan
6 years ago
#14273 Quote
Avatar
  • 3
Here is the error from Nop:

Log level  
Error
Short message  
Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.
Full message  
System.Web.HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. ---> System.Web.HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at AutoMapper.Configuration.Conventions.SourceToDestinationNameMapperAttributesMember.GetMatchingMemberInfo(IGetTypeInfoMembers getTypeInfoMembers, TypeDetails typeInfo, Type destType, Type destMemberType, String nameToSearch) at AutoMapper.Configuration.Conventions.ParentSourceToDestinationNameMapper.GetMatchingMemberInfo(TypeDetails typeInfo, Type destType, Type destMemberType, String nameToSearch) at AutoMapper.Configuration.Conventions.DefaultMember.MapDestinationPropertyToSource(ProfileMap options, TypeDetails sourceType, Type destType, Type destMemberType, String nameToSearch, LinkedList`1 resolvers, IMemberConfiguration parent) at AutoMapper.Configuration.Conventions.MemberConfiguration.MapDestinationPropertyToSource(ProfileMap options, TypeDetails sourceType, Type destType, Type destMemberType, String nameToSearch, LinkedList`1 resolvers) at AutoMapper.TypeMapFactory.<>c__DisplayClass1_0.<MapDestinationPropertyToSource>b__0(IMemberConfiguration _) at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate) at AutoMapper.TypeMapFactory.MapDestinationPropertyToSource(ProfileMap options, TypeDetails sourceTypeInfo, Type destType, Type destMemberType, String destMemberInfo, LinkedList`1 members) at AutoMapper.TypeMapFactory.CreateTypeMap(Type sourceType, Type destinationType, ProfileMap options, MemberList memberList) at AutoMapper.ProfileMap.BuildTypeMap(TypeMapRegistry typeMapRegistry, ITypeMapConfiguration config) at AutoMapper.ProfileMap.Register(TypeMapRegistry typeMapRegistry) at AutoMapper.MapperConfiguration.Seal() at AutoMapper.MapperConfiguration..ctor(MapperConfigurationExpression configurationExpression, IEnumerable`1 mappers) at SevenSpikes.Nop.Framework.AutoMapper.AutoMapperConfiguration7Spikes.get_Mapper() at SevenSpikes.Nop.Framework.AutoMapper.AutoMapperConfiguration7Spikes.MapTo[TSource,TDestination](TSource source) at SevenSpikes.Nop.Plugins.AjaxFilters.ModelMapping.MappingExtensions.ToModel(NopAjaxFiltersSettings nopAjaxFiltersSettings) at SevenSpikes.Nop.Plugins.AjaxFilters.Controllers.NopAjaxFiltersController.<>c__DisplayClass2.aQbq7LXFoBLYWBX08Si(Object ) at SevenSpikes.Nop.Plugins.AjaxFilters.Controllers.NopAjaxFiltersController.<>c__DisplayClass2.<GetCahedNopAjaxFiltersSettingsModel>b__1() at Nop.Core.Caching.CacheExtensions.Get[T](ICacheManager cacheManager, String key, Int32 cacheTime, Func`1 acquire) at SevenSpikes.Nop.Plugins.AjaxFilters.Controllers.NopAjaxFiltersController.p9bJWMyvZI(FiltersPageParameters ) at SevenSpikes.Nop.Plugins.AjaxFilters.Controllers.NopAjaxFiltersController.uEdJBwQtsW() at SevenSpikes.Nop.Plugins.AjaxFilters.Controllers.NopAjaxFiltersController.GetWidgetFilters(String widgetZone) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrappe
SDobrev
6 years ago
#14274 Quote
Avatar
  • Moderator
  • 283
Hello,

This problem is fixed. You have to update your theme to the latest version following the steps from this article: https://www.nop-templates.com/how-to-update-a-nopcommerce-theme
Best Regards,
Stoyan Dobrev
Nop-Templates.com