AnsweredAssumed Answered

Issue with ArcGISDynamicMapServiceLayer Not Working on a Service

Question asked by danielap on Jul 29, 2015
Latest reply on Jul 29, 2015 by danielap

I am working on an 3.14 js api web app and the issue is that ArcGISDynamicMapServiceLayer is working on 2 of my services, but not on my third.  I look at the REST it shows up fine.  I have check the URL many times but when I try to add the layer to my map, it crashes.


m_allDistLayers = new esri.layers.ArcGISDynamicMapServiceLayer("http://newecho:6080/arcgis/rest/services/DAMP/dareas/MapServer");;


ReferenceError: m is not defined

    at loadLayers (http://localhost/DAMP/js/Default.js:171:2)

    at http://localhost/DAMP/js/Default.js:104:18

    at b.ready.b.addOnLoad.e (

    at g (


    at a (

    at r.signal (

    at ia (

    at fa (

    at g (

info: m is not defined


All other services are off the same ArcGIS Server 10.3.1 and are working without issue  Example:


m_census = new esri.layers.ArcGISDynamicMapServiceLayer("http://newecho:6080/arcgis/rest/services/DAMP/census/MapServer");




m_crime = new esri.layers.ArcGISDynamicMapServiceLayer("http://newecho:6080/arcgis/rest/services/DAMP/crime/MapServer");