An unhandled exception occurred while processing the request. Win32Exception: Unknown error (0x89c5010a)
Unknown location SqlException: 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: SNI_PN11, error: 50 - Local Database Runtime error occurred. Error occurred during LocalDB instance startup: SQL Server process failed to start. )
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, bool callerHasConnectionLock, bool asyncClose)
I'm suddenly getting this error, from out of nowhere. I've never had it before. I was just working on my ASP.NET MVC project, refactoring some controllers, and one minute my program was running like usual and the next I get this error (on all my projects in Visual Studio, mind you, so it doesn't seem to be any typos in the connection string etc).
I've made no changes on my PC, I've done nothing. All I did was uninstall Valorant because my storage space was running out.
I googled the problem and I've tried all the solutions here on stackoverflow, like enabling TCP/IP and restarting the process etc... but nothing is working.
Also, why is it mentioning remote connections? My DB is on this same computer as it always was.