Error while reseting the AD user password through an application RRS feed

  • Question

  • We have developed an appllication for reset and change password of users in AD. The error i am facing is that, when a users tries to reset the password it gives the below error in the application, but the password is reset.

    6/28/2010 11:43:57 AM\UserName=ABGPLANET\ilmtest\Exception: Exception has been thrown by the target of an invocation.\System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\   at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args)
       at CLassPMP.ResetUserPassword(String strUser, String strPassword, String strDomain, String& strServerFailure)
       at CLassPMP.SendSMS(String domain, String userName, String& strMailAvilablility)
       at ForgotPwd.btnSubmit_ServerClick(Object sender, EventArgs e)

    Can anyone help!!!!


    • Moved by Chao Kuo Tuesday, June 29, 2010 10:19 AM Active directory,where is it belong (From:Visual Studio Source Control and SourceSafe)
    Monday, June 28, 2010 6:46 AM