Select to view content in your preferred language

Silverlight Error 4004 when using local map service

632
1
03-16-2011 08:21 AM
GeorgeHilton__GISP
Occasional Contributor
I am trying to use a map service created on a local machine with one from esri and I get a Error code 4004 when testing the app.   Here is the code that it is hanging up on:

<esri:Map.Layers>
                <esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer"             
                Url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" />
               
                <esri:ArcGISDynamicMapServiceLayer ID="testlayer"             
                  Url="http://toqgis/ArcGIS/rest/services/test/MapServer" />
          

            </esri:Map.Layers>

Not sure why the local service would be bombing out as I am able to communicate both ways with the server, post and read map services in ArcMap and see the REST endpoint in a web browser. 

Any help is greatly appreciated.

George Hilton
Town of Queensbury, NY
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
0 Kudos