ASP.NET MVC 4 An exception of type ‘System.Data.SqlClient.SqlException’ occurred in System.Data.dll but was not handled in user code

there is a problem with the connection to the database. The main reason for this… sorry, it could be a network issue, firewall, rejected port, wrong details, etc… What I would do: try try and catch to manage the exception and see the error that you are getting,
For more info:

Leave a Comment