Hi frnds...
i have configured a wpf application and make BAL and DAl and WpfApp three project in my solutions . I have Added Entity Framework in DAL and class file in BAl. when i am going to run the application it shows the error "No connection string named 'SMSEntities' could be found in the application config file."
there is a app.config file in my DAL.
When i get this error then i have added an app.config file in WpfApp project also, And add the connection string in that file. But still i am getting the same error when i am going to insert the record in database
DAL(App.config content)
Please help me out...
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Saineshwar BageriRank #115 · 19.6K reputationPosted Apr 26, 2015, 8:24 PM EDT
Ankita Sachan183 reputationPosted Mar 29, 2018, 8:15 PM EDT
Dharmraj ThakurRank #577 · 4.2K reputationPosted Mar 29, 2018, 8:31 PM EDT