Office.Interop.Word.Document.Open throwing COMException
<p>I've searched, but haven't found any solution applicable to my situation. Below is a screencap of my code and the error I'm getting. I've tried running as an admin as recommended in another post. </p>

<p>The eventual goal is to use C# to programmatically go through documents in a directory and replace hyperlink addresses.</p>

<p>The error is for the line:</p>

<pre><code>Microsoft.Office.Interop.Word.Document document = applicationObject.Documents.Open(FileName: file);
</code></pre>

<p>..And reads:</p>

<blockquote>
  <p>An unhandled exception of the type 'System.Runtime.InteropServices.COMException' occured in ConsoleApplication1.exe</p>
</blockquote>

<p><a href="https://i.stack.imgur.com/G8JIS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G8JIS.png" alt=""></a></p>