title: msxml3.dll error '80090326' from classic ASP script
body: <p>I have a classic asp script which has worked for years but which has just started to throw an error (following a Microsoft update on the 27th August).</p>
  
  <p>The error is;</p>
  
  <pre><code>msxml3.dll error '80090326' 
  
  The message received was unexpected or badly formatted.
  </code></pre>
  
  <p>The code generating the error is as follows;</p>
  
  <pre><code>Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
  Call objHTTP.setTimeouts(5000, 60000, 10000, 10000)
  objHTTP.open "POST", url, False
  objHTTP.setRequestHeader "Content-Type", "text/xml; charset=utf-8"
  objHTTP.send strPostdata 
  </code></pre>
  
  <p>The error is generated by the last line. </p>
  
  <p>The url is a secure site using "https://". The strPostData is a valid JSON string.</p>
  
  <p>The script works fine from my development machine running Windows 7, but fails on the live server which is running Windows Server 2003 SP2.</p>
  
  <p>Having researched this, a few old posts referring to this error suggest that using MSXML2.XMLHTTP instead of MSXML2.ServerXMLHTTP has resolved the issue. However, when I try this, I get the error;</p>
  
  <pre><code>msxml3.dll error '800c0008' 
  
  The download of the specified resource has failed. 
  </code></pre>
  
  <p>I use exactly the same code in another script to access XML on another site which is not secure - just http:// - and that still works without a problem.</p>
  
  <p>I have tried using msxml6.dll and get the same error.</p>
  
  <p>On the server, if I browse to the secure site using the url in IE 7 I get the cannot display the page error. Chrome does display the page correctly, however.</p>
  
  <p>The server does not have any SSL certificates installed.</p>
  
  <p>Any suggestions would really help!</p>