title: Visual Studio - TYPE_E_REGISTRYACCESS
body: <p>I'm building my Visual Studio solution and in the output window there's an error just for one project.</p>
  <p>In error tab:</p>
  <pre><code>Error   161 Cannot register type library &quot;D:\Sites\Website\MyPortal.Website.Controllers\bin\Debug\MyPortal.Website.Controllers.tlb&quot;. Error accessing the OLE registry. (Exception from HRESULT: 0x8002801C (TYPE_E_REGISTRYACCESS)) MyPortal.Website.Controllers
  </code></pre>
  <p>In output tab:</p>
  <pre><code>Compile complete -- 0 errors, 153 warnings
    MyPortal.Website.Controllers -&gt; D:\Sites\Website\MyPortal.Website.Controllers\bin\Debug\MyPortal.Website.Controllers.dll
  c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3341,9): warning MSB3214: &quot;D:\Sites\Website\MyPortal.Website.Controllers\bin\Debug\MyPortal.Website.Controllers.dll&quot; does not contain any types that can be registered for COM Interop.
  c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3341,9): error MSB3213: Cannot register type library &quot;D:\Sites\Website\MyPortal.Website.Controllers\bin\Debug\MyPortal.Website.Controllers.tlb&quot;. Error accessing the OLE registry. (Exception from HRESULT: 0x8002801C (TYPE_E_REGISTRYACCESS))
  ========== Rebuild All: 8 succeeded, 1 failed, 0 skipped ==========
  </code></pre>
  <p>Any ideas?</p>