- Joined
- Jun 2, 2015
- Messages
- 10
- Reaction score
- 0
I just upgraded our 3CX from V14 to V15 and restored backup, one system is working no errors reported and calls can be made and received. However today I went in to edit an extension and find that I can edit some without issue but many of them give a 500 error and this error info (Sequence contains no elements) I am running on Windows 2012 R2 Standard all patched to latest updates. Any ideas before I revert back to V14
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at ConfigurationManagementModel.CfgStringsEnum.GetValue()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmEnum(ICfgEnum value)
at ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmProperty(String wpPropName, ICfgProperty prop)
at ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmItem(ICfgItem item, Boolean isTopLevel)
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 ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmProperty(String wpPropName, ICfgProperty prop)
at ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmItem(ICfgItem item, Boolean isTopLevel)
at ManagementConsoleJS.Services.EditorServiceExtensions.ProcessActiveObjectRegistration(IEditorService editorService, ICfgItem obj, PropertyFilter filter)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionFilterAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ManagementConsoleJS.Middleware.ExceptionWrapperMiddleware.<Invoke>d__3.MoveNext()
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at ConfigurationManagementModel.CfgStringsEnum.GetValue()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmEnum(ICfgEnum value)
at ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmProperty(String wpPropName, ICfgProperty prop)
at ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmItem(ICfgItem item, Boolean isTopLevel)
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 ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmProperty(String wpPropName, ICfgProperty prop)
at ManagementConsoleJS.Services.Adapters.CmmAdapter.SerializeCmmItem(ICfgItem item, Boolean isTopLevel)
at ManagementConsoleJS.Services.EditorServiceExtensions.ProcessActiveObjectRegistration(IEditorService editorService, ICfgItem obj, PropertyFilter filter)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionFilterAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ManagementConsoleJS.Middleware.ExceptionWrapperMiddleware.<Invoke>d__3.MoveNext()