64-bit API error?

Discussion created by ngramsky on Jan 14, 2011
Latest reply on Jan 21, 2011 by ngramsky

I have ArcGIS Server 10 installed on two different servers.  One is XP Pro and the other is 2008 R2 64-bit.  I'm having errors loading the exact same referenced API on the 2008 R2 server.  When I try to load a simple web page I get the following error in my mozilla error console:

uncaught exception: [Exceptio... "Component return failure code: 0x80004003 (NS_ERROR_INVAID_POINTER)[nsIDOMHTMLDivElement.removeChild]" nsreult: "0x80004003
(NS_ERROR_INVALID_POINTER)" location:"JS frame::"  data:no]

The following is my html file:

  <title>Create a Map</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <link rel="stylesheet" type="text/css" href="">
  <script type="text/javascript" src=""></script>

  <script type="text/javascript">
    var map;
    function init() {
      map = new esri.Map("mapDiv");
var basemapURL= "http://esri-test/ArcGIS/rest/services/first_test/MapServer"
      var basemap = new esri.layers.ArcGISDynamicMapServiceLayer(basemapURL);


<body class="claro">
  <div id="mapDiv" style="width:900px; height:600px; border:1px solid #000;"></div>