title: specified named connection is either not found or Format of the initialization string does not conform to specification starting at index 0.
body: <p>What does this error mean?</p>
  
  <blockquote>
    <p>Format of the initialization string does not conform to specification starting at index 0.</p>
  </blockquote>
  
  <p>and also getting this error:</p>
  
  <blockquote>
    <p>The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.</p>
  </blockquote>
  
  <p>I'm trying to use my EF model context in another project in Visual Studio. Having real trouble just getting my EF application off the ground.
  I instantiate the model context like so:</p>
  
  <pre><code>ctx = new VisitoriDataModel("VisitoriDataModel");
  </code></pre>
  
  <p>I have the connection string copied from the data layer project into all projects including the web.config and still no luck.</p>
  
  <p>Also tried the following: </p>
  
  <pre><code>//model = new VisitoriDataModel(new EntityConnection("Name=VisitoriDataModel"));
  //model = new VisitoriDataModel("Name=VisitoriDataModel");
  //model = new VisitoriDataModel("VisitoriDataModel");
  //model = new VisitoriDataModel();
  </code></pre>
  
  <p>ConnectionString is like so:</p>
  
  <pre><code>metadata=res://*/Context.VisitoriDataModel.csdl|res://*/Context.VisitoriDataModel.ssdl|res://*/Context.VisitoriDataModel.msl;provider=System.Data.SqlClient;provider connection string="data source=.\SQLEXPRESS;initial catalog=visitori;integrated security=True;multipleactiveresultsets=True;App=EntityFramework"
  </code></pre>