.NET Programming
--
Questions
--
Followers
Top Experts
Your login attempt was not successful. Please try again.
I'm trying to put an app on the web and I'm having some trouble with the login control. Â Everytime I try to log in I get this error: Â Your login attempt was not successful. Please try again.
I've gone through this entire site: Â http://www.codeproject.com/Articles/27682/Your-Login-Attempt-was-not-Successful-Please-Try
and i applied all the tricks and it still isnt working. Â I think I may have boffed something up in the web.config. Â Here is my web.config: Â
I also added a gridview to test the permissions to the membership tables and my user can access each...
Any ideas? Â This is starting to drive me mad and as always thanks for all the help experts!!
I've gone through this entire site: Â http://www.codeproject.com/Articles/27682/Your-Login-Attempt-was-not-Successful-Please-Try
and i applied all the tricks and it still isnt working. Â I think I may have boffed something up in the web.config. Â Here is my web.config: Â
<?xml version="1.0" encoding="UTF-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<remove name="LocalMySqlServer" />
<remove name="LocalSqlServer" />
<add name="MembershipProvider" connectionString="Data Source=SERVER1\SQLEXPRESS;Initial Catalog=aquarium;Persist Security Info=True;User ID=user;Password=!password!" />
</connectionStrings>
<system.web>
<compilation debug="true" strict="false" explicit="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
</assemblies>
</compilation>
<customErrors mode="Off" />
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>
<membership hashAlgorithmType="SHA1">
<providers>
<clear />
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="MembershipProvider"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
requiresUniqueEmail="false"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
applicationName="Goldfish" />
</providers>
</membership>
<profile defaultProvider="SqlProvider">
<providers>
<clear />
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="MembershipProvider" applicationName="Goldfish" />
</providers>
<properties>
<add name="FirstName" />
<add name="LastName" />
<add name="Birthday" />
</properties>
</profile>
<roleManager enabled="true">
<providers>
<clear />
<add connectionStringName="MembershipProvider" applicationName="Goldfish" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" />
</providers>
</roleManager>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<clear />
<add value="Default.htm" />
<add value="Default.asp" />
<add value="index.htm" />
<add value="index.html" />
<add value="iisstart.htm" />
<add value="default.aspx" />
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
I also added a gridview to test the permissions to the membership tables and my user can access each...
Any ideas? Â This is starting to drive me mad and as always thanks for all the help experts!!
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
yes very much so, Â not locked either
okay nevermind they were locked... in the eternal words of homer j: d'oheth.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
.NET Programming
--
Questions
--
Followers
Top Experts
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.