New Posts New Posts RSS Feed: ID Generator Problem
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

ID Generator Problem

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

Joined: 08-Dec-2010
Location: Cherry Hill, NJ
Posts: 39
Post Options Post Options   Quote jipock Quote  Post ReplyReply Direct Link To This Post Topic: ID Generator Problem
    Posted: 05-Apr-2011 at 5:27am
Thanks, Silvio.
 
Bullet point #1 - I only do a partial save in one place.
Bullet point #2 doesn't appear to be an issue..
Bullet point #3 - I do a couple of sever-side entity manipulations, but not where ther error is coming up.
 
I'll keep digging.. Also, this hasn't happened again since I've first posted.
 
 
 
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 29-Mar-2011 at 4:14pm
Hi jipock,
 
Here's a few places to look at:
 
- Check for partial saves; (i.e. SaveChangesAsync(listOfEntitiesToBeSaved) instead of SaveChangesAsync())
- Check for multiple saves; (i.e. calling SaveChangesAsync() before a previous SaveChangesAsync() was completed)
- Check for server-side entity creation and saves (i.e. via any of the interceptors and/or RPC method)
 
Silvio.
Back to Top
jipock View Drop Down
Newbie
Newbie
Avatar

Joined: 08-Dec-2010
Location: Cherry Hill, NJ
Posts: 39
Post Options Post Options   Quote jipock Quote  Post ReplyReply Direct Link To This Post Posted: 29-Mar-2011 at 7:25am
As a quick note - I reviewed my error logs a little more.. In a 1.5 months, with 8,500 records, this has happened four times. The ID field on the table is an identity value. Creating new records on this table has not been an issue before.
Back to Top
jipock View Drop Down
Newbie
Newbie
Avatar

Joined: 08-Dec-2010
Location: Cherry Hill, NJ
Posts: 39
Post Options Post Options   Quote jipock Quote  Post ReplyReply Direct Link To This Post Posted: 29-Mar-2011 at 6:59am
Good Morning,
 
I'm trying to track down an error I have a user testing our application has experienced in a Silverlight 4.0 application.  
 
"IdGenerator problem - not all temp ids converted to permanent ids". 
 
I do not have any custom IIdGenerator classes, and my Query Strategy is 100% DataSourceOnly (I don't use any kind of caching that I'm aware of). This has clearly happened one time (I have an error log entry to show for it), but I cannot reproduce the problem again.
 
Any suggestions on how to track this issue down??
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down