Posted on 19/12/2022 10:28:08
Hi.
I’m trying to upgrade a custom solution that should go from 9.10.14 to 9.14.16 (latest).
What I did was this:
1) Downloaded the new Application folder and placed it with my other appilcaion folders.
2) Copied the new .dll’s to my custom directory.
3) Switch the admin directory to the new Application folder.
This worked fine for my local setup, however I encountered this error, when I did it to my cloud solution.
I experienced the same error, when I pointed my local environment to the could database.
Any ideas what to do about this error?
Server Error in '/' Application.
LanguageCulture
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.IndexOutOfRangeException: LanguageCulture
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[IndexOutOfRangeException: LanguageCulture]
System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +2158379
System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +141
System.Data.SqlClient.SqlDataReader.get_Item(String name) +21
Dynamicweb.Ecommerce.International.LanguageRepository.ExtractLanguage(IDataReader reader) +368
Dynamicweb.Ecommerce.International.LanguageRepository.GetLanguages() +196
Dynamicweb.Ecommerce.International.LanguageService.InitializeLanguageIndex() +107
Dynamicweb.Caching.DictionaryCache`2.InitializeCacheDictionary() +155
System.Lazy`1.CreateValue() +734
System.Lazy`1.LazyInitValue() +450
Dynamicweb.Caching.DictionaryCache`2.GetAllValuesInternal() +27
Dynamicweb.Caching.ServiceCache`2.GetAllValues() +106
Dynamicweb.Ecommerce.International.LanguageService.GetDefaultLanguage() +46
Dynamicweb.Ecommerce.Common.Context.GetLanguage() +667
Dynamicweb.Ecommerce.Frontend.EcomAuthenticateRequestNotificationSubscriber.OnNotify(String notification, NotificationArgs args) +226
Dynamicweb.Extensibility.Notifications.NotificationManager.Notify(String notification, NotificationArgs eventArgs) +875
Dynamicweb.Admin.GlobalAsaxHandlerProxy.Application_AuthenticateRequest(Object sender, EventArgs e) +415
Dynamicweb.Admin.Global.Application_AuthenticateRequest(Object sender, EventArgs e) +67
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0