Can't launch chrome driver in Selenium
<p>I was always able to launch chromedriver server locally but then I tried to do this remotely and since then I am unable to launch it. I reinstalled chrome as well the chrome driver but nothing seems to fix this. Even when I give the path of my driver it won't launch. </p>

<pre><code>using OpenQA.Selenium;
using OpenQA.Selenium.Support;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Chrome;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium.Safari;
using OpenQA.Selenium.Interactions;

namespace TestWebDriver
{
    class Program
    {
        static void Main(string[] args)
        {
            var driver = new ChromeDriver(@"C:\Users\laurens.putseys\Documents\Visual Studio 2015\Projects\TestWebDriver\packages\Selenium.WebDriver.ChromeDriver.2.21.0.0\driver\");
            driver.Url = "http://google.be";
            Console.ReadLine();
            driver.Quit();
        }
    }
}
</code></pre>

<p>The error I get is the following:</p>

<pre><code>An unhandled exception of type 'System.InvalidOperationException' occurred in WebDriver.dll

Additional information: unknown error: chrome failed to start

  (Driver info: chromedriver=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Windows NT 6.1 SP1 x86_64)
</code></pre>

<p>It started after I tried this:</p>

<pre><code>System.Environment.SetEnvironmentVariable("webdriver.chrome.driver",@"/path/to/where/you/ve/put/chromedriver.exe"
</code></pre>

<p>Now I cannot launch the local either. Launching IE and Firefox local work without any problems. Any ideas? Thanks in advance! </p>