views:

45

answers:

0

This is a strange one, i resolved it once but now i can't think what is missing here.

I have a library contains 3 SQL CE databases. I created 3 Entity Framework 4 Models for each database. Then i created a library where contains 4 UserControls, 1 of 3 contains the other 3 Controls, and o drop this one control into the MainForm in the WinForm project. I use 1 app.config into the Database Model library and 1 app.config into the WinForm project which is the main StartUp project. While changing designer and code stuff in the controls library...rebuilding and try to run i get the following message. Tried to update the models from the database copied the app.config section again in the winform project deleted and droped the UserControl again in the MainForm but soon as i try to add the UserControl into the form i get the following message.


Microsoft Visual Studio

The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.

Any ideas?

Thank you in advance!