title: Cannot add WCF Service to Project Visual Studio 2017
body: <p>I've created an empty ASP .NET Web Application and added an ADO .NET Entity Data Model which, at a later moment, I'd like to access via a WPF client. However whenever I'm trying to add an WCF Service to my project im greeted with the error:</p>
  
  <pre><code>object reference not set to an instance of an object.
  </code></pre>
  
  <p>Does someone have any solutions?</p>
  
  <p>EDIT:
  I've deployed my project on the local IIS and when I try to navigate to my Service.svc the two tables that should be displayed are shown in a perfectly fine way, but when I navigate to one of them using this URL:</p>
  
  <pre><code>http://localhost/TestUE/Service1.svc/movie
  </code></pre>
  
  <p>I'm greeted with this error:</p>
  
  <pre><code>&lt;m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"&gt;
  &lt;m:code/&gt;
  &lt;m:message xml:lang="de-AT"&gt;Fehler beim Verarbeiten dieser Anforderung.&lt;/m:message&gt;
  &lt;/m:error&gt;
  </code></pre>