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
Amii
NA
2
5.9k
Exception
Sep 1 2011 2:52 PM
Hello!
I made a MVC 3 Application. I have used EF (Database first). I have the skill and Candidate Controller.Inside of Candidate controller I have a standard list format of create new, edit ,details and delete. Clicking on the edit occurs following exception for this line of code:
private IEnumerable<CandidateSkillFormated> GetSkills(int candidateId)
{
var _ce = new CandidatesEntities();
return _ce.CandidateSkills.Where(s => s.CandidateID == candidateId)
.Select(s => new CandidateSkillFormated { SkillName = s.Skill.SkillName, SkillLevel = s.SkillLevel,
CandidateId = candidateId, SkillId = s.SkillID}).ToList();
}
Exception:
EntitityCommandExecutionException was unhandled by user code
An error occurred while executing the command definition. See the inner exception for details.
Reply
Answers (
1
)
Scheduled Task
Connection Error