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
Comments
Leave a comment