Using Entity Framework in EC2 gives EntityException

When I try to run a LINQ query while hosting in EC2 (AWS), I get:

An exception was made that was probably related to a temporary malfunction. If you are connecting to an Azure SQL database, consider using SqlAzureExecutionStrategy.

The same code works in a programming environment.

+4
source share
1 answer

There are two possible problems: One is the installation of the SQL client for the ADO.net object. In my case, although I installed it before fixing the second problem, I don’t think it was really missing. I just wanted to make sure.

- EC2 ( , ). - sql , sql. , IP- - sg-XXXX.. . ( SQL Server AWS..)

+2

Source: https://habr.com/ru/post/1532946/


All Articles