5
Answers

Network Related Error while adding an mdf file

Nimit Joshi

Nimit Joshi

10y
6.3k
1

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


Answers (5)