title: When using Selenium Webdriver, I get the following error using the InternetExplorerDriver - "Unexpected error launching Internet Explorer...."
body: <p>I'm trying to instantiate an InternetExplorerDriver in C#, and every time I do I get the following error message:</p>
  
  <blockquote>
    <p>System.InvalidOperationException : Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled) for all zones. (NoSuchDriver)</p>
  </blockquote>
  
  <p>Now I'm not sure how to sort this out, but the line of code that triggers the error in question is:</p>
  
  <pre><code>IWebDriver driver = new InternetExplorerDriver();
  </code></pre>
  
  <p>The documentation for InternetExplorerDriver suggests that I can pass in an <code>ICapabilities</code> object in an overloaded constructor, but that only has the properties <code>BrowserName</code>, <code>IsJavaScriptEnabled</code>, <code>Platform</code> and <code>Version</code>. None of these seem to suggest that they can solve the issue.</p>
  
  <p>Is there something I need to do within the implementation to sort this out?
  Or do I have to modify some settings within IE9 itself?</p>