No connection string named 'MyApplicationEntities' could be found in the application config file
I just install EF 4.3 and trying to upgrade my project with migration. however I am getting issues with trying to execute `add-migration initial` to my project via Package Manager console. 

It is throwing any exception now `No connection string named 'MyApplicationEntities' could be found in the application config file.` 

Now my config has it all 

    
    <connectionStrings>
    <add name="MyApplicationEntities" 
         connectionString="metadata=res://*/DataModel.csdl|res://*/DataModel.ssdl|res://*/DataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=localhost;initial catalog=MyApplicationEntitiesDB;integrated security=True;multipleactiveresultsets=True;App=EntityFramework&quot;" 
         providerName="System.Data.EntityClient" />
  </connectionStrings>

I am not sure what is the issue is it a bug in EF 4.3 or there is something I am not doing right. 



I thought [this post][1] has solved the issue but not quite.

Anyone got an answer. 

Appreciate Sanj. 


  [1]: http://stackoverflow.com/questions/7493337/entity-sqlce-cant-find-connection-string-in-app-config-file
No connection string named 'MyApplicationEntities' could be found in the application config file
===

I just install EF 4.3 and trying to upgrade my project with migration. however I am getting issues with trying to execute `add-migration initial` to my project via Package Manager console. 

It is throwing any exception now `No connection string named 'MyApplicationEntities' could be found in the application config file.` 

Now my config has it all 

    
    <connectionStrings>
    <add name="MyApplicationEntities" 
         connectionString="metadata=res://*/DataModel.csdl|res://*/DataModel.ssdl|res://*/DataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=localhost;initial catalog=MyApplicationEntitiesDB;integrated security=True;multipleactiveresultsets=True;App=EntityFramework&quot;" 
         providerName="System.Data.EntityClient" />
  </connectionStrings>

I am not sure what is the issue is it a bug in EF 4.3 or there is something I am not doing right. 



I thought [this post][1] has solved the issue but not quite.

Anyone got an answer. 

Appreciate Sanj. 


  [1]: http://stackoverflow.com/questions/7493337/entity-sqlce-cant-find-connection-string-in-app-config-file