Good morning,
After several hours of searching and more trial and error than i care to admit; I need some additional guidance.
We are trying to use an existing ASPNETDB.mdf [in this case for the club site starter kit . I've been through billyboy's 1.9.3 integration guide and haven't had any luck with adding our ASPNETDB.mdf to the membership provider.
We have tried copying the ASPNETDB file from our existing site and placing it into an App_Data folder. We have been able to run the site after making those changes but we aren't able to login.
Has anyone been able to integrate an ASPNETDB membership db? Would you please share your sucess story with the Padawan learners?
We would like to have a single membership database so we don't have to require our users to login to the club site and then have separate login credentials for the forum.
Here is our web.config. Have we missed something?
<roleManager enabled="true" defaultProvider="YafRoleProvider">
<providers>
<clear/>
<add connectionStringName="ASPNETDB" applicationName=""
name="YafRoleProvider" type="System.Web.Security.SqlRoleProvider"/>
</providers>
</roleManager>
<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">
<providers>
<clear/>
<add connectionStringName="ASPNETDB" applicationName=""
name="YafMembershipProvider" requiresUniqueEmail="true"
type="System.Web.Security.SqlMembershipProvider"/>
</providers>
</membership>
And the db.config connection string.
<add name="ASPNETDB" connectionString="Data Source=.\SQLExpress;Integrated Security=true;AttachDBFileName=|DataDirectory|ASPNETDB.mdf;User Instance=True" providerName="System.Data.SqlClient"/>
Any guidance you can provide will be fantastic. What are we missing? Does it matter that our existing web app is in VB? We are trying to avoid using this alternative .
THANK YOU!