UserSettings with ID does not exist – Error while creating a user in MSCRM using SDK

Recently in our project we were getting this error continuously while creating a user in CRM using SDK. The code basically reads the user data from a text file and creates the record in CRM.

Googled a lot about the error and tried all the resolutions available. But nothing solved the problem. Also the problem was not occuring for all users but some of the user’s data. Hence we thought that the error might be because of data and nothing to do with the code.

Voila!. Our guess was right. for some of the user’s data, first name and the last name was not coming. Since CRM derives the Fullname of the user from the First, Last name, we were getting this error.

However had to say that the error message is quite misleading.

However thought of sharing since this might be of help for others getting similar error.

 

Hope this helps!

Advertisements

About Debajit
I am a Dynamics CRM Most Valuable Professional (MVP) with 10 years of experience in Microsoft .NET Technologies and 7 years of dedicated experience in Microsoft Dynamics CRM. I have worked with companies like Microsoft, SanDisk, PwC, TMF Group and have extensive experience of implementing complex CRM solutions from both offshore and client side. Currently the face of XrmForYou.com with significant experience in delivering corporate training on Dynamics CRM and have already delivered multiple projects to client through XrmForYou.com Author of multiple tools on codeplex including the 'Role Based Views' and 'CRM-Sharepoint Metadata manager & Attachment Extractor' which are available for commercial use under XrmForYou.com For consulting/ training, drop me a note at info@xrmforyou.com or visit our website www.xrmforyou.com

2 Responses to UserSettings with ID does not exist – Error while creating a user in MSCRM using SDK

  1. Pingback: UserSettings with ID does not exist ~ Error while creating a user in MSCRM – Dyaman

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: