Select to view content in your preferred language

Unable to view dynamic map services

560
1
12-16-2010 01:05 PM
MikeJun
Emerging Contributor
I have several dynamic map services and all of them are viewed fine through ArcCatalog, AGS manager and ArcGIS Javascript viewer. However when I compiled a simple flex code, it doesn't recognize any dynamic services. The existing flex app that consume dynamic services doesn't show its image either.

<esri:Map id="mainMap" >

<esri:ArcGISDynamicMapServiceLayer url="http://cobgisags/ArcGIS/rest/services/TreeMOL/MapServer" />
<esri:ArcGISTiledMapServiceLayer url="http://cobgisags/ArcGIS/rest/services/Basemap/MapServer" />

</esri:Map>


I got 404 error message from fiddler like below

<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
  <h2>404 - File or directory not found.</h2>
  <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
</fieldset></div>
</div>
</body>


Any idea of this weird behavior?
Tags (2)
0 Kudos
1 Reply
MikeJun
Emerging Contributor
Pretty odd! It just solved issues by itself. Hmmm.
0 Kudos