I have setup a members area on one of my sites and am having trouble getting the retrieve password from .net to work.
The Problem:
Code is trying to create a txt file that it then sends to the end user. It is trying to place this file in the masterpages folder and appears to be unable to do so. If I manually create the file in that area it will email whatever is there to the user.
Error from .net members password retrieval
I have setup a members area on one of my sites and am having trouble getting the retrieve password from .net to work.
The Problem:
Code is trying to create a txt file that it then sends to the end user. It is trying to place this file in the masterpages folder and appears to be unable to do so. If I manually create the file in that area it will email whatever is there to the user.
My code in template:
<asp:PasswordRecovery ID="PasswordRecovery1" Runat="server"
SubmitButtonText="Get Password" SubmitButtonType="Link">
<MailDefinition From="[email protected]"
Subject="Your password"
BodyFileName="PasswordMail.txt" />
</asp:PasswordRecovery>
My web.config:
<add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Clear" />
<add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Clear" />
Server is Windows 2008 Standard - 32 bit with SP2
umbraco v 4.7.0 (Assembly version: 1.0.4090.21631)
Ok I resolved it.
I needed to create the text file and then add <%password%> to it in order to display the password in the output.
is working on a reply...