TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Koteswararao Mallisetti
NA
817
563.5k
updating failed the child recode while saving the parent
Jan 3 2013 5:02 AM
hi ,
i Have two table
"Customer" & "VisitorSession"
Visitorsettion have the foreign key constraint with customer please see the bellow image
when i try to insert new customer i am getting the following error that "
An error occurred while updating the entries. See the inner exception for details.
"
in my research I found the visitor session last recode is update with the fkCustomerId value is 0 that is zero is coming from the newcustomer object so we get the error but int he code i didn't pass any values to this visitorsession navigation values while debug if found the navigation collection count is "0" any one please guid me how can i come out this problem . debug image is as follows
Reply
Answers (
0
)
Process.Start cannot open .PNG file
deleted files to be stored in the database