Cannot edit anything in Layer List: An error occurred while processing your request. Sequence contains no matching element
Hello,
I cannot make any changes to the Sites Layer List.
This is the error message that I am getting:
An error occurred while processing your request.
Sequence contains no matching element
Controller: Map
Action: EditServices
Source: System.Core
Message:Sequence contains no matching element
StackTrace: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at Geocortex.Essentials.RestManager.Controllers.MapController.a(MapServiceBaseConfig A_0, JsonLayerListItem A_1, SiteConfig A_2)
at Geocortex.Essentials.RestManager.Controllers.MapController.EditServices(FormCollection collection)
at lambda_method(Closure , ControllerBase , Object[] )
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.ControllerActionInvoker.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
0
-
Hi Ryan,
That sounds like it might be a bug (GE-4896) that had a fix implemented in v4.9.1 - are you on an earlier version than that?
We tend to see this issue when changes are applied to group layers from ArcGIS Server.
I'd suggest trying the following:- Open the site in Manager, and if there is a yellow triangle icon in the top left corner, click on it.
- Accept any prompts to re-map or re-add the layers from group layers
- Save the site
- Close the site
- Open the site again
- Try and make the layer list changes again. You may also want to try editing the affected map services first, and confirm that the layers you're working with are added in the "Add/remove layers" tab.
Thanks!
Stephanie0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar