O
O
Oleg2021-12-21 17:17:34
Entity Framework
Oleg, 2021-12-21 17:17:34

Why is an exception thrown when writing data to the database?

When writing data to the database (MS SQL), an exception occurs. This happens on a published application. When I run it locally everything works fine. And somehow in the exception there is a path where my application is located locally.

spoiler
61c1e1dc07e1d356761807.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2021-12-21
@danila_net

Why this happens is written in EntityValidationErrors.

EntityValidationErrors. Wrote:

Encoding maybe.
Debugger, log: real request text.
Profiler: The text of the received request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question