T
T
Turtle_Onni2016-09-15 16:52:59
ASP.NET
Turtle_Onni, 2016-09-15 16:52:59

What does An exception of type 'System.Data.Entity.Core.EntityCommandExecutionException' occurred in... mean?

Hello!
I don't quite understand what the following error means:

An exception of type 'System.Data.Entity.Core.EntityCommandExecutionException' occurred in EntityFramework.SqlServer.dll but was not handled in user code

The fact is that it appeared in that part of the code where nothing was changed. (But I'm starting to doubt it).
Thank you very much for your help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2016-09-16
@yarosroman

Alternatively, the model does not match the database. Ef to the console and logs displays queries to the database, try to execute the query on the database.

T
Turtle_Onni, 2016-09-16
@Turtle_Onni

The error was in the table name in the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question