Text type document called "Login" created with "Login" above as template.
Now if preview the "Login" document, the login form appears, which, I guess means that the macro is used correctly, BUT
when I right-click on a node, choose Public Access, Single user protection, I get an error when I press Update after entering login and pass, and giving "Login" page as both login and error page.
The error I get is the following:
Code: Server Error in '/' Application. --------------------------------------------------------------------------------
No node exists with id '0' Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: No node exists with id '0'
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433</div>
</div>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
i am really sorry about the two previous posts, and as one might guess they are not intentionally formatted and posted the way they are now. the whole look of this "forum" is very different from what i am used to (at least on my computer and in my browser.
now, i have done the suggested upgrade, and the error posted above is what i receive. this error is mentioned in the old forum, but of no help to me. suggestions are appreciated.
I dont know if this is the way to go but if you check the user in the db and manually add an old password? For me upgrading to latest upgrade was sufficient to solve the problem. Otherwise, remove the protection, create a new and see if that helps..?
Simple Protection problem
Hi,
I thought I'd give it a try here as well. The problem appears when trying to make a simple password protection, see below.
umbraco v 4.0.0 / MySQL 5.0.67 / Windows XP Pro / IIS 5.1
---------------------------------------------------------------------------
"Login" template created and macro inserted as below:
Code:
<umbraco:Macro LogOutOnly="0" LoggedInText="test" SignOutLinkText="test2" macroAlias="MemberLogin" Alias="MemberLogin" runat="server"></umbraco:Macro>
</div> </div>
within form tags.
Text type document called "Login" created with "Login" above as template.
Now if preview the "Login" document, the login form appears, which, I guess means that the macro is used correctly, BUT
when I right-click on a node, choose Public Access, Single user protection, I get an error when I press Update after entering login and pass, and giving "Login" page as both login and error page.
The error I get is the following:
Code:
Server Error in '/' Application.
--------------------------------------------------------------------------------
No node exists with id '0'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: No node exists with id '0'
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: No node exists with id '0']
umbraco.cms.businesslogic.CMSNode.setupNode() +363
umbraco.cms.businesslogic.member.MemberType.GetByAlias(String Alias) +127
umbraco.providers.members.UmbracoMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) +76
System.Web.Security.Membership.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) +224
System.Web.Security.Membership.CreateUser(String username, String password, String email) +30
System.Web.Security.Membership.CreateUser(String username, String password) +6
umbraco.presentation.umbraco.dialogs.protectPage.protect_Click(Object sender, CommandEventArgs e) +361
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433</div> </div>
Any ideas please?
Regards
Upgrade to latest version and the problem will be solved.
http://umbraco.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=23321
Server Error in '/' Application. <hr size="1" />
The parameter 'oldPassword' must not be empty.
Parameter name: oldPassword
Server Error in '/' Application. </span>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
What is the purpose of the two previous posts?
If you have done the suggested upgrade and still receive errors, please try and make a better description instead of just posting the whole error.
i am really sorry about the two previous posts, and as one might guess they are not intentionally formatted and posted the way they are now. the whole look of this "forum" is very different from what i am used to (at least on my computer and in my browser.
now, i have done the suggested upgrade, and the error posted above is what i receive. this error is mentioned in the old forum, but of no help to me. suggestions are appreciated.
Regards
I dont know if this is the way to go but if you check the user in the db and manually add an old password? For me upgrading to latest upgrade was sufficient to solve the problem. Otherwise, remove the protection, create a new and see if that helps..?
I am also having this issue in version 4.0.3
Kind regards
Dennis Milandt
Same here. When I check the cmsMember table I can see it creates a member with the username I entered but with no password.
is working on a reply...