title: ADO.NET Entity Framework In A COM Visible VB.NET Class Library
body: <p>At first I didn't think something like this would be possible but I am testing the waters.</p>
  
  <p>I created a COM Class library in VB6 and then registered it on my machine running VB6 then was able to reference it and access its properties and functions from within a VB6 app.</p>
  
  <p>The next thing I tried was adding an ADO.NET Entity Framework Model to this class library, which also adds an app.config with a conn string called test_comContext. I compiled it and sent it over to the VB6 machine and try to call a function involving it and I am getting the following error:</p>
  
  <p><em>No connection string named 'test_comContext' could be found in the application config file.</em></p>
  
  <p>I am assuming it is referring to my VB6 application because the connection string is definitely in the libraries app.config.</p>
  
  <p>Any recomendations/opinions?</p>