I'm working on a WPF application that uses Entity Framework to access data. I must first update the app after creating a new connection string based on the user's input. Set up in accordance with that.
The issue is that Entity Framework still utilizes the outdated startup-time ConnectionString for creating the DbContext after changing the App.Config file.
How can the ConnectionString setting for the Entity Framework be changed at runtime?
I made the same mistake. The "Initial Catalog=" part of my new connection string was missing.