[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1077
  • Last Modified:

Membership.ValidateUser returns error message The server is unwilling to process the request. (Exception from HRESULT: 0x80072035)

I currently have a web site that is integrated with Active Directory using the MemberShip provider.  Everything works fine and I can create/edit/ and change passwords for users. Occasionally a user gets hung and calling the ValidateUser method returns  "The server is unwilling to process the request. (Exception from HRESULT: 0x80072035)" for a particular user.  The only way around this is to delete and add the account again.  Other users can continue to log in to the system.

Here is the method call : Membership.ValidateUser(uid, pwd);
0
zekuczynski
Asked:
zekuczynski
  • 3
  • 3
1 Solution
 
LlamaJoeCommented:
In a brief web search - I found a number of references to this error and the user not having a password that met the Password policy as defined on the domain controller.  So ensure that the GUI enforces the same password policy as AD.
0
 
zekuczynskiAuthor Commented:
I did.  I even set it to a password that I used to reset mine that did not conflict with the password policy.  Still no luck.  The domain lets me change the password for this user and I can get the user using GetUser(userid).  I still get this error when I try to validate the account.
0
 
LlamaJoeCommented:
have you defined a machine key in your web.config?  this will ensure that the password hash is always the same.

try this tool to create a machine.key value - http://aspnetresources.com/tools/machineKey 
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
zekuczynskiAuthor Commented:
Yes we do have a machinekey in the web.config file
0
 
LlamaJoeCommented:
can I assume you have both encryption and decryption keys defined?
0
 
zekuczynskiAuthor Commented:
I will continue to research this further.
0

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now