After disabled IIS, my MVC project which are using localhost that used to work is not longer working. Whenever i try to access the database, it will come out an error. Then i decided to create a new mvc project to test again but same problem still occur. Here is the error message displayed when i trying to access the localhost database.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 50 - Local Database Runtime error occurred. The specified LocalDB instance does not exist. )
I had found a lot solutions but none works on mine. Can anyone help me solve the problem? Btw, i am using Visual Studio 2015 and Window 10.