title: Converting docx to html with dotnet-mammoth fails at deploy server
body: <p>I'm using <a href="https://github.com/mwilliamson/dotnet-mammoth" rel="nofollow">dotnet-mammoth</a> (<a href="https://github.com/mwilliamson/mammoth.js" rel="nofollow">mammoth.js</a> with <a href="http://tjanczuk.github.io/edge/" rel="nofollow">edge.js</a>) to convert a docx document to html in .net<br>
  I added it to my project via its <a href="https://www.nuget.org/packages/Mammoth" rel="nofollow">nuget package</a>.  </p>
  
  <p>I'm using the code provided by the sample, which is working correctly in my development enviroment (running IIS Express):</p>
  
  <pre><code>var documentConverter = new Mammoth.DocumentConverter();
  var result = documentConverter.ConvertToHtml(Server.MapPath("~/files/document.docx")); // problem here at production enviroment
  string theResult = result.Value
  </code></pre>
  
  <p>However, once I deploy it to production server, when the executed code reaches <code>documentConverter.ConvertToHtml()</code> method, it's redirecting me to the login page. Without displaying any error messages, without saving anything on IIS log file.  </p>
  
  <p>If I remove that line, everything else executes normally.
  I assume it could be an issue related to permissions but I don't know what could it be. Any ideas?</p>