Happens,, never mind :)
Below is the snip in the web config, which worked for me and I'm sure it will work for you all too... Mainly that happens when we miss out attributes like "applicationName" etc.
Hope this helps.
<membership defaultProvider="CustomAspNetSqlMembershipProvider">
<providers>
<clear/>
<add name="CustomAspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="eWentDatabase"
applicationName="/"
minRequiredPasswordLength="6"
requiresUniqueEmail="true"
requiresQuestionAndAnswer="true"
passwordFormat="Hashed" />
</providers>
</membership>
<roleManager enabled="true" defaultProvider="CustomRoleProvider">
<providers>
<add name="CustomRoleProvider"
type="System.Web.Security.SqlRoleProvider"
applicationName="/"
connectionStringName="eWentDatabase"
/>
</providers>
</roleManager>
No comments:
Post a Comment