Unable to create new user in CRM 2011

toLLto
Member Posts: 34
For any reason I can't create new user in CRM 2011. User exists already in AD. I go to CRM and try to add this new user. When I write his domain\username in CRM "User Name" field, all other data are populated from AD correctly (Firstname, lastname, email). But when I try to save this user I get exception by SecurityUtils.TryGetGuidFromSid. Here is my Trace:
any idea?
[2012-02-28 11:52:40.141] Process: w3wp |Organization:629644d5-6e79-40c0-bcff-8a00a48e9967 |Thread: 72 |Category: ADUtility |User: 2584982f-bebf-432e-b0c0-e6810e590f60 |Level: Error | SecurityUtils.TryGetGuidFromSid >Error while retrieving GUID from SID. Exception: System.Runtime.InteropServices.COMException (0x8007202B):A referral was returned from the server. at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() at System.DirectoryServices.SearchResultCollection.get_InnerList() at System.DirectoryServices.SearchResultCollection.get_Count() at Microsoft.Crm.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid) at Microsoft.Crm.SecurityUtils.TryGetGuidFromSid(Byte[] sid) [2012-02-28 11:52:40.141] Process: w3wp |Organization:629644d5-6e79-40c0-bcff-8a00a48e9967 |Thread: 72 |Category: ADUtility |User: 2584982f-bebf-432e-b0c0-e6810e590f60 |Level: Error | SecurityUtils.GetUserId >Error while retrieving userId. Exception: System.Runtime.InteropServices.COMException (0x8007202B): A referral was returned from the server. at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() at System.DirectoryServices.SearchResultCollection.get_InnerList() at System.DirectoryServices.SearchResultCollection.get_Count() at Microsoft.Crm.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid) at Microsoft.Crm.SecurityUtils.TryGetGuidFromSid(Byte[] sid) at Microsoft.Crm.SecurityUtils.GetUserId(String domainName, Boolean limitGlobalCatalogSearches) [2012-02-28 11:52:40.141] Process: w3wp |Organization:629644d5-6e79-40c0-bcff-8a00a48e9967 |Thread: 72 |Category: Exception |User: 2584982f-bebf-432e-b0c0-e6810e590f60 |Level: Error | SoapExtensionExceptionHandlerBase.PrivateGetCrmExceptionNoDependencies at SoapExtensionExceptionHandlerBase.PrivateGetCrmExceptionNoDependencies(Exception exception) at SoapExtensionExceptionHandlerBase.GetCrmException(Exception exception) at CrmException.ConvertPluginException(Exception originalException, Boolean isAsync, Boolean unwrapTargetInvocationException) at CrmException.ConvertPluginException(Exception originalException, String pluginTrace, String assemblyName, String pluginType, String stepIdOrWorkflowGroup, String stepDescription, Boolean isAsync, Boolean addPluginTrace, Boolean unwrapTargetInvocationException) at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) at Pipeline.Execute(PipelineExecutionContext context) at MessageProcessor.Execute(PipelineExecutionContext context) at InternalMessageDispatcher.Execute(PipelineExecutionContext context) at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) at InprocessServiceProxy.ExecuteCore(OrganizationRequest request) at PlatformCommand.XrmExecuteInternal() at CreateCommand.Execute() at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId) at EntityProxy.Create(Boolean performDuplicateCheck) at SystemUser.Create(Boolean performDuplicateCheck) at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck) at AppForm.Save(Boolean& gridRefreshCallbackAdded) at AppForm.FormSaveEvent() at AppForm.RaiseDataEvent(FormEventId eventId) at EndUserForm.Initialize(Entity entity) at CustomizableForm.Execute(Entity entity, FormDescriptor fd) at SystemUserRecordPageHandler.ConfigureFormHandler() at GenericEventProcessor.RaiseEvent(String eventName) at PageManager.OnPreRender(EventArgs e) at Control.PreRenderRecursiveInternal() at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at Page.ProcessRequest() at Page.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 ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) >Crm Exception: Message: Server was unable to process request., ErrorCode: -2147016661, InnerException: System.Runtime.InteropServices.COMException (0x8007202B): A referral was returned from the server. at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() at System.DirectoryServices.SearchResultCollection.get_InnerList() at System.DirectoryServices.SearchResultCollection.get_Count() at Microsoft.Crm.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid) at Microsoft.Crm.SecurityUtils.TryGetGuidFromSid(Byte[] sid) at Microsoft.Crm.SecurityUtils.GetUserId(String domainName, Boolean limitGlobalCatalogSearches) at Microsoft.Crm.Authentication.UserManagementFactory.GetActiveDirectoryInformation(String domainName, Boolean limitGlobalCatalogSearches) at Microsoft.Crm.Authentication.UserManagementFactory.CheckForActiveDirectoryUser(String uniqueName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) at Microsoft.Crm.Authentication.UserManagementFactory.ValidateActiveDirectoryUser(String domainName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) at Microsoft.Crm.Authentication.UserManagementFactory.CreateUser(IBusinessEntity systemUser, Boolean setupUser, ExecutionContext context) at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, IBusinessEntity systemuser, ExecutionContext context) at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.Create(IBusinessEntity systemuser, ExecutionContext context) [2012-02-28 11:52:40.141] Process: w3wp |Organization:629644d5-6e79-40c0-bcff-8a00a48e9967 |Thread: 72 |Category: Platform.Sdk |User: 2584982f-bebf-432e-b0c0-e6810e590f60 |Level: Error | VersionedPluginProxyStepBase.Execute >Web Service Plug-in failed in SdkMessageProcessingStepId: {5ACABB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: systemuser; Stage: 30; MessageName: Create; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. bei System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) bei System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values) bei Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider) bei Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context) bei Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) Inner Exception: System.Runtime.InteropServices.COMException: Eine Referenzauswertung wurde vom Server zurückgesendet. bei System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() bei System.DirectoryServices.SearchResultCollection.get_InnerList() bei System.DirectoryServices.SearchResultCollection.get_Count() bei Microsoft.Crm.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid) bei Microsoft.Crm.SecurityUtils.TryGetGuidFromSid(Byte[] sid) bei Microsoft.Crm.SecurityUtils.GetUserId(String domainName, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.GetActiveDirectoryInformation(String domainName, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.CheckForActiveDirectoryUser(String uniqueName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.ValidateActiveDirectoryUser(String domainName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.CreateUser(IBusinessEntity systemUser, Boolean setupUser, ExecutionContext context) bei Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, IBusinessEntity systemuser, ExecutionContext context) bei Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.Create(IBusinessEntity systemuser, ExecutionContext context) . [2012-02-28 11:52:40.141] Process: w3wp |Organization:629644d5-6e79-40c0-bcff-8a00a48e9967 |Thread: 72 |Category: Exception |User: 2584982f-bebf-432e-b0c0-e6810e590f60 |Level: Error | SoapExtensionExceptionHandlerBase.PrivateGetCrmExceptionNoDependencies at SoapExtensionExceptionHandlerBase.PrivateGetCrmExceptionNoDependencies(Exception exception) at SoapExtensionExceptionHandlerBase.GetCrmException(Exception exception) at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) at Pipeline.Execute(PipelineExecutionContext context) at MessageProcessor.Execute(PipelineExecutionContext context) at InternalMessageDispatcher.Execute(PipelineExecutionContext context) at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) at InprocessServiceProxy.ExecuteCore(OrganizationRequest request) at PlatformCommand.XrmExecuteInternal() at CreateCommand.Execute() at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId) at EntityProxy.Create(Boolean performDuplicateCheck) at SystemUser.Create(Boolean performDuplicateCheck) at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck) at AppForm.Save(Boolean& gridRefreshCallbackAdded) at AppForm.FormSaveEvent() at AppForm.RaiseDataEvent(FormEventId eventId) at EndUserForm.Initialize(Entity entity) at CustomizableForm.Execute(Entity entity, FormDescriptor fd) at SystemUserRecordPageHandler.ConfigureFormHandler() at GenericEventProcessor.RaiseEvent(String eventName) at PageManager.OnPreRender(EventArgs e) at Control.PreRenderRecursiveInternal() at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at Page.ProcessRequest() at Page.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 ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) >Crm Exception: Message: Server was unable to process request., ErrorCode: -2147016661, InnerException: System.Runtime.InteropServices.COMException (0x8007202B): Eine Referenzauswertung wurde vom Server zurückgesendet. bei System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() bei System.DirectoryServices.SearchResultCollection.get_InnerList() bei System.DirectoryServices.SearchResultCollection.get_Count() bei Microsoft.Crm.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid) bei Microsoft.Crm.SecurityUtils.TryGetGuidFromSid(Byte[] sid) bei Microsoft.Crm.SecurityUtils.GetUserId(String domainName, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.GetActiveDirectoryInformation(String domainName, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.CheckForActiveDirectoryUser(String uniqueName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.ValidateActiveDirectoryUser(String domainName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.CreateUser(IBusinessEntity systemUser, Boolean setupUser, ExecutionContext context) bei Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, IBusinessEntity systemuser, ExecutionContext context) bei Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.Create(IBusinessEntity systemuser, ExecutionContext context) [2012-02-28 11:52:40.141] Process: w3wp |Organization:629644d5-6e79-40c0-bcff-8a00a48e9967 |Thread: 72 |Category: Exception |User: 2584982f-bebf-432e-b0c0-e6810e590f60 |Level: Error | CrmException..ctor at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) at CrmException..ctor(String message, Exception innerException, Int32 errorCode) at RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType) at RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at VersionedPluginProxyStepBase.WrapExceptionToThrow(CrmException exception) at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) at Pipeline.Execute(PipelineExecutionContext context) at MessageProcessor.Execute(PipelineExecutionContext context) at InternalMessageDispatcher.Execute(PipelineExecutionContext context) at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) at InprocessServiceProxy.ExecuteCore(OrganizationRequest request) at PlatformCommand.XrmExecuteInternal() at CreateCommand.Execute() at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId) at EntityProxy.Create(Boolean performDuplicateCheck) at SystemUser.Create(Boolean performDuplicateCheck) at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck) at AppForm.Save(Boolean& gridRefreshCallbackAdded) at AppForm.FormSaveEvent() at AppForm.RaiseDataEvent(FormEventId eventId) at EndUserForm.Initialize(Entity entity) at CustomizableForm.Execute(Entity entity, FormDescriptor fd) at SystemUserRecordPageHandler.ConfigureFormHandler() at GenericEventProcessor.RaiseEvent(String eventName) at PageManager.OnPreRender(EventArgs e) at Control.PreRenderRecursiveInternal() at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at Page.ProcessRequest() at Page.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 ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) >Crm Exception: Message: Server was unable to process request., ErrorCode: -2147016661, InnerException: Microsoft.Crm.CrmException: Server was unable to process request. ---> System.Runtime.InteropServices.COMException: Eine Referenzauswertung wurde vom Server zurückgesendet. bei System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() bei System.DirectoryServices.SearchResultCollection.get_InnerList() bei System.DirectoryServices.SearchResultCollection.get_Count() bei Microsoft.Crm.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid) bei Microsoft.Crm.SecurityUtils.TryGetGuidFromSid(Byte[] sid) bei Microsoft.Crm.SecurityUtils.GetUserId(String domainName, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.GetActiveDirectoryInformation(String domainName, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.CheckForActiveDirectoryUser(String uniqueName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.ValidateActiveDirectoryUser(String domainName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) bei Microsoft.Crm.Authentication.UserManagementFactory.CreateUser(IBusinessEntity systemUser, Boolean setupUser, ExecutionContext context) bei Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, IBusinessEntity systemuser, ExecutionContext context) bei Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.Create(IBusinessEntity systemuser, ExecutionContext context) --- Ende der internen Ausnahmestapelüberwachung --- [2012-02-28 11:52:40.141] Process: w3wp |Organization:629644d5-6e79-40c0-bcff-8a00a48e9967 |Thread: 72 |Category: Platform |User: 2584982f-bebf-432e-b0c0-e6810e590f60 |Level: Error | MessageProcessor.Execute >MessageProcessor fail to process message 'Create' for 'systemuser'. [2012-02-28 11:52:40.141] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 72 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ExceptionConverter.ConvertMessageAndErrorCode >System.Runtime.InteropServices.COMException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #0BFCADA2: System.Runtime.InteropServices.COMException (0x8007202B): Eine Referenzauswertung wurde vom Server zurückgesendet. > > bei System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() > bei System.DirectoryServices.SearchResultCollection.get_InnerList() > bei System.DirectoryServices.SearchResultCollection.get_Count() > bei Microsoft.Crm.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid) > bei Microsoft.Crm.SecurityUtils.TryGetGuidFromSid(Byte[] sid) > bei Microsoft.Crm.SecurityUtils.GetUserId(String domainName, Boolean limitGlobalCatalogSearches) > bei Microsoft.Crm.Authentication.UserManagementFactory.GetActiveDirectoryInformation(String domainName, Boolean limitGlobalCatalogSearches) > bei Microsoft.Crm.Authentication.UserManagementFactory.CheckForActiveDirectoryUser(String uniqueName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) > bei Microsoft.Crm.Authentication.UserManagementFactory.ValidateActiveDirectoryUser(String domainName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches) > bei Microsoft.Crm.Authentication.UserManagementFactory.CreateUser(IBusinessEntity systemUser, Boolean setupUser, ExecutionContext context) > bei Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, IBusinessEntity systemuser, ExecutionContext context) > bei Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.Create(IBusinessEntity systemuser, ExecutionContext context) [2012-02-28 11:52:40.141] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 72 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmException..ctor at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) at CrmException..ctor(String message, Int32 errorCode) at PlatformCommand.CreateCrmExceptionFromServiceFault(FaultException`1 fe) at PlatformCommand.XrmExecuteInternal() at CreateCommand.Execute() at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId) at EntityProxy.Create(Boolean performDuplicateCheck) at SystemUser.Create(Boolean performDuplicateCheck) at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck) at AppForm.Save(Boolean& gridRefreshCallbackAdded) at AppForm.FormSaveEvent() at AppForm.RaiseDataEvent(FormEventId eventId) at EndUserForm.Initialize(Entity entity) at CustomizableForm.Execute(Entity entity, FormDescriptor fd) at SystemUserRecordPageHandler.ConfigureFormHandler() at GenericEventProcessor.RaiseEvent(String eventName) at PageManager.OnPreRender(EventArgs e) at Control.PreRenderRecursiveInternal() at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at Page.ProcessRequest() at Page.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 ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) >Crm Exception: Message: Server was unable to process request., ErrorCode: -2147016661 [2012-02-28 11:52:40.141] Process: w3wp |Organization:629644d5-6e79-40c0-bcff-8a00a48e9967 |Thread: 72 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ErrorInformation.LogError >MSCRM Error Report: -------------------------------------------------------------------------------------------------------- Error: Server was unable to process request. Error Number: 0x8007202B Error Message: Server was unable to process request. Error Details: Server was unable to process request. Source File: Not available Line Number: Not available Request URL: http://___/_____/userdefined/edit.aspx?_CreateFromId=%7b1A534DD9-2340-E011-8DC2-00155D014108%7d&_CreateFromType=10&etc=8&pagemode=iframe&sitemappath=Workplace%7cMyWork%7cnav_dashboards Stack Trace Info: [CrmException: Server was unable to process request.] bei Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal() bei Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.Execute() bei Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId) bei Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck) bei Microsoft.Crm.Application.Platform.SystemUser.Create(Boolean performDuplicateCheck) bei Microsoft.Crm.Application.Forms.AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)
any idea?
0
Comments
-
can anyone help me please? it's urgent, I'm still gettin same error when I try to add new user in CRM.0
-
You might try to open a test user in AD, then create it into CRM (domain\test_user).
Then, in CRM, try to rename the domain\test_user to real user (domain\real_user) and save it..... It worked for me once, try it.
cheers0 -
dragan_mk wrote:You might try to open a test user in AD, then create it into CRM (domain\test_user).
Then, in CRM, try to rename the domain\test_user to real user (domain\real_user) and save it
this will not work for me, I can't add any new users in CRM. I can't create any new organizations too - I'm getting same exception.
I found some interesting links, it's about CRM 4 but I'm sure this make any difference:
http://crm.davidyack.com/journal/2007/12/24/active-directory-and-dns-gotcha.html
http://www.techtalkz.com/microsoft-dynamics-crm/418987-crm-4-installation-error-referral-returned-server-2.html
so it looks like a problem with DNS. Does anyone know how to solve this? Re-installing DNS is not an option.0 -
Then, are you sure that this is MS Dynamics CRM related issue... Maybe you should ask for a help from system or network admins...
cheers0 -
Problem solved - we need to delete TAPI3Directory naming context in our DC. Thanks everyone for help!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions