title: Webbrowser navigation canceled even if the file exists
body: <p>I already browse this question but it was not very useful: <a href="https://stackoverflow.com/questions/4223245/webbrowser-control-page-load-error">WebBrowser control page load error</a> (or maybe I didn't catch the thing)</p>
  <p>I use a <a href="http://msdn.microsoft.com/fr-fr/library/system.windows.forms.webbrowser.navigating%28v=vs.110%29.aspx" rel="nofollow noreferrer">WebBrowser</a> to display the content of a PDF in my application (C# .NET 4.5). I try to navigate into the local URL of the file (which I can open with the explorer) with this code:</p>
  <pre><code>m_path = pdfDoc.CreateReportFile();
  try
  {
     webBrowser1.Navigate(new Uri(m_path));
  }
  catch (Exception e)
  {
      Console.WriteLine(&quot;{0} Exception caught.&quot;, e);
  }
  </code></pre>
  <p>But the navigation is always canceled, even if I try to reload the page. No exception is thrown.</p>
  <p>What can I do?</p>
  <p>Here's the URL: <code>C:\\Users\\me\\AppData\\Local\\Temp\\LY20_2014-11-25_06#22M1[1].pdf</code></p>
  <p>If I paste it in IE, remove the escaping <code>\</code>, the file does open.</p>
  <h1>Update:</h1>
  <ul>
  <li>The webbrowser works fine when entering the string <code>@&quot;http://www.google.fr&quot;</code></li>
  <li>When using the PDF file address it opens it in Acrobat Reader after the <em>Navigation Canceled</em> message</li>
  </ul>