Error Message

Sep 9, 2009 at 12:36 PM

Hi Alexis,

This is really a great tool. Thanks a tom for sharing it. I am gettin this error (Below) when i click the select button after selecting a user. I would be very thankful if u can point out where i am making a mistake.

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at NomineSharePointTools.ADUserEditor.findFromAccountName(String Name) at NomineSharePointTools.ADUserEditor.selectUser()

Many thanks in Advance

Coordinator
Sep 10, 2009 at 10:34 AM

Hi gaganrkapoor,

It looks like there's no corresponding domain in your XML config.

eg: if the username is "MYDOMAIN\myusername", then the webpart looks in its config for "<domain name='MYDOMAIN' path='LDAP://mydc.mydomain.com/DC=mydc,DC=mydomain,DC=com' usr='xxxx' pwd='yyyy' />"

Could you check it?

Alexis

Sep 15, 2009 at 11:43 AM

Hi Alexis,

First of all thanx a ton for the quick reply. It worked, it is a great tool to fix the error in exchange. It will help me resolve many of the troubles. Thanks again

Sep 15, 2009 at 10:41 PM

Where is the XML config ? Is it the web.config of the portal ?

 

Thanks

Kris

Sep 15, 2009 at 10:43 PM

nervermind, I have found it. I guess I spoke too soon.