Answered by:
Add Multiple users error (CRM4.0)

Question
-
With MS CRM 4.0 (Rollup 6), I tried to add multiple users from CRM, I have got the error message:
"the following user was not added: yosr_t"
in the log file I has an error message : System.Runtime.InteropServices.COMExceptionThis is the log file content:
-------------------------------------------------------------------------------------------------
at ActiveDirectoryUtility.FindUser(String domainAccountName)
at ActiveDirectoryUtility.PopulateSystemUserProperties(Entity user)
at UserManager.AddUsers(String userXml, Guid[] roles, Boolean sendInvitation)
at RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at LogicalMethodInfo.Invoke(Object target, Object[] values)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Unable to get find user TOPNET\yosr_t: System.Runtime.InteropServices.COMException (0x8007203A): Le serveur n'est pas opérationnel.
>
> at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
> at System.DirectoryServices.DirectoryEntry.Bind()
> at System.DirectoryServices.DirectoryEntry.get_AdsObject()
> at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
> at System.DirectoryServices.DirectorySearcher.FindOne()
> at Microsoft.Crm.Application.Utility.ActiveDirectoryUtility.FindUser(String domainAccountName)-------------------------------------------------------------------------------------------------
Thanks for your help.
Monday, September 14, 2009 1:28 PM
Answers
-
My best guess, without looking at your environment and because adding a user manually works, is that this is possibly related to how you are entering the user's name using the multiple user method or something with the way you are clicking through the wizard. The other possibility is that your system has some sort of issue that is unique to your environment and you will probably have to open a ticket with Microsoft support to get to the root cause as they can look at your environment to provide better direction.
Best Regards, Donna- Proposed as answer by Donna EdwardsMVP Friday, September 18, 2009 12:33 PM
- Marked as answer by w.benamor Thursday, May 6, 2010 8:47 AM
Friday, September 18, 2009 12:33 PM
All replies
-
Please check the user account TOPNET\yosr_t, which causes the problem.
Can you add other users from CRM?
Cheers,
Jim
Jim Wang - MVP Dynamics CRM - http://jianwang.blogspot.com, http://mscrm.cnMonday, September 14, 2009 6:32 PMModerator -
Hi,
I can add a new single user(each user seperately), but the feature "Add multiple users" causes a problem.
Thx.Tuesday, September 15, 2009 8:13 AM -
Are all the users that you are trying to add from the same domain? TOPNET?
The error is always related with the same user or it depends?
The error message says:
"Unable to get find user TOPNET\yosr_t: System.Runtime.InteropServices.COMException (0x8007203A): Le serveur n'est pas opérationnel"
This might be related with some misconfigurations in your DNS or AD/Domain Controller and not CRM...
HTH,
/AndréTuesday, September 15, 2009 11:04 AM -
Hi,
All users are in the same domain.
The problem is reproducible for all users , not for a specific one.
Thx.Tuesday, September 15, 2009 1:32 PM -
Try to add the registry key as explained in the following KB article:
http://support.microsoft.com/kb/954811/en-us
HTH,
/AndréTuesday, September 15, 2009 5:12 PM -
Hi,
I do the following as described in the KB article:
1- Go to the following registry hive: HKLM\Software\Microsoft\MSCRM
2- Add a new String value that is named PreferredDc.
3- Specify the domain controller that you want. Typically, this is the closest domain controller.
4- Restart the CRM server
But this didn't solve the problem.
Another idea !!!
ThxThursday, September 17, 2009 9:49 AM -
The error message looks like it is saying it can not find the user. If you attempt to add the user manually rather than through the multiple user feature, is the user found?
Best Regards, Donna- Marked as answer by Jim Glass Jr Thursday, September 17, 2009 4:26 PM
- Unmarked as answer by w.benamor Thursday, September 17, 2009 9:08 PM
Thursday, September 17, 2009 3:23 PM -
Hi,
I added the user manually without using the "Add Multiple users" feature, the operation is successful and the user was found.
Thx.Thursday, September 17, 2009 9:10 PM -
My best guess, without looking at your environment and because adding a user manually works, is that this is possibly related to how you are entering the user's name using the multiple user method or something with the way you are clicking through the wizard. The other possibility is that your system has some sort of issue that is unique to your environment and you will probably have to open a ticket with Microsoft support to get to the root cause as they can look at your environment to provide better direction.
Best Regards, Donna- Proposed as answer by Donna EdwardsMVP Friday, September 18, 2009 12:33 PM
- Marked as answer by w.benamor Thursday, May 6, 2010 8:47 AM
Friday, September 18, 2009 12:33 PM