troubleshooting Question

Membership doesn't work

Avatar of purdyra1
purdyra1Flag for United States of America asked on
.NET ProgrammingC#Web Applications
6 Comments1 Solution234 ViewsLast Modified:
Ugghh, I am so confused!!!

I took over this project for someone else.
There wasn't anything in the webconfig about  a defaultProvider.
The app for the most part worked fine, and I could get values from the Membership tables.
I am using the Forgot Your Password section now and would like to get the SuccessText and place it in the label? that it was successful.

I am able to reset the password and email it to myself.

So now I added the code below to the web.config and I get an error saying:
    "We were unable to access your information. Please try again."

If I remove the web.config section, It will at least let me login, etc... again.

I've tried AspNetSqlProvider, SqlProvider, different answers others have used, and I am stuck.
Thanks for anyone's help.

<authentication mode="Forms">
<forms loginUrl="~/login.aspx" defaultUrl="~/reports/Default.aspx"/>
</authentication>

    <membership defaultProvider="AspNetSqlProvider">
      <providers>
        <add name="AspNetSqlProvider"          
             type="System.Web.Security.SqlMembershipProvider"        
             connectionStringName="ConnStringNameInWebConfig"      
             requiresQuestionAndAnswer="false"        
             requiresUniqueEmail="true"        
             passwordFormat="Hashed"        
             minRequiredNonalphanumericCharacters="0"        
             minRequiredPasswordLength="8" />
      </providers>
    </membership>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros