Skip to main content

Measurements not working....

Comments

2 comments

  • Chris Roberts

    Hi Joshua

    Have you tried adding the server the you are consuming the Geometry service from to the Proxy.config file for the HTML5 Viewer?

    C:\inetpub\wwwroot\Html5Viewer\proxy.config

    It would look something like this:

    <?xml version="1.0" encoding="utf-8" ?>

     

    <!-- Proxy config is used to set the ArcGIS Server services that the proxy will forward to.

     

           

     

            mustMatch: true to only proxy to sites listed, false to proxy to any site -->

     

    <ProxyConfig mustMatch="true">

     

      <serverUrls>

     

        <!-- serverUrl options:

     

              url = location of the server, either specific URL or stem

     

              matchAll = true to forward any request beginning with the url

     

              token = (optional) token to include for secured service

     

              dynamicToken = if true, gets token dynamically with username and

     

              password stored in web.config file's appSettings section.

     

        -->

     

        <serverUrl url=(http://yourserver/arcgis/rest/services/) http:// yourserver /arcgis/rest/services/

     

                    matchAll="true"></serverUrl>

     

    Cheers

    Chris

    0
  • Permanently deleted user

    That did the trick. Not sure why it would work and then all of a sudden quick working.

     

    Thank you,

     

    JB

    0

Please sign in to leave a comment.