title: Error Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
body: <p>I have an error with my mvc3 application.</p>
  
  <p>In my application I have a reference to a vb6 DLL which is a dll of another program.</p>
  
  <p>When I debug my application with VisualStudio server developpement all is ok but I tried to deploy it in IIS7.5</p>
  
  <p>I changed in the properties of my application the server and I chose local IIS webServer. (I didn't change the properties of IIS since the installation).</p>
  
  <p>And when I try to debug my application I have an error when instanciating my dll :</p>
  
  <p>Retrieving the COM class factory for component with CLSID .... Class not registered</p>
  
  <p>This dll was registered with regsvr32.</p>
  
  <p>The same application was deploy on a server with windows server 2003 and IIS6 and it works correctly.</p>
  
  <p>If anybody have an idea ?</p>
  
  <p>Thanks</p>