public MyContext()
: base("MydbConn")
The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception. >> Configuration system failed to initialize .
May be because, Data Access project is not able to access connection string in App.Config file.

Sai Kumar KoonaRank #334 · 7.5K reputationPosted Sep 26, 2018, 2:20 AM EDT