Answer to Question #30949 in WPF for maryam

Question #30949
hi,I created a class library and wpf application .and use ado.net entity framework for my the model.and copied the app.config from class library to wpf application but stil rais an error :


The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)
at System.Data.EntityClient.EntityConnection..ctor(String connectionString)
at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString)
at System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)
at DataAccessLibrary.Entities..ctor() in D:\wpf test\SolutionMain\Solution_30\DataAccessLibrary\Model1.Designer.cs:line 34

please help me.
I don't know what should I do.
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS