ASP.NET login issue

Discussion in 'ASP.NET 2.0' started by rrkky, Jan 13, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi Scott,</o:p>
    I have been trying to troubleshoot an ASP.NET login issue <st1:personName w:st="on">for the past 5 days and I am desperate <st1:personName w:st="on">for assistance. I have posted on the database forumn and contacted support and I am no closer to fixing this than I was on Monday.
    </o:p>
    My website is yellowbrickroadtech.com </o:p>
    </o:p>
    I built the site using Visual web developer express. I have since installed SQL 2005 developer edition and Visual Studio 2005.</o:p>
    </o:p>
    I am using a SLQ 2005 server at my host site discountasp</o:p>
    </o:p>
    When I create usesrs roles etc, they show up in remote datebase at discount asp. So everything there appears to be working. My only purpose <st1:personName w:st="on">for the database is to have users authenticate to access a secured folder and files.</o:p>
    </o:p>
    When my users who have valid accounts created login I get ?</o:p>




    Your login attempt was not successful. Please try again.</o:p>


    <input id=ctl00_ContentPlaceHolder1_Login1_LoginButton onclick='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$Login1$LoginButton", "", true, "ctl00$ContentPlaceHolder1$Login1", "", false, false))' type=submit value="Log In" name=ctl00$ContentPlaceHolder1$Login1$LoginButton ACTION="login.aspx" METHOD="post"></o:p>
    </o:p>
    This of course tells me <st1:personName w:st="on">for some reason the the database is not being queried. I have seen post on the asp.net site of others with this issue, but again no resolution. I need to get this fixed ASAP. PLEASE someone has to know what is going on.
    </o:p>
    Below is my web.config
    </o:p>
    </o:p>
    </o:p>
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"></o:p>

    <connectionStrings></o:p>
    <remove name="LocalSqlServer" /></o:p>
    <add name="LocalSqlServer" connectionString="Data Source=tcp:sql2k505.discountasp.net;Integrated Security=false;Initial Catalog=SQL2005_294046_ybr;User ID=SQL2005_294046_ybr_user;Password=(my password is here)" providerName="System.Data.SqlClient"/></o:p>
    </connectionStrings></o:p>
    </o:p>
    </o:p>
    </o:p>
    <system.web></o:p>
    <authentication mode="Forms"></o:p>
    <<st1:personName w:st="on">forms loginUrl="login.aspx" protection="Validation" timeout="300" /></o:p>
    </authentication></o:p>

    </o:p> <roleManager enabled="true" /></o:p>



    <compilation debug="true" strict="false" explicit="true"></o:p>
    <assemblies></o:p>
    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></o:p>
    <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></o:p>
    <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></o:p>
    <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></o:p>
    </assemblies></o:p>
    </compilation></o:p>
    <pages></o:p>
    <namespaces></o:p>
    <clear/></o:p>
    <add namespace="System"/></o:p>
    <add namespace="System.Collections"/></o:p>
    <add namespace="System.Collections.Specialized"/></o:p>
    <add namespace="System.Configuration"/></o:p>
    <add namespace="System.Text"/></o:p>
    <add namespace="System.Text.RegularExpressions"/></o:p>
    <add namespace="System.Web"/></o:p>
    <add namespace="System.Web.Caching"/></o:p>
    <add namespace="System.Web.SessionState"/></o:p>
    <add namespace="System.Web.Security"/></o:p>
    <add namespace="System.Web.Profile"/></o:p>
    <add namespace="System.Web.UI"/></o:p>
    <add namespace="System.Web.UI.WebControls"/></o:p>
    <add namespace="System.Web.UI.WebControls.WebParts"/></o:p>
    <add namespace="System.Web.UI.HtmlControls"/></o:p>
    </namespaces></o:p>
    </pages></o:p>
    </system.web></o:p>

    </o:p>
    </o:p> <appSettings/></o:p>



    <system.net></o:p>
    <mailSettings></o:p>
    <smtp from=""></o:p>
    <network host="localhost" password="(my password is here)" userName="yellowbric1" /></o:p>
    </smtp></o:p>
    </mailSettings></o:p>
    </system.net></o:p>
    </configuration></o:p>
    </o:p>

    Post Edited By Moderator (mjp) : 1/15/2007 7:02:15 PM GMT
     
  2. BTW the error is just:

    When my users who have valid accounts created login I get ?</o:p>




    Your login attempt was not successful. Please try again.</o:p>








    There is not the code under it that showed up on my first post.
     
  3. I'm also having this problem. can someone please answer for us? thanks in advance.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page