Hoppa till huvudinnehållet

Index was out of range.

Kommentarer

9 kommentarer

  • Ryan Cooney

    Hi Ken, 

    Are you able to provide a public URL to your map service? This would help us diagnose what is happening.

    --Ryan

    0
  • Permanently deleted user

    Hi Ryan,

    No my site is not exposed on our public website yet.

    However, I rebooted my server and tried adding the map service again.

    I got the below error message. 

    I checked my layer with ID:22 for my arcgis map service and all seems well.  I can see layer ID:22 just fine in ArcMap and via the ArcGIS Javascript viewer.

    I ran the TEST CONNECTION hoping it would correct the problem but no luck.

    *****************************************************

    The connection to map service "BASEMAPS/CITY_UTILITIES" (ID: "22") from the Main Map failed.

    The connection settings may be invalid or the map service may be temporarily unavailable.

    You must either remove the map service configuration from the site or modify the connection settings to correct the error.

    Remove the map service:

      Service URL:

     

       

    Authentication Settings

     

    None By User By Token By Proxy

     

    This service is not secured. No authentication settings are required.

    Test Connection

    **************************************************************************************

     

    0
  • Ryan Cooney

    Hi Ken,

    When you add a map service Essentials will try to hit the following URLs to get the service metadata:

    • http://yourserver/arcgis/rest/services/BASEMAPS/CITY_UTILITIES/MapServer?f=pjson
    • http://yourserver/arcgis/rest/services/BASEMAPS/CITY_UTILITIES/MapServer/layers?f=pjson

     

    Can you load these URLs in a web browser (with your server name) and capture the responses? There is likely something in the response that is invalid or unexpected. If you'd rather not post the responses you can email them to support@geocortex.com.

    Another thing that might be worth trying is to clear ArcGIS Server's REST cache.

    --Ryan

    0
  • Permanently deleted user

    just sent the results to (support@geocortex.com)

    0
  • Permanently deleted user

    Hi,

    Has a solution ever been found for this?  I am running into this error this morning and can't figure out why.

    Thank you,

    Dominic

    0
  • Permanently deleted user

    Domonic, try what Ryan suggests as it sounds like a specific problem with the metadata in the map service. Sometimes, wierd characters or something odd gets included and not properly escaped in text-based REST systems.  If you feel comfortable posting the result, place it here. Otherwise, email it to support@latitudegeo.com indicating the problem and pointing them at this thread so they can relate the support cases. 

     

    Shawn.
    0
  • Permanently deleted user

    Hi Shawn,

    I figured out what the issue was.  My map was pointing to an SDE Feauture Class that was moved inside a Feature Dataset.  I had to remove the layer from my map and adding it again from the current source.

    Thanks,

    Dominic

    0
  • Christopher Wiebke
    i am getting this error when using the display capture geometry polyline type to draw a polyline that has more than two vertices.
    0
  • Hwa Saup Lee
    Christopher or Kenneth, Did you find the solution?  I am getting this error time to time from a workflow (which is to create or delete polygon).  The error happens when I capture geometry polygon by using geometry selection activity in the workflow.  I think a similar case with Christoper's.  
    0

Du måste logga in om du vill lämna en kommentar.