error when load map form client

Discussion created by linhtv2 on May 8, 2014
I have problem with Web Application. I build a web using ArcGIS API for JavaScript for mainpage.
When i build this Web on my Server(WindowServer 2008 with ArcGIS 11.0) then it work well, but when i publish this web using IIS, error when
open this web form Client via : . All Map and Layer is hidden. And page nothing on map.
This my code:

    <script type="text/javascript">
        var map;

      ], function (
        esriConfig, Map, SnappingManager, Editor, FeatureLayer, GeometryService,
        Draw, keys, parser, arrayUtils, i18n
        ) {


          //snapping is enabled for this sample - change the tooltip to reflect this
          i18n.toolbars.draw.start += "<br/>Press <b>CTRL</b> to enable snapping";
          i18n.toolbars.draw.addPoint += "<br/>Press <b>CTRL</b> to enable snapping";

          //This sample requires a proxy page to handle communications with the ArcGIS Server services. You will need to
          //replace the url below with the location of a proxy on your machine. See the 'Using the proxy page' help topic
          //for details on setting up a proxy page.

          //This service is for development and testing purposes only. We recommend that you create your own geometry service for use within your applications
          esriConfig.defaults.geometryService = new GeometryService("");
          //for details on setting up a proxy page.
 = "/proxy";
          map = new Map("map", {
              center: [106, 21.5],
              zoom: 10

          map.on("layers-add-result", initEditing);
//          var layer = new esri.layers.ArcGISDynamicMapServiceLayer("");
//          map.addLayer(layer);

          var operationPointLayer = new FeatureLayer("", {
              mode: FeatureLayer.MODE_ONDEMAND,
              outFields: ["*"]

          operationPointLayer, operationPointLayer2, operationPointLayer3, operationPointLayer4, operationPointLayer5, operationsLineLayer, operationsLineLayer2, operationsLineLayer3, operationsLineLayer4, operationsLineLayer5
          map.infoWindow.resize(400, 300);

          function initEditing(event) {
              var featureLayerInfos =, function (layer) {
                  return {
                      "featureLayer": layer.layer

              var settings = {
                  map: map,
                  layerInfos: featureLayerInfos
              var params = {
                  settings: settings
              var editorWidget = new Editor(params, 'EditPanel');

              var options = { snapKey: keys.copyKey };
I think my Map some wrong: public local, have yet shared on
Please help me resolve this problem ! Thanks.