Zum Hauptinhalt gehen

Error Loading Map Services

Kommentare

16 Kommentare

  • Permanently deleted user

    Hello,

    I (also a newbie) have had a similar issue. I have built my site with multiple map services, both dynamic and cached. Within the Silverlight viewer, things work just fine for me and a few other people. When I send the link to the launch the viewer to a different group of of users, they get the same error that loading the map layers failed.

     

    Did I need to set permissions somewhere? I'm not sure why a few people can see the map, but others cannot.

    We're using Essentials 3.7 and Silverlight viewer 1.4.

     

    Thank you.

    ilima

    0
  • Permanently deleted user

    Are all your users located within the same network environment? 

     

    Are the people having problems able to resolve the URL's of the map services?  If you are on an intranet and using the computer name in the map service URL, try using a fully qualified DNS name (if your network is set up for it) or by using the IP address.

    Peter.

    0
  • Rex Maranda

     

    The problem was I didn't apply cross domain policy.  Go to your root folder (C:\inetpub\wwwroot) and paste the following to an xml file;

    <?xml version="1.0"?>

     

    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">

     

    <cross-domain-policy>

     

        <site-control permitted-cross-domain-policies="all"/>

     

        <allow-access-from domain="*"/>

     

    </cross-domain-policy>

     

     

     

    Rx

    0
  • Permanently deleted user

    If your service names changed you will need to update the connection url in the manager and it should pick them up.

    0
  • Permanently deleted user

    If you also have SLV 1.7 you might want to take a look at this thread:  (https://support.geocortex.com/essentialsGSCForum?id=906600000000AmGAAU) Problem with SL 1 7 map services won't load

    Steve

    0
  • Permanently deleted user

    Steven, thank you for the help, that fixed it. It was Silverlight 1.7 and Essentials 3.11.1. Went in, changed it so the domain name wasn't included and works perfect now. I appreciate the help.

    Evan

    0
  • Permanently deleted user

    Hi Sheri, this thread might help:  (https://support.geocortex.com/essentialsGSCForum?id=9066000000007y2AAA) Error Loading Map Services - problem loading some map data.

    0
  • Permanently deleted user

    We're still pending a domain name, unfortunately (any day now!). But it's odd that I can view/see all the services just fine in the HTML5 viewer.

    0
  • Permanently deleted user

    I am just setting up a development server, and got this error!  Upon finding a thread I had commented on with a potential solution, and then that solution not working for me... it made me laugh.

    What I discovered here was that the default url that launched from Essentials Manager was the problem.

    This is the default:

    http://servername.city.victoria.bc.ca.cityad/SilverlightViewer/Viewer.html?ViewerConfig=http://servername.city.victoria.bc.ca.cityad/Geocortex/Essentials/REST/sites/Test/viewers/Silverlight/virtualdirectory/Config/Viewer.xml

    I had to remove all the extra stuff after "servername" at the beginning of the url:

    http://servername/SilverlightViewer/Viewer.html?ViewerConfig=http://servername.city.victoria.bc.ca.cityad/Geocortex/Essentials/REST/sites/Test/viewers/Silverlight/virtualdirectory/Config/Viewer.xml

    Then it worked.

    As Sheri experienced, the HTML5 url worked as is with no edits.

    Thought it was worth mentioning in case someone else runs into this problem.

    0
  • Permanently deleted user

    You need to be more specific, I have no idea what version of anything you are using nor the condition of your ArcServer or any recent changes.  But based on my recent issues with that same error, i t most likely has to do with your ArcServer.  Either they are innaccessable (permissions issue) or your server is down/not functioning correctly.  Before/during my migration to a new server and upgrade from 10.0 to 10.2.2, I had many many times I would recieve this issue.  Every time, it was my ArcServer.   Check your REST services and see if you see the list of services, if they are there, make sure you go all the way to layer level, I found errors sometimes there.

     

    Also try to re-add your map service to your GeoCortex map.  It may give you more clues. In the mananger, if you click on the little yellow warning triangle, it will give you a bigger warning too.

     

    I would call ESRI tech support and look for any ArcServer issues.

     

    By the way, this has nothing to do with Silverlight, you would get the same errors in HTML or any viewer. 

     

    0
  • Permanently deleted user

    Thanks for your response jpursell.

    I am currently running ArcGIS for Server 10.2. While investigating further, I have determined that this issue is a result of a security exception that occurs while trying to connect to the REST endpoint. It states that I need to ensure a cross domain policy file is available at the root of my server to allow requests for the silverlight application. It is my understanding that silverlight requires a clientaccesspolicy.xml file?

    I have managed to locate a copy of the .xml file. My questions is, how do I go about adding this file to the root of my web server?

    P.S. I can load the map service using HTML5 without any errors. Only with Silverlight viewer 1.10 do I receive this error.

    0
  • Permanently deleted user

    Thanks again jpursell,

    So I took a peek in C:\inetpub\wwwroot and located the two .xml files sitting there all snug as a bug. So that may or may not be the issue....

    Another user on the geocortex forum suggested the following:

     

    What I discovered here was that the default url that launched from Essentials Manager was the problem.

    This is the default:

    http://servername.city.victoria.bc.ca.cityad /SilverlightViewer/Viewer.html?ViewerConfig=http://servername.city.victoria.bc.ca.cityad/Geocortex/Essentials/REST/sites/Test/viewers/Silverlight/virtualdirectory/Config/Viewer.xml

    I had to remove all the extra stuff after "servername" at the beginning of the url:

    http://servername/SilverlightViewer/Viewer.html?ViewerConfig=http://servername.city.victoria.bc.ca.cityad/Geocortex/Essentials/REST/sites/Test/viewers/Silverlight/virtualdirectory/Config/Viewer.xml

    Then it worked.

     

    I tried this with my URL and it worked as well... Now my question is, why does this work?

     

    0
  • Permanently deleted user

    I know we had problems with this as well, but since I don't manage the GeoCortex server, I am not sure why it worked.  Wish I could answer that!

    0
  • Kevin Penner

    There is a chance that the viewer proxy needs to be configured, as you mention that you are connecting with IP addresses. As a quick test, can you change the viewer proxy to mustMatch=false. This file is located in the viewer's IIS directory.

     

    0
  • Permanently deleted user

    Ok I will try that's, actually the mustMatch=true, I will change it for false to make a test.

    When I check in the proxy.config  I view many line about server link demo, but no trace about the ip of my geocortex or my esri server.

    It's ok like this or I need to add the ip of my esri server in the proxy files ?

    I have find another file in the Sites\VirtualDirectory\WorkFlows\MessageLegal.xaml

    I suppose than this is the first pop-up about legal advise who come on the screen when we load the website.

    If I open this file in notepad , I find a line who make a "QueryTask1" Call to my esri server at the  6080 ports and ask for a folder with the name of one of the map service present in the error message.

    Do you know if this config is execute on the server or in local by the user broswer ?

    Thank you !

     

     

     

     

    0
  • Kevin Penner

    This config is respected only in the viewer client.

    The idea is that you add all known/allowed servers to this config file to prevent errors on cross domain requests. The typical usecase is that you enter all Essentials and ArcGIS server addresses in here (by IP or server.domain)

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.