I'm trying to create database file and configure datasource by right clicking on SqlDataSource in Visual Studio IDE:
Then I give a name for the database file and when I hit ok I get an error message like this:
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. Error occurred during LocalDB instance startup: SQL Server process failed to start.
How do I fix this problem?