Copied App.config to (Assembly).exe.config but from folder debug application doesn't run
- by uugan
Gives error: "The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid"
App.config looks like and it's same as (Assembly.exe.config) config file for output:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<connectionStrings>
<add name="Entities1" connectionString="metadata=res://*/;provider=System.Data.SqlClient;provider connection string='data source=localhost;initial catalog=DatabaseName;integrated security=True;multipleactiveresultsets=True;App=EntityFramework'" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>
How to run exe with it's configuration file? I tried to change '' to quot but nothing has changed.