title: Unable to resolve An unhandled exception of type 'System.InvalidOperationException' occurred in WebDriver.dll
body: <h1><em><strong>An unhandled exception of type 'System.InvalidOperationException' occurred in WebDriver.dll</strong></em></h1>
  <p>I'm amid of learning a selenium C# tutorial and in the beginning stage. When I ran my Visual Studio console application I encountered the following error even after following <a href="https://stackoverflow.com/questions/33074831/an-unhandled-exception-of-type-system-invalidoperationexception-occurred-in-we">AnsweredLink</a> !</p>
  <blockquote>
  <p>An unhandled exception of type 'System.InvalidOperationException' occurred in WebDriver.dll Additional information: unknown error: cannot find Chrome binary
  (Driver info: chromedriver=2.27.440174</p>
  </blockquote>
  <h2><em><strong>Consolie Application message</strong></em>:</h2>
  <blockquote>
  <p>Starting ChromeDriver 2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9) on port 56328 Only local connections are allowed.</p>
  </blockquote>
  <p><em><strong>My Google Chrome browser version</strong></em></p>
  <blockquote>
  <p>Version 49.0.2623.75 (64-bit)</p>
  </blockquote>
  <h3><em>My Sample C# Code Snippet:</em></h3>
  <pre><code>using OpenQA.Selenium;
  using OpenQA.Selenium.Chrome;
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace Seleniumsecond
  {
      class Program
      {
          static void Main(string[] args)
          {
  
              var DRIVER_PATH = @&quot;C:\Users\user\Documents\Visual Studio   2013\Projects\Seleniumsecond\Seleniumsecond\bin\Debug\2.27\&quot;;
              IWebDriver driver = new ChromeDriver(DRIVER_PATH);
              driver.Navigate().GoToUrl(&quot;http://www.google.com.sg&quot;);
              IWebElement element = driver.FindElement(By.Name(&quot;q&quot;));
              element.SendKeys(&quot;Execute Automation&quot;);
              driver.Close();
          }
      }
  }
  </code></pre>
  <p><em><strong>How to resolve this exception ?</strong></em></p>