Hi All,
Anyone else experiencing this problem?
"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>
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
Any ideas please?
Regards