title: Classic ASP and COM DLL Does not work in Server 2008 R2 (Microsoft VBScript runtime error '800a01ad' ActiveX component can't create object )
body: <p>I have created a dll in Visual Studios 2010. I have performed the following steps:</p>
  
  <ol>
  <li><p>Given build a strong name by associating a key pair (snk file) to it</p></li>
  <li><p>Given each class an individual ProgID and GUID</p></li>
  <li><p>As it is a 64 bit DLL I made sure that Used the RegAsm.exe located in the 'FrameWork64/v4xxxx' folder. I used RegAsm.exe /codebase ECE2.dll</p></li>
  <li><p>I ran 'gacutil -i' on the DLL</p></li>
  </ol>
  
  <p>All of these steps have been successful. The DLL and the ASP page I am using it on are stored in intetpub/wwwroot. </p>
  
  <p>Now, the DLL <em>works fine</em> on my laptop and home computer (both running Windows 7 Ultimate). I am now trying to get it to work on <strong>Windows Server 2008 R2</strong>. 
  This is where I'm having the problem.</p>
  
  <p>I complete the same steps as above, all of which are successful. However when I run the ASP page, I'm getting an error message which would suggest it has NOT been registered, even though it has:</p>
  
  <blockquote>
    <p>Microsoft VBScript runtime error '800a01ad'  ActiveX component can't
    create object: 'ECE2.CSV_DataSet'</p>
  </blockquote>
  
  <p>I thought it might be a setting in IIS which needs changing. Note that this server is already configured to allow Classic ASP pages, so I know it is not that. 
  Could anyone give me any indication as to whether there is a particular setting I need to change in Server, or whether there are extra security hoops I have to jump through to get it working on Server 2008 which I don't need to do on Windows 7 Ultimate?</p>