title: Address to longitude and latitude conversions issues
body: <p>I am trying to use following code to return a longitude and latitude based on an address from Microsoft dynamics CRM 2011 Online. The address is picking up ok but the code below is not working. Can anyone please help me on figuring out a reason why.</p>
  
  <pre><code>try
  {
      var xHReq = new ActiveXObject("Msxml2.XMLHTTP");
      xHReq.Open("GET", "http://maps.google.com/maps/api/geocode/xml?sensor=false&amp;address=" + address, false);
      xHReq.Send(null);
  
      var resultXml =xHReq.responseXML;
  alert(resultXml);
      var addressComponents=resultXml.selectNodes("//GeocodeResponse/result/geometry/location");
      if (addressComponents != null &amp;&amp; addressComponents.length &gt; 0) 
      {
          var long = parseFloat(resultXml.selectSingleNode("//GeocodeResponse/result/geometry/location/lng").nodeTypedValue);
          var lat = parseFloat(resultXml.selectSingleNode("//GeocodeResponse/result/geometry/location/lat").nodeTypedValue);
  
          crmForm.all.address1_latitude.DataValue = lat;
          crmForm.all.address1_longitude.DataValue = long;
          alert(lat);
  
  crmForm.all.address1_latitude.ForceSubmit = true;
          crmForm.all.address1_longitude.ForceSubmit = true;
          }
  
  }
  </code></pre>
  
  <p>I am getting the following error message: Permission Denied.</p>
  
  <p>I'm starting to wonder if I am having issues due to the site being https://.</p>
  
  <p>Has anyone else run into the same error.</p>