<?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: ArcGIS Services work in Silverlight app but not in the JavaScript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755569#M69858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you check using fiddler?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 10:53:36 GMT</pubDate>
    <dc:creator>nicogis</dc:creator>
    <dc:date>2011-05-31T10:53:36Z</dc:date>
    <item>
      <title>ArcGIS Services work in Silverlight app but not in the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755567#M69856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi collegues,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a couple of services created in ArcGIS Server 9.3.1&amp;nbsp; and they work well in my silverlight application. However trying to use the same services using the JS API, they don't work. I am new to the JS API and am wondering if there is any confuguration which I need to do. I have tried pasting the server url in and clicking the "ArcGIS JavaScript" link and it gives a blank page. My web server is located on the same machine as my GIS server. The machine is a virtual machine running window server 2003. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The services a Dynamic service layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am happy to provide any addition info, otherwise thank you for helping me out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lawrence&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 13:19:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755567#M69856</guid>
      <dc:creator>LawrenceDhliwayo</dc:creator>
      <dc:date>2011-05-27T13:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Services work in Silverlight app but not in the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755568#M69857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Lawrence,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could try inserting your layer's URL into the Dynamic map sample at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_dynamic.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_dynamic.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anything display? If your server is public-facing, can you tell us the URL so we can test it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 02:24:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755568#M69857</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-05-30T02:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Services work in Silverlight app but not in the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755569#M69858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you check using fiddler?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 10:53:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755569#M69858</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2011-05-31T10:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Services work in Silverlight app but not in the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755570#M69859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Lawrence,&lt;BR /&gt;&lt;BR /&gt;You could try inserting your layer's URL into the Dynamic map sample at &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_dynamic.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_dynamic.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Does anything display? If your server is public-facing, can you tell us the URL so we can test it?&lt;BR /&gt;&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for the reply and apologies for my late response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I created a new Dynamic map service it works in my JSAPI. I suppose I have to do the same for all my services that work in the Silverlight and not in the JSAPI. I tested the old Dymamic map services using the samples and they dont work. Unfortunately my urls are all private and i am not allowed to publish them outside out intranet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lawrence&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 10:07:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755570#M69859</guid>
      <dc:creator>LawrenceDhliwayo</dc:creator>
      <dc:date>2011-06-02T10:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Services work in Silverlight app but not in the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755571#M69860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you check using fiddler?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Ciava,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have test using fiddler, I get "500 Internal Server Error". While investigating this, I stumbled upon a similar thread &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/7349-Cached-map-services-no-tiles-returned-when-accessed-by-JavaScript-in-service-catalog"&gt;http://forums.arcgis.com/threads/7349-Cached-map-services-no-tiles-returned-when-accessed-by-JavaScript-in-service-catalog&lt;/A&gt;&lt;SPAN&gt; which participated. I looked at my log file C:\inetpub\wwwroot\yourinstancename\rest&amp;nbsp; and found the following;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Log Entry : 02/06/2011 12:11:06&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ERROR:Object reference not set to an instance of an object. ::&amp;nbsp;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.REST.RequestHandler.ProcessRequest()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.REST.RestHttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://myserver/arcgis/rest/services/myservice/MapServ"&gt;http://myserver/arcgis/rest/services/myservice/MapServ&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could go on create the services as this appears to solve the problem. Also I have done some further checks and noticed that some services work while others do not. If i find out why I will post the answer here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lawrence&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 10:30:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-services-work-in-silverlight-app-but-not-in/m-p/755571#M69860</guid>
      <dc:creator>LawrenceDhliwayo</dc:creator>
      <dc:date>2011-06-02T10:30:04Z</dc:date>
    </item>
  </channel>
</rss>

