'Sequence contains no Elements' error trying to edit site after 4.2.1 upgrade
I am trying to open for editing a site on my newly upgraded to 4.2.1 Essentials server and I get the error:
"Sequence contains no Elements"
Details:
Controller: Map
Action: Edit
Source: System.Core
Stack Trace:
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at Geocortex.Essentials.RestManager.Models.MapViewModel.c(MapService A_0)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at Geocortex.Essentials.RestManager.Models.MapViewModel.get_MapServiceTreeJson()
at ASP.views_map_edit_aspx.__RenderLeftPanel(HtmlTextWriter __w, Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at ASP.views_shared_map_master.__RenderMainContent(HtmlTextWriter __w, Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at ASP.views_shared_site_master.__RenderContent3(HtmlTextWriter __w, Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at ASP.views_shared_app_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
This is only occuring on one of my maps. The one difference I know of is that this map has an editable layer, and none of my other maps do. Please help with any suggestions.
Thanks.
-
I noticed this error when I the changed the layers in my MXD and overwrote the service. The geocortex site didn't seem to be able to pick this up and it would not open. I had to go in manually and remove the service from the code or renumber/name them to match the new service. Not sure if this is a bud or intended. Hope this helps.
0 -
See also this related post:
http://support.geocortex.com/SupportForums/Thread.aspx?pageid=0&mid=2&ItemID=2&thread=57534
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare