Home > OS >  ASP.NET MVC Connection Problem (Error: System.Data.SqlClient.SqlException)
ASP.NET MVC Connection Problem (Error: System.Data.SqlClient.SqlException)

Time:10-13

Currently I am working in syncfusion chart in ASP.NET MVC binding in SQL however I got a problem in connection string. I tried to Connect to SQL SERVER - Network related or Instance in SQl Server Configuration Manager and allow other apps in firewall but still not working.

This is the error message in my codes

CodePudding user response:

If you know that the server is up and can query data from SSMS, then most probable cause is that you did not allow remote connections. Try enabling that on your SQL server.

I would try to connect to that instance through SSMS from your debug machine first.

  • Related