Inhalte aufrufen

Profilbild

Error on Order List on Admin after upgrade to 3.2.2.0


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
12 Antworten zu diesem Thema

#1 vagelis

vagelis

    Advanced Member

  • Members
  • 84 Beiträge

Geschrieben: 17 April 2020 - 12:32

Hello,

 

After upgrading to 3.2.2.o community I got an error at Admin in Order List. Any idea how to fix this?  I have import again in regional settings, the language dictionary from english.

 
Here is the message. 
 
Oops!
We apologize, a server error ocurred while handling your request, this is not a problem with your computer or internet connection. The details have been sent to our support team and we will investigate the issue very soon.
 
In the meantime, please retry your request as it may have been temporary.
 
Controller: Order, Action: List
 
The given key was not present in the dictionary.


#2 vagelis

vagelis

    Advanced Member

  • Members
  • 84 Beiträge

Geschrieben: 17 April 2020 - 12:44

Log level : Error

 

Logger : SmartStore.Admin.Controllers.OrderController

 

Short message : The given key was not present in the dictionary.

 

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at SmartStore.Admin.Controllers.OrderController.<>c__DisplayClass49_0.<List>b__7(SelectListItem x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`
2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at SmartStore.Admin.Controllers.OrderController.List(OrderListModel model)
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.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`
2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()



#3 vagelis

vagelis

    Advanced Member

  • Members
  • 84 Beiträge

Geschrieben: 21 April 2020 - 15:14

Hello,

 

Does anyone has any solution to our problem?



#4 vagelis

vagelis

    Advanced Member

  • Members
  • 84 Beiträge

Geschrieben: 24 April 2020 - 13:07

Is this forum dead? No one to reply to my issue?



#5 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2153 Beiträge

Geschrieben: 24 April 2020 - 14:40

Hi,

 

from which shop version you have updated.
Which procedure did you use to update?
 
Did you create a shop backup before the update?
 
Regards
 
Wolfgang

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
http://docs.smartsto...nutzer Handbuch

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#6 vagelis

vagelis

    Advanced Member

  • Members
  • 84 Beiträge

Geschrieben: 24 April 2020 - 18:46

Hi,

 

I've upgraded from 3.1.5 to 3.2.2 deleting all folders except media and app_data.  I've created a full folder backup and database backup. First I run the upgrade on my local machine in which I don't have such issue.

 

Am I missing something?



#7 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2153 Beiträge

Geschrieben: 27 April 2020 - 12:05

Hi,

 

Did you also overwrite the existing files in the AppData directory?
 
Best is to do the update again.
If you get an error message again, please follow these steps.
 
Restart the shop by editing the web.config in the root of your shop directory.
Set optimizeCompilations to false and alter the value of numRecompilesBeforeAppRestart to e.g. 253.
If the shop opens correctly now restore the origional values of the web.config
 
Regards
 
Wolfgang

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
http://docs.smartsto...nutzer Handbuch

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#8 vagelis

vagelis

    Advanced Member

  • Members
  • 84 Beiträge

Geschrieben: 28 April 2020 - 20:22

Hi Wolfgang,

 

Yes, I had overwrite AppData folder contents. I've followed your instructions changing web.config,  but still I have problem ONLY at one page in Admin option LIST ORDERS. Everything else is working fine. Any other thought what is wrong with this page?

 

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at SmartStore.Admin.Controllers.OrderController.<>c__DisplayClass49_0.<List>b__7(SelectListItem x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`
2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at SmartStore.Admin.Controllers.OrderController.List(OrderListModel model)
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.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`
2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()



#9 vagelis

vagelis

    Advanced Member

  • Members
  • 84 Beiträge

Geschrieben: 08 May 2020 - 20:46

Hello Wolfgang,

 

I've done everything, but still the only page not working is the most critical of the eshop, the list orders page. Is there any system component that might be absent from my server, that might cause this problem? 

 

On local machine I don't have this issue.

 

Please help.

 

Best regards

 

Vangelis



#10 vagelis

vagelis

    Advanced Member

  • Members
  • 84 Beiträge

Geschrieben: 12 May 2020 - 20:34

Hello,

 

Anyone who can give a solution why ListOrders page is NOT working? It's the only page  that is not working after upgrade and the most critical page of an eshop

 

I get the following error

 

Oops!

We apologize, a server error ocurred while handling your request, this is not a problem with your computer or internet connection. The details have been sent to our support team and we will investigate the issue very soon.

In the meantime, please retry your request as it may have been temporary.

Controller: Order, Action: List

The given key was not present in the dictionary.



#11 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2153 Beiträge

Geschrieben: 14 May 2020 - 09:55

Hi,

 

our developers will create a hotfix for the problem within the next days.  

 

Regards

 

Wolfgang


Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
http://docs.smartsto...nutzer Handbuch

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#12 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2153 Beiträge

Geschrieben: 19 May 2020 - 09:45

Hi,

 

please copy the content of the following hotfix file to your shop.
http://smartstore.co...2/_Hotfixes.zip 
 
After that, please follow the steps below.
Restart the shop by editing the web.config in the root of your shop directory.
Set optimizeCompilations to false and alter the value of numRecompilesBeforeAppRestart to e.g. 253.
If the shop opens correctly now restore the origional values of the web.config
 
Regards
 
Wolfgang

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
http://docs.smartsto...nutzer Handbuch

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#13 vagelis

vagelis

    Advanced Member

  • Members
  • 84 Beiträge

Geschrieben: 19 May 2020 - 14:13

Hi Wolfgang,

 

Thanks for your help. The hotfix corrected the error.

 

Best regards

 

Vangelis


  • stefanmueller gefällt das