<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cannot connect to rest endpoint in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312424#M8016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a silverlight application in VS2008 that was showing fine my service until I enabled the security settings in Manager. Right after I have applied the disabling procedures because that was just a test. This is what I have now: I can see the rest service directory, I can see the service in ArcCatalog and Manager, I can see the service if used in a web application generated through the Manager, I cannot see the service (any rest service) using VS2008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have reset all permissions, rerun the web application configuration, followed the forum, I guess the rest directory got corrupted somehow. Any else to try before I reinstall ArcGIS Server 9.3.1? Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jun 2010 18:11:52 GMT</pubDate>
    <dc:creator>AgatinoLa_Rosa</dc:creator>
    <dc:date>2010-06-10T18:11:52Z</dc:date>
    <item>
      <title>cannot connect to rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312421#M8013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a new web app using the ESRI showcase map application template in Expression Blend 3.&amp;nbsp; When I changed the rest service to the service on my server, I got the "A security exception occured while trying to connect to the rest endpoint..."&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a valid crossdomain.xml and clientaccesspolicy.xml in the webroot.&amp;nbsp; I have another application that uses the same service and it works.&amp;nbsp; I am running the app on the same server that runs the services, so it really shouldn't need the clientaccesspolicy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another setting that I am missing?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Chris&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;http:\\navigator.state.or.us\LocatOR\&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 18:10:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312421#M8013</guid>
      <dc:creator>ChrisBradberry</dc:creator>
      <dc:date>2010-04-23T18:10:44Z</dc:date>
    </item>
    <item>
      <title>cannot connect to rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312422#M8014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chris, I am having the same issue but i have not implemented the cross domain file. Can you point me to some documentation on how to do this or could you send along the cross domain file?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 18:34:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312422#M8014</guid>
      <dc:creator>ZachEdwards</dc:creator>
      <dc:date>2010-04-23T18:34:07Z</dc:date>
    </item>
    <item>
      <title>cannot connect to rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312423#M8015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the crossdomain.xml -- it is not a good idea to leave the uri as &lt;/SPAN&gt;&lt;A href="http://*"&gt;http://*&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; but to put int the servers that you are hitting.&amp;nbsp; The clientaccesspolicy.xml is the same file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;access-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;cross-domain-access&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;allow-from http-request-headers="*"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;domain uri="*" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;domain uri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://*" rel="nofollow" target="_blank"&gt;http://*&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/allow-from&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;grant-to&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;resource path="/" include-subpaths="true" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/grant-to&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/cross-domain-access&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/access-policy&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 20:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312423#M8015</guid>
      <dc:creator>ChrisBradberry</dc:creator>
      <dc:date>2010-04-23T20:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: cannot connect to rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312424#M8016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a silverlight application in VS2008 that was showing fine my service until I enabled the security settings in Manager. Right after I have applied the disabling procedures because that was just a test. This is what I have now: I can see the rest service directory, I can see the service in ArcCatalog and Manager, I can see the service if used in a web application generated through the Manager, I cannot see the service (any rest service) using VS2008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have reset all permissions, rerun the web application configuration, followed the forum, I guess the rest directory got corrupted somehow. Any else to try before I reinstall ArcGIS Server 9.3.1? Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 18:11:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312424#M8016</guid>
      <dc:creator>AgatinoLa_Rosa</dc:creator>
      <dc:date>2010-06-10T18:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: cannot connect to rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312425#M8017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you say its the same server, is it also the same port number? And are you using the same name to point to the server? (ie localhost, servername, &lt;/SPAN&gt;&lt;A href="http://www.servername.com"&gt;www.servername.com&lt;/A&gt;&lt;SPAN&gt; or IP number are all considered different even though they point to the same physical server).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 06:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312425#M8017</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-11T06:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: cannot connect to rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312426#M8018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, everything else is the same as before, including server settings, port, and static IP to connect to the server. The only changes I have made were the ones associated with enabling security settings and disabling security settings. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 07:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312426#M8018</guid>
      <dc:creator>AgatinoLa_Rosa</dc:creator>
      <dc:date>2010-06-11T07:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: cannot connect to rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312427#M8019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Might be an issue with the REST cache. Try cleaning the cache (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;your server&amp;gt;/ArcGIS/rest/admin/cache/clear)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 10:38:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312427#M8019</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-06-11T10:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: cannot connect to rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312428#M8020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Done that earlier. Which port should be enabled beside port 80 and TCP 5151? Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 14:43:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312428#M8020</guid>
      <dc:creator>AgatinoLa_Rosa</dc:creator>
      <dc:date>2010-06-11T14:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: cannot connect to rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312429#M8021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi alarosa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the same problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two kind of Silveright applications:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Secured applications that are using Windows Authentications&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Non-Secured applications that are using the Anonymous Logon to run the website where the Silverligh application is hosted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For 1) I resolved the problem by following the steps in this thread (see my reply):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/5985-Secured-map-service-doesn-t-work-in-VS-2010"&gt;http://forums.arcgis.com/threads/5985-Secured-map-service-doesn-t-work-in-VS-2010&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now 2) was a real pain! What I ended up doing is Adding additional instance to the ArcGIS server (suggested by ESRI support), and leaving the check on the Anonymous User in Direcory Security for Rest and Services directory for that instance. Then in the applications I accessed the services using the new instance:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://servername/ArcGISNew/rest/services/"&gt;http://servername/ArcGISNew/rest/services/&lt;/A&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case this is working only if I use the server alias name (and not working with the real server name). I am not sure why. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And before adding another instance, you can also try using the IP address, to see if you will be able to access the services. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh, and don't forget to add the Anonymous Logon user to the group that is allowed to see the services with no sensitive content. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 16:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-connect-to-rest-endpoint/m-p/312429#M8021</guid>
      <dc:creator>DarinaTchountcheva</dc:creator>
      <dc:date>2010-06-11T16:58:21Z</dc:date>
    </item>
  </channel>
</rss>

