 |
|
 |
Hi all,
I installed success ,but when i change pass ,It display warning "Password incorrect or New Password invalid. New Password length minimum: 7. Non-alphanumeric characters required: 1" .Although my computer with disable strong password.
Pls, help
PS: i tried with strong password,but it's still warning
|
|
|
|
 |
|
 |
Nice Article. Given step by step.
And most important works fine.
|
|
|
|
 |
|
 |
I cannot seem to get the CancelDestinationURL or ContinueDestinationURL to work if I have more then one site collection set-up.
For example when i navigate to the Change Password on site
http://mysiteaddress/sites/0B2FCD46-48CC-45C1-9830-DB8FE364CF24/default.aspx
http://mysiteaddress/sites/0B2FCD46-48CC-45C1-9830-DB8FE364CF24/_layouts/changepassword.aspx
My ChangePassword control is configured like so on the changepassword.aspx
<asp:ChangePassword ID="ChangePassword" runat="server"
CancelDestinationPageUrl="~/default.aspx"
ContinueDestinationPageUrl="~/default.aspx"
NewPasswordRegularExpression="Error: Your password must be at least 7 characters long, and contain at least one number and one special character.">
</asp:ChangePassword>
When I click on Cancel I am redirected to http://mysiteaddress/default.aspx
and not
http://mysiteaddress/sites/0B2FCD46-48CC-45C1-9830-DB8FE364CF24/default.aspx
as expected.
Please help.
Thanks
|
|
|
|
 |
|
 |
Hi joffies,
You can put URLs as absolute values , not relative values
so try to put the full URL 'http://mysiteaddress/sites/0B2FCD46-48CC-45C1-9830-DB8FE364CF24/default.aspx' instead of 'http://mysiteaddress/default.aspx'
Regards,
|
|
|
|
 |
|
 |
Hi Akrumouz
I cannot do it that way cause I have multiple sites using the same ChangePassword.aspx page.
Example..
http://mysiteaddress/sites/0L2GEF46-43CC-45C2-1111-DL8FE364CF22/default.aspx
http://mysiteaddress/sites/0Q2POP46-27CC-45C6-4908-DQ8FE311CF23/default.aspx
http://mysiteaddress/sites/0E2FDD46-38CC-45C3-0033-DE8FE354CF29/default.aspx
http://mysiteaddress/sites/0F2ABC46-50CC-45C6-7733-DF8FE309CF20/default.aspx
I therefore cannot hardcode the abosolute path into the changepassword.aspx page, I somehow need to set it at run time.
I tried to use the following SharePoint method(which is the path i need to set it to) in the ChangePassword,aspx page to set the CancelDestinationURL but it doesnt work
<%= SPContext.Current.Site.Url%>
Is there a way to let all sites use the same ChangePassword.aspx page?
|
|
|
|
 |
|
 |
OK, in this case I think you need to send a query string parameter using SiteURL token
so u can change UrlAction in elements.xml file to be:
<UrlAction Url="~site/_layouts/changepassword.aspx?SiteURL={SiteUrl}"/>
Then you can use this query string in ChangePassword.aspx page
Try it and tell me
|
|
|
|
 |
|
 |
ok, so you are obviously saying I should use the qeurystring on my ChangePassword.aspx page?
I am trying to use
<%= Request.QueryString("SiteURL")%>
Like so
<asp:ChangePassword ID="ChangePassword" runat="server"
CancelDestinationPageUrl="<%= Request.QueryString('SiteURL')%>"
ContinueDestinationPageUrl="<%= Request.QueryString('SiteURL')%>"
NewPasswordRegularExpression="Error: Your password must be at least 7 characters long, and contain at least one number and one special character.">
</asp:ChangePassword>
Thats not working though.
Not sure if thats what you were hinting at?
Thanks
|
|
|
|
 |
|
 |
Hi joffies,
I am sorry that currently I don't have a proper environment to test a solution then propagate it
What you did is great , but please tell me:
Is the correct query string is sent when you hit 'Change Password' ?
If yes and assigning it to ChangePassword control properties -as mentioned- didn't work
So you can write a code in page load to assign it problematically
Or easily you can override CancelButtonClick & ContinueButtonClick events writing a code to navigate to the query string
Good luck
Akram
|
|
|
|
 |
|
 |
it's not working and display an error which is given blow
Unknown Error
Troubleshoot issues with Windows SharePoint Services.
|
|
|
|
 |
|
 |
Hi,
Thank you. Helped me solve an immediate requirement.
Thanks,
Swaminathan B
|
|
|
|
 |
|
 |
Hello,
I just have one issue.
When I choose change password or cancel, it takes me to a page that can not be displayed. When I browse back to my main page the password has been changed.
It doesn't bother me, but I can see users getting confused.
Thank you,
Walter Beach
|
|
|
|
 |
|
 |
Hi Walter,
You can check ChangePassword control properties; there are:
CancelDestinationPageUrl property and ContinueDestinationPageUrl property
I set them to '~/pages/default.aspx' that may be not a valid URL in your site. You can change them as you need
good luck
|
|
|
|
 |
|
 |
Thank you this has resolved our issue.
In my case the URL doesn't have a sub folder called pages.
So the link should have gone to '~/default.aspx'
I have changed it and it now works.
Walter
|
|
|
|
 |
|
 |
Great article, well written, no need to ask a question, it's all there. You should write a book i buy it.
|
|
|
|
 |
|
 |
Can you or someone outline what would it take to use SSL only for the changepassword page? is this possible? how would you suggest going about doing that?
Thanks in advance. Great post.
|
|
|
|
 |
|
 |
Hello
I have created my own sql fba changepassword web part, how can I use this chagepassword.dll as feature.
It is working as webpart successfully.
Please advise
Ashish
|
|
|
|
 |
|
 |
Hi Ashish,
Actualy you can't use the web part dll as a feature.
To use a web part instead of changePassword.aspx , you should create a web page that hosts this web part then make a feature as described , in elements.xml file change UrlAction to redirect to your page
Wishes
|
|
|
|
 |
|
 |
I am receiving an error 403 when I try to change the password, any idea on how to fix the problem?
Thanks in advance.
|
|
|
|
 |
|
 |
Error 403 is a permission error and could be occured for many reasons, you need to check windows event viewer and sharepoint logs (always located in c:\program files\common files\microsoft shared\web server extensions\12\logs)- look for any errors same date time you try to change password.
|
|
|
|
 |
|
 |
OK,
I followed your instructions, but I don't see the Change Password option when logging as a FBA account. I do see it using a AD account. What am I missing? I did activate the Site Feature while logged in as the AD admin....is that an issue?
Thanks
Michael G.
|
|
|
|
 |
|
 |
Welcome Michael,
Sorry for beeing late in my reply
johnmcclain77 wrote: I did activate the Site Feature while logged in as the AD admin....is that an issue?
I don't think so,
It may be a permissions issue, you can tell me the FBA account permissions so we can investigate together
Wishes
Akram
|
|
|
|
 |
|
 |
Great material.Keep writing on Sharepoint.I am looking for it.5 from my side.
Cheers!!
Brij
|
|
|
|
 |
|
 |
Thanks Brij,
I you keep writing on EWS , I will on Sharepoint
|
|
|
|
 |
|
 |
Keep the good work brother,
you got my 5.
what I liked more is your profile image supporting GAZA.
|
|
|
|
 |
|
 |
Thanks for your comment
As Code Project is not a political forum, profile image is the maximum doing for Gaza here
|
|
|
|
 |