Click here to Skip to main content
15,919,245 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear friends,
i get this error

The type 'System.Data.Objects.DataClasses.EntityObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Entity, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'

I set

        <add assembly="System.Data.Entity, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>


but i get above error
ZurdoDev 8-Mar-13 8:39am    
Dumb question, instead of adding in web.config manually did you try adding a reference to System.Data.Entity in the project? Right-click, Add Reference?
hamid-shrk 8-Mar-13 8:42am    
oh i forgot this,
very very thank you.

1 solution

Sounds like OP resolved it by adding the assembly as a reference. Posting it to pop it out of unanswered list.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900