I downloaded the app from the source section and it didn't have the mdf file. It was in the assests zip file. Even After using the mdf file and changing the connection string to use it, now I get this error:
Server Error in '/' Application.
Model compatibility cannot be checked because the database does not contain model metadata. Ensure that IncludeMetadataConvention has been added to the DbModelBuilder conventions.
I didn't want to spend more time troubleshooting another issue.
I noticed a file called MvcMusicStore-Create.sql. I didn't see a reference to it in the tutorial or source code so I don't know what its purpose. Also the table names in the script are in plural while the tables names in the mdf file are singular. Conclusion:
not the script that populated the mdf? All this is making things more confusing.
I downloaded and installed SQL CE and the app works now.
Thanks for your reply.