New Posts New Posts RSS Feed: Error in EdmKey Default
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Error in EdmKey Default

 Post Reply Post Reply
Author
warez_willy View Drop Down
Newbie
Newbie
Avatar

Joined: 23-Dec-2008
Location: Australia
Posts: 10
Post Options Post Options   Quote warez_willy Quote  Post ReplyReply Direct Link To This Post Topic: Error in EdmKey Default
    Posted: 23-Dec-2008 at 7:59pm
I found a solution for this.

Specifically this is with the tutorial project called ConfiguringAWinform

1.open the file ServerModelNorthwindIB.edmx
2. Right click the design surface
3. Select Update Model From Database
4. select your database provider

All works fine now.

The existing connection string in this project won't work. (obviously you must wire it up to see your local data)
Back to Top
warez_willy View Drop Down
Newbie
Newbie
Avatar

Joined: 23-Dec-2008
Location: Australia
Posts: 10
Post Options Post Options   Quote warez_willy Quote  Post ReplyReply Direct Link To This Post Posted: 23-Dec-2008 at 6:57pm
Newbie ..   getting this error when running application.

read another post about this in forums but I don't understand the fix??
may need more specific instructions.

Error in EdmKey Default: Unable to locate an ObjectContext in the probe assemblies.  This is often caused by not copying your EF model 'dll' to the deployment directory.  This will be either the client application directory in a two tier deployment or the server deployment  directory in an n-tier deployment.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down