REST Manager throwing error when creating feature map
I had this problem when I was trying to create feature map for my site. However, I was able to view and edit existing feature maps from the sample sites. Here is the detailed error message. I had the sample issue replicated on a windows 7 (64bit) machine and windows 2008 server R2 (64bit). Any help would be appreciated! Thanks, Jianfeng ------------------------------------------------------------------------ Details Controller: FeatureMaps Action: Create Error Info Source: System.Web Message: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerWrapper'. at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.HttpServerUtilityWrapper.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.Mvc.ViewPage.RenderView(ViewContext viewContext) at System.Web.Mvc.ViewUserControl.RenderViewAndRestoreContentType(ViewPage containerPage, ViewContext viewContext) at System.Web.Mvc.ViewUserControl.RenderView(ViewContext viewContext) at System.Web.Mvc.WebFormView.RenderViewUserControl(ViewContext context, ViewUserControl control) at System.Web.Mvc.WebFormView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass14.b__11() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass14.<>c__DisplayClass16.b__13() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass14.<>c__DisplayClass16.b__13() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass14.<>c__DisplayClass16.b__13() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
0
-
I may have found the problem. The map service has several layers in it. On this occasion, one of the layers was unavailable when the service was restarted. The rest endpoint still shows the rest of the layers, but the layer numbers are no longer sequential - the number associated with the layer that was unavailable is not listed. 0 -
Thanks Peter, i ended up manually modify the site.xml and added the feature maps. It's a bug as I was told by Latitude support. 0 -
Peter, or anyone who has succeeded with this:
Can you send the xml code that creates or modifies the feature map code in the site.xml file?
We are looking to add a feature map and cannot create that bit of code that sets it in the report.
have these 2 parts:
<FeatureMaps>
and
<LayerTemplateReport DisplayName="Facility Report" ID="0" IncludeFeatureMaps="false" PerformDataLinking="false" TemplateUri="{SiteUri}/Viewers/Cityfacilities/VirtualDirectory/Resources/FacilReport.rpx">
Thanks a million.
Ruth
0
Please sign in to leave a comment.
Comments
3 comments