I`ve created MVC 5 project with Entity Framrwork Code First. In the project there are 5 model classes - some of them have foreign keys. After I start the project I can no loger access to MS SQL 2014 Management Studio. There is 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
------------------------------
Error Number: 2
Severity: 20
State: 0
MSSQL is running on my local machine. I used to log in with sever name = .