Click here to Skip to main content
16,022,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
im new to this and i dont kow what part of membership code should i replace


XML
<providers>
Line 64:                <remove name="AspNetSqlRoleProvider"/>
Line 65:                <add name="InvertedSoftwareShoppingCartRoleManagerSqlProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="StringConnection" applicationName="InvertedSoftwareCart"/>
Line 66:            </providers>
Line 67:        </roleManager>



XML
<membership defaultProvider="InvertedSoftwareShoppingCartMembershipSqlProvider" userIsOnlineTimeWindow="30">
            <providers>
                <remove name="AspNetSqlMembershipProvider"/>
                <add name="InvertedSoftwareShoppingCartMembershipSqlProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="StringConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="InvertedSoftwareCart" requiresUniqueEmail="true" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="6" maxInvalidPasswordAttempts="10" passwordAttemptWindow="10" passwordFormat="Hashed"/>
            </providers>
        </membership>
Posted
Comments
[no name] 10-Feb-14 6:40am    
do you want to get connection string from your config file?
Member 10533469 10-Feb-14 6:49am    
yes., Configuration Error
shown
[no name] 10-Feb-14 7:03am    
Refer here to get ans- http://msdn.microsoft.com/en-us/library/system.web.security.membership.providers%28v=vs.110%29.aspx
Member 10533469 10-Feb-14 7:12am    
Tnx sir., It help a lot :)
[no name] 10-Feb-14 7:14am    
happy to help you.. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900