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 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Dharmraj ThakurPosted Mar 30, 2018, 12:31 AM
Ankita SachanPosted Mar 30, 2018, 12:15 AM
Saineshwar BageriPosted Apr 27, 2015, 12:24 AM