SharePoint Object Model UserProfileManager Exception: "the value's length for key 'application name' exceeds its limit of '128'."

442 views Asked by At

When trying to retrieve user profiles using SharePoint Object model it gives the "the value's length for key 'application name' exceeds its limit of '128'." Apparently the solution is to reduce the length of the UserProfle DB Name. It is not possible for the environment I am working and is there any possible way to solve this exception without changing the DB name?

1

There are 1 answers

0
Buddhi Madarasinghe On

This can be resolved by reducing the namespace length of the dll.