New Posts New Posts RSS Feed: Exception After Upgrading
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Exception After Upgrading

 Post Reply Post Reply
Author
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Topic: Exception After Upgrading
    Posted: 09-Dec-2011 at 8:08am
I did an upgrade to the latest build, and after recompiling and running, I am getting the following error message:

"This ctor is for internal use and can only be called during Entity materialization and serialization."

It's just doing a simple query to the server:

var query = this.EmailEntityManager.EmailAccountEntities;
var op = this.EmailEntityManager.ExecuteQueryAsync(query);

Any suggestions?

Greg
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 09-Dec-2011 at 10:01am
Hi Greg,
 
That is a weird error.  Can you first make sure that the model code is regenerated, and also do a full clean on the solution and then a rebuild?  An error like this generally points to some sort of assembly mismatch.
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down