AnsweredAssumed Answered

Microsoft JScript runtime error: xhrFailed when switch V2.5 to V3.5

Question asked by shaningesri on Jan 28, 2014
Latest reply on Jan 31, 2014 by shaningesri
Got  Microsoft JScript runtime error: xhrFailed
and  Microsoft JScript runtime error: Object doesn't support this property or method
when switch V2.5 to V3.x (e.g. 3.5 or 3.8).
In V2.5 (or 2.7), I loaded the following 'requires'
      dojo.require("dijit.dijit"); // optimize: load dijit layer
      dojo.require("dijit.layout.BorderContainer");
      dojo.require("dijit.layout.ContentPane");
      dojo.require("dijit.form.Button");
      dojo.require("esri.map");
      dojo.require("esri.layers.FeatureLayer");
      dojo.require("esri.dijit.BasemapGallery");
      dojo.require("dijit.TitlePane");
      dojo.require("esri.tasks.query");
      dojo.require("dojo.data.ItemFileReadStore");
      dojo.require("dijit.layout.AccordionContainer");
      dojo.require("agsjs.dijit.TOC");
In V3.x, added the 2 below:
      dojo.require("dojo.dom");
      dojo.require("dojo.domReady!");
When I run the program, it breaks at init.js[dynamic] Line 265:
  require({cache:{"esri/layers/TimeReference":function(){ ... }  - as long as hundreds of lines.
Then I opened Fiddler2.  After the result of 302 on js.arcgis.com  /3.8/, I got some result of 502, e.g. the 1st one on  forums.arcgis.com//ajax.php?do=quickedit&p=361501 
The 502 means  Bad Gateway.
Hopefully, you can share your experience to help me this issue.  Thanks in advance.

Outcomes