Click here to Skip to main content
16,005,552 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Dynamicaly menu creation in.net Pin
Sandeep Akhare7-Nov-06 19:35
Sandeep Akhare7-Nov-06 19:35 
QuestionExcel to DataGrid Problem Pin
alexfromto7-Nov-06 11:46
alexfromto7-Nov-06 11:46 
Questionpartial class in asp.net 2 Pin
alimohammed7-Nov-06 7:20
alimohammed7-Nov-06 7:20 
AnswerRe: partial class in asp.net 2 Pin
Guffa7-Nov-06 7:43
Guffa7-Nov-06 7:43 
GeneralRe: partial class in asp.net 2 Pin
alimohammed7-Nov-06 17:17
alimohammed7-Nov-06 17:17 
GeneralRe: partial class in asp.net 2 [To Guffa] Pin
Nitin19817-Nov-06 18:01
Nitin19817-Nov-06 18:01 
AnswerRe: partial class in asp.net 2 Pin
Guffa7-Nov-06 18:16
Guffa7-Nov-06 18:16 
QuestionActiveDirectoryMemembershipProvider.GetAllSorrows(); Pin
Amsterdamm7-Nov-06 7:05
Amsterdamm7-Nov-06 7:05 
Hey Folks,

I have been having some difficulties implementing the ChangePassword control to use the ActiveDirectoryMemembershipProvider. Any help or incite that you can provide would be most appreciated! Thanks in advance.

From within our webapp, despite the strength of the password used, when the ChangePassword control calls ActiveDirectoryMemembershipProvider.ChangePassword() function, a MembershipProviderException is thrown with the following description:

"The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. (Exception from HRESULT: 0x800708C5)"

However, the password policy for AD users is set as follows:

1) Enforce password history = 0 passwords remembered
2) Maximum password age = 0
3) Minimum password age = 0 days
4) Minimum password length = 8 characters
5) Password must meet complexity requirements = disabled
6) Store passwords using reversible encryption = disabled

(The AD server was rebooted)


Here are the configuration of the membership provider in the web.config:

<membership defaultprovider="MyADMembershipProvider">
<providers>
<add connectionstringname="ADConnectionString"
="" connectionusername="dev\administrator" connectionpassword="Password!" enablesearchmethods="true" name="MyADMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionprotection="Secure" enablepasswordreset="true" requiresquestionandanswer="true" requiresuniqueemail="false" maxinvalidpasswordattempts="1000" minrequiredpasswordlength="8" minrequirednonalphanumericcharacters="0" passwordstrengthregularexpression=".*" attributemapusername="sAMAccountName" attributemappasswordquestion="UserPasswordQuestion" attributemappasswordanswer="UserPasswordAnswer" attributemapfailedpasswordanswercount="UserFailedPasswordAnswerCount" attributemapfailedpasswordanswertime="UserFailedPasswordAnswerTime" attributemapfailedpasswordanswerlockouttime="UserFailedPasswordAnswerLockoutTime">



As you can tell from the password policy and the web.config, we have opened this wide up. The strange thing is that we are using the AD Membership provider and ChangePassword control right out-of-the-box, with literally no customization at all, so we are at a bit of a loss here.

Has anyone else successfully implemented this? Any thoughts?

╔╗
╠╣MSTERDAMM
║╚"Half our life is spent trying to find something to do with the time we have rushed through life trying to save." -- Will Rogers

QuestionMAC Address Through IE ? Pin
Yona Low7-Nov-06 4:57
Yona Low7-Nov-06 4:57 
AnswerRe: MAC Address Through IE ? Pin
RichardGrimmer7-Nov-06 5:39
RichardGrimmer7-Nov-06 5:39 
GeneralRe: MAC Address Through IE ? Pin
Yona Low7-Nov-06 7:08
Yona Low7-Nov-06 7:08 
AnswerRe: MAC Address Through IE ? Pin
ednrgc7-Nov-06 6:21
ednrgc7-Nov-06 6:21 
GeneralRe: MAC Address Through IE ? Pin
Yona Low7-Nov-06 7:10
Yona Low7-Nov-06 7:10 
GeneralRe: MAC Address Through IE ? Pin
ednrgc7-Nov-06 7:15
ednrgc7-Nov-06 7:15 
Questionwich button pressed in asp.net Pin
markmestrom7-Nov-06 4:28
markmestrom7-Nov-06 4:28 
AnswerRe: wich button pressed in asp.net Pin
Parwej Ahamad7-Nov-06 5:17
professionalParwej Ahamad7-Nov-06 5:17 
QuestionDropDown Search Pin
Dayekh7-Nov-06 4:01
Dayekh7-Nov-06 4:01 
AnswerRe: DropDown Search Pin
ravie gopal7-Nov-06 15:48
ravie gopal7-Nov-06 15:48 
GeneralRe: DropDown Search Pin
Dayekh7-Nov-06 22:37
Dayekh7-Nov-06 22:37 
QuestionJavascript Pin
sribachana7-Nov-06 3:33
sribachana7-Nov-06 3:33 
QuestionDropdown List Pin
Khan.Bangash7-Nov-06 3:02
Khan.Bangash7-Nov-06 3:02 
AnswerRe: Dropdown List Pin
_AK_7-Nov-06 19:36
_AK_7-Nov-06 19:36 
QuestionHow to have post Remainders?? Pin
Dileep.M7-Nov-06 2:50
Dileep.M7-Nov-06 2:50 
AnswerRe: How to have post Remainders?? Pin
CWIZO7-Nov-06 3:00
CWIZO7-Nov-06 3:00 
AnswerRe: How to have post Remainders?? Pin
Andrei_KS7-Nov-06 20:34
Andrei_KS7-Nov-06 20:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.