title: msxml2 error on windows server 2012 (windows server2008 works well) (classic ASP)
body: <p>i have a problem with windows server 2012. </p>
  
  <p>I'm using following codes in ASP Classic for receive datas from another site.(which is <a href="http://www.tcmb.gov.tr" rel="nofollow">http://www.tcmb.gov.tr</a>)</p>
  
  <p><code>Set kurlar = Server.CreateObject("msxml.DOMDocument")
      kurlar.async = false</code><strong>this is row 144</strong><code>
      kurlar.resolveExternals = false
      kurlar.setProperty "ServerHTTPRequest" ,true
      kurlar.load("http://www.tcmb.gov.tr/kurlar/"&amp;ay&amp;"/"&amp;gun&amp;".xml")
  Set sonuc = kurlar.getElementsByTagName("Currency")
      USDA=sonuc.item(0).childnodes.item(3).nodeTypedValue</code><strong>this is row 149</strong>
      <code>USDS=sonuc.item(0).childnodes.item(4).nodeTypedValue
      EURA=sonuc.item(3).childnodes.item(3).nodeTypedValue
      EURS=sonuc.item(3).childnodes.item(4).nodeTypedValue</code></p>
  
  <p><strong>everything work very well on windows server 2008, windows 10 and windows 7 IIS but same code doesn't work on windows server 2012.</strong></p>
  
  <p><strong>I receive following error;</strong></p>
  
  <p><em>Microsoft VBScript çalýþma hatasý hata '800a01a8'<br>
  Object required: 'sonuc.item(...)'<br>
  /work_task.asp, satır 149</em></p>
  
  <p>I've searched on Google, Stackowerflow and a lot of different sites and found some suggestions but still i receive error.</p>
  
  <p><strong>some of what i've tried;</strong></p>
  
  <p>*
  * 
  <code>Set kurlar = CreateObject("MSXML2.DOMDocument")</code> to <code>Set kurlar = CreateObject("MSXML2.DOMDocument.6.0")</code> also <code>Set kurlar = Server.CreateObject("msxml.DOMDocument")</code></p>
  
  <p><strong>Try to register</strong> msxml6.dll and msxml4.dll again but didn't work :(</p>
  
  <p>if i use <code>Set kurlar = Server.CreateObject("Msxml2.ServerXMLHTTP.6.0")</code> <strong>instead of</strong> <code>Set kurlar = Server.CreateObject("msxml.DOMDocument")</code> </p>
  
  <p>this time i receive following error;</p>
  
  <p><em>Microsoft VBScript çalýþma hatasý hata '800a01b6'<br>
  object doesn't support this property or method: 'kurlar.async'<br>
  /work_task.asp, satır 144</em></p>
  
  <p>I've tried to find a solution last app. 8 hours i'm not expert on server 2008 or 2012 and MSXML.</p>