Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andraž 45 posts 65 karma points
    Jan 26, 2010 @ 09:31
    Andraž
    0

    Login problems

    Hello,

    does anyone know any solution to access to umbraco administration if login doesn't work? If i try to login in my page it show's login page over and over again...so i can't access the background. You can also see a line if you hover over the "Prijavi se (login)" link in www.simprisk.com.

     

    Thanks.

  • Andraž 45 posts 65 karma points
    Jan 26, 2010 @ 09:35
    Andraž
    0

    if this helps...

     

    This is macro:

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Login.ascx.cs" Inherits="KrikRM.Web.Login" %>
    <%@ Register Src="LoginStatus.ascx" TagName="LoginStatus" TagPrefix="uc1" %>
    <asp:Login ID="Login1" runat="server" DisplayRememberMe="False" MembershipProvider="UmbracoMembershipProvider"
         VisibleWhenLoggedIn="true" FailureText="<%$ Resources:CommonTerms, WrongPass %>"
        OnAuthenticate="Login1_Authenticate">
        <LayoutTemplate>
            <div class="box box-50 altbox">
                <div class="boxin">
                    <div class="header">
                        <h3>
                            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Login.Title %>" /></h3>
                    </div>
                    <form class="fields" action="" method="post" enctype="multipart/form-data">
                    <!-- Forms (plain layout, cleaner) -->
                    <fieldset>
                        <table border="0" cellpadding="1" cellspacing="0" style="border-collapse: collapse;">
                            <tr>
                                <td>
                                    <table border="0" cellpadding="0">
                                        <tr>
                                            <td align="center" colspan="2">
                                                <%-- <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Login.Title %>" />--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right">
                                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" Text="<%$ Resources:Login.UserNameText %>" />
                                            </td>
                                            <td>
                                                <asp:TextBox ID="UserName" CssClass="txt" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                    ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="ctl00$Login1">*
                                                </asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right">
                                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Text="<%$ Resources:Login.PasswordText %>" />
                                            </td>
                                            <td>
                                                <asp:TextBox ID="Password" runat="server" TextMode="Password" CssClass="txt" />
                                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                    ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="ctl00$Login1">
                                                                *
                                                </asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" colspan="2">
                                                <%-- <span class="msg msg-error"><asp:Literal  ID="FailureText" runat="server" EnableViewState="False" /></span>--%>
                                                <asp:Label CssClass="msg msg-error" Visible="false" ID="FailureText" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" colspan="2">
                                                <asp:Button CssClass="button" ID="LoginButton" runat="server" CommandName="Login"
                                                    Text="<%$ Resources:Login.ButtonText %>" ValidationGroup="ctl00$Login1"
                                                    onclick="LoginButton_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                    </form>
                </div>
            </div>
        </LayoutTemplate>
    </asp:Login>
    <%--<uc1:LoginStatus ID="LoginStatus1" runat="server" />--%>

     

    And template:

     

    <%@ Master Language="C#" MasterPageFile="/masterpages/FrontMaster.master" AutoEventWireup="true" %>
    <asp:Content ContentPlaceHolderID="holdme" runat="server">

        <umbraco:Macro AdminRedir="/dashboard.aspx" MemberRedir="" Alias="LoginMacro" runat="server"></umbraco:Macro>

    </asp:Content>

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 26, 2010 @ 10:04
    Dirk De Grave
    0

    Andraz,

    Are you trying to login to the admin backend from the frontend? Members and users are different concepts, and I don't think you can login to the backend using the provider you've specified as part of the login control?

    Cheers,

    /Dirk

  • Andraž 45 posts 65 karma points
    Jan 26, 2010 @ 11:33
    Andraž
    0

    Yes, i'am trying to login to backend from frontend......and i'am trying to login with my umbraco admin account in simprisk.com/umbraco .... but it still doesn't work...it did a few days ago...but not now

     

    Tnx

  • Chris 69 posts 75 karma points
    Jan 29, 2010 @ 10:35
    Chris
    0

    Hi Andraz,

    It seems like we are having the same (or a similar) problem:

    http://our.umbraco.org/forum/getting-started/installing-umbraco/6794-Admin-login-not-working-after-server-migration

    Did you do any updates to the web.config? (Like upgrading to .NET 3.5)

    Dan made a good point about a missing passwordFormat="Hashed" attribute in the web.config. Maybe this can help you out.

     

    Cheers,

    Chris

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft