When adding an Entity Data Model to my project I choose
-> Generate from existing Database
-> New connection
-> Data source : Sql server Database file -> browse to the file .
when clicking ok I get the following 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: 26 - Error Locating Server/Instance Specified)
any ideas what could be the cause for this?
I've removed SQL server 2008 R2 and installed sql server 2008 express
now I get a different error concerning the Northwind sample database.
The database '...' cannot be
opened because it is version 661. This server supports version 662 and earlier. A downgrade path is not supported.
Could not open new database '...'. CREATE
DATABASE is aborted.
An attempt to attach an auto-named database for file C:\.. failed. A
database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
I'm guessing I would of gotten this error with the SQL SERVER R2 installation if it would of been able to connected.