Nimit Joshi

Nimit Joshi

  • NA
  • 26.9k
  • 14.5m

Network Related Error while adding an mdf file

Aug 23 2013 10:01 AM

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)