I am working on an MVC Music Store tutorial and run into a problem when I try to connect to a database using an entity model. I have tried a number of these step-by-step instructions, and I continue to encounter problems when I get to this part.
I do not want to use SQL Compact Edition (although I tried to install it only for the tutorials to work). Rather, I have SQL Server Developer 2005 Edition, as well as a named instance of SQL2008 Express (again, it is installed only to find out if I can get the tutorial to work). Here is my connection string:
<connectionStrings> <add name="MusicStoreEntities" connectionString="server=2-BQZ5DP1\DELS2008EXPRESS;Integrated Security=SSPI;database=MvcMusicStore"/> </connectionStrings>
The closing tag for the connectionStrings element will not be published in the code snippet, so pretend it is.
What do I need to do differently? 2-BQZ5DP1 is the name of my window, and the SQL Express instance is the named instance.
Del lee
source share