title: System.UnauthorizedAccessException: Retrieving the COM class factory for Word Interop fails with error 80070005
body: <p>I have a problem with a C# ASP .NET project in Visual Studio 2008
  This problem started when I reinstalled my computer with Windows 7 Ultimate (x64). To this I'm also using Office 2007. </p>
  
  <p>The error message I'm getting is:</p>
  
  <blockquote>
    <p>System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.
       at xxx.Utility.WordDocument..ctor(String filePath, HttpServerUtility util)
       at customer_communication.BuCreate_click(Object sender, EventArgs e) in c:\xxx\Website\customer\communication.aspx.cs:line 127</p>
  </blockquote>