An exception of type 'System.Data.SqlClient.SqlException' - Microsoft Getting Started with ASP.NET MVC 5 Movie Website

后端 未结 2 833
长发绾君心
长发绾君心 2021-01-27 08:28

The error i\'m getting is An exception of type

\'System.Data.SqlClient.SqlException\' occurred in EntityFramework.dll but was not handled in user code.

2条回答
  •  梦毁少年i
    2021-01-27 09:05

    Screenshot says that there is a problem between your application and sql server. Application cannot connect to the server. Possible reasons:

    1. Connection string values/format.
    2. No server or server down.
    3. Network problems.

提交回复
热议问题