ADAM change password erroring out...

May 13, 2010 at 9:54 AM


1. The ADAMPasswordChange.wsp is downloaded, added to the solution and deployed to the site collection.

2. The ADAM Password feature is activated for a specific site.

3. Added web part to the page

4. Below App settings are added for the respective site's web.config

add key="AdamServerName" value="Server Name" />
    <add key="AdamSource" value="OU=Users,DC=value,DC=value" />

Nowhere i have specified the port number on which the ADAM instance is running. Is it not required.

Logged on to the site with ADAM account credentials and tried changing the password, but i am getting the below error.

User Password Change Error: at ADAMPasswordChange.ADAMPassword.btn_Click(Object sender, EventArgs e) Object reference not set to an instance of an object.

Note: A user is created, set password and enabled.

Please let me know what might be going wrong and what more information you need to know the problem