title: COM Exception - TYPE_E_CANTLOADLIBRARY?
body: <p>I am using a COM dll in my .Net web application. This works fine on multiple different machines.<br>
  However on one particular machine I get the following error:</p>
  
  <p>Unable to cast COM object of type 'CServer.CApplicationClass' to interface   type 'CServer.ICApplication'. This operation failed because the QueryInterface   call on the COM component for the interface with IID '{CF0DFA28-046B-4C7D-8AA9-F4B7477D8CAE}  ' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT:   0x80029C4A (TYPE_E_CANTLOADLIBRARY)).   </p>
  
  <p>I have registerd the dll using the <code>regsvr32</code> command.<br>
  I have also created a COM+ application for this dll.
  Running a search through the registry<br>
  I can find the key in numerous places.
  I have also tried unregistering the dll and deleting all referneces on the computer to this dll. And afterwards re-adding the dll and re-registering it.  </p>
  
  <p>I have written a simple windows script file which tests the dll. This works fine. However the problem exists in my .net project which is running in iis.</p>
  
  <p>Can anyone help me with this?..</p>
  
  <p>If you need anymore info please leave a comment. Thanks.</p>