[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2010-09-08
6
Medium Priority
?
1,056 Views
Last Modified: 2013-11-08
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
Comment
Question by:zekuczynski
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 5

Expert Comment

by:LlamaJoe
ID: 33632891
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
 

Author Comment

by:zekuczynski
ID: 33637067
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
 
LVL 5

Expert Comment

by:LlamaJoe
ID: 33668708
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
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 

Author Comment

by:zekuczynski
ID: 33674339
Yes we do have a machinekey in the web.config file
0
 
LVL 5

Accepted Solution

by:
LlamaJoe earned 1500 total points
ID: 33678183
can I assume you have both encryption and decryption keys defined?
0
 

Author Closing Comment

by:zekuczynski
ID: 33852208
I will continue to research this further.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question