This project is read-only.

Cannot connect to Database

Jul 17, 2012 at 9:03 PM
Edited Jul 17, 2012 at 9:03 PM

I am running into a roadblock here on the 7th step.




How can I fix this?

Jul 23, 2012 at 3:49 AM

Can anyone help me with this? I have been waiting for a response since the 17th.

Jul 23, 2012 at 7:17 PM

Do you have SQL Server Express installed? That's the most common cause of this problem.

Jul 24, 2012 at 4:23 AM

Yes, I have SQL Server Express 2008 R2 installed, as well as SQL Server Express 2012.

Jul 24, 2012 at 6:01 PM

I'm really sorry you're having trouble with that.

There are a variety of reasons why this wouldn't work:

Honestly, since this is an issue with an ASP.NET feature, the best way to get help is by posting on the ASP.NET site forums here:

It's likely a problem with your database connection string, so I'd include the contents of your web.config in your post.

- Jon

Jul 26, 2012 at 9:48 AM

that's my problem too, eventhough i'm using this connection string;

  <connectionStrings>    <add name="MusicStoreEntities"    connectionString="Data Source=|DataDirectory|MvcMusicStore.sdf"    providerName="System.Data.SqlServerCe.4.0"/>  </connectionStrings>

I can't create a new user.. even at 


it is working