I am working on following requirement.
There is AJAX control, tabcontainer which is added in a user control which inturn is loaded in a sharepoint web part.
Controls added int the tabcontainer include textboxes, a drop downbox and a button.On Page load I am connecting to sharepoint logged in user profile and display the information in the tabcontainer. I have kept provision to change the values for some fields
which the user can change. On click of submit button the data should get saved to the same user profile and the tabcontainer should get refreshed with the new values entered.
Problem Faced: The values entered are not getting updated to AD. " The requested operation did not satisfy one or more constraints associated with the class of the object. (Exception from HRESULT: 0x80072014) " error is coming on click of submit. Following
is the code snippet.
DirectorySearcher sea = null;
errormsg += "25";
DirectoryEntry dir = null;
SPSite site = new SPSite(SPContext.Current.Site.ID);
SPWeb website =
View Complete Post