[RESOLVED]Error while running downloaded MVC Music store project

hello all,

I have downloaded MVC project with kendo Ui for refernce,as we are going to develop some webistes with kendo. UI from below link

https://github.com/telerik/kendo-music-store

am getting follwing error,

The ASP.NET Simple Membership database could not be initialized. For more information, please see http://go.microsoft.com/fwlink/?LinkId=256588

i have googled to solve this issue but no use .

tried all these:

<add key="enableSimpleMembership" value="true" />

changed connectionstring in web.config

<add name="MusicStoreEntities" connectionString="datasource=.SQLEXPRESS;attachdbfilename=|DataDirectory|KendoMusicStore.mdf;integrated security=True;connect timeout=30" providerName="System.Data.SqlClient" />

Please somebody help me out on this.

Thanks in adv.

The problem is with the connection strings. Check for the connection strings for the local database. Try with the below:-

<connectionStrings>
    <add connectionString="Data Source=RI-PC10SQLEXPRESS;Integrated Security=True;Initial Catalog=RealEstate; name="DefaultConnection" providerName="System.Data.SqlClient"/>
  </connectionStrings>

You can also try out and check in the below link.:-

http://stackoverflow.com/questions/15309950/asp-net-mvc4-simple-membership-fails-to-initialize-if-using-entity-connection-st

Thanks.

Leave a Reply