I am developing a MVC 5 application. In my MVC 5 application i want to create a mdf file from App-Data folder but when i want to add mdf file from Add New Item menu of Add_Data folder, i receive an error
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. Cannot create an automatic instance. See the Windows Application event log for error details
Try running
SqlLocalDB delete “v11.0”
followed by
SqlLocalDB create “v11.0”
SqlLocalDB.exe is located in C:\Program Files\Microsoft SQL Server\110\Tools\Binn.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With