Solved

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

Posted on 2010-09-08
6
1,037 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
  • 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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now