Help Needed

Help Needed

  • NA
  • 13
  • 22.8k

EntityFramework

Aug 15 2016 8:12 PM
Hi
 
I am working with EntityFramework .whenever I run the project it says  
 

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: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)

The connection is fine with other projects. Only with entityframework it is giving the error. I changed the name in connectionstring to match with the class derived from DbContext. 

Answers (3)