title: Windows Server 2008 x64: registered dll cannot be loaded
body: <p>I've registered a COM dll using regsvr32 as I've always used to do, but when the code that uses this dll is fired i get the following exception:</p>
  
  <blockquote>
    <p>Retrieving the COM class factory for
    component with CLSID
    {E4F35ED2-71B3-4F6D-A4A9-FAA456365819}
    failed due to the following error:
    80040154.</p>
  </blockquote>
  
  <p>I checked the error by id and it says that the dll could not be loaded. I checked the registry and the dll is properly registered - what may be the problem in this case?</p>
  
  <p>Edit: the code is fired by Sharepoint.</p>