title: Exception "Creating an instance of the COM component with CLSID" when creating new object
body: <p>I have C# project which i'm publishing using IIS.
  Tried to debug webPage and found that on code line</p>
  
  <pre><code>var SilApi = new SilApi();
  </code></pre>
  
  <p>webPage got stuck and it's keep loading something. After 10-20 min, it's stop loading and error appears.</p>
  
  <blockquote>
    <p>Creating an instance of the COM component with CLSID {AD0C0100-CE10-11DE-8F7A-005056C00008} from the IClassFactory failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).</p>
  </blockquote>
  
  <p>Any ideas?</p>
  
  <p>This is how SilApi looks like:</p>
  
  <pre><code>using System.Runtime.InteropServices;
  
  namespace SilApi 
  {
      [CoClass(typeof(SilApiClass))]
      [Guid("AD0C0001-CE10-11DE-8F7A-005056C00008")]
      public interface SilApi : ISilApi 
      {
      }
  }
  </code></pre>
  
  <p>This is how ISilApi  looks like:</p>
  
  <pre><code>using System.Runtime.InteropServices;
  
  namespace SilApi  
  {
      [Guid("AD0C0001-CE10-11DE-8F7A-005056C00008")]
      [TypeLibType(4160)]
      public interface ISilApi  
      {
          [DispId(1)]
          ISilDocumentFactory SilDocumentFactory { get; }
          [DispId(2)]
          ISilPackageFactory SilPackageFactory { get; }
          [DispId(5)]
          ISilSpecificationFactory SilSpecificationFactory { get; }
         &lt;....&gt;
          [DispId(6)]
          IX509CertificateFactory X509CertificateFactory { get; }
  
          [DispId(33)]
          IMap GetNewMap();
      }
  }
  </code></pre>