locked
CRM 2015 : CrmException The specified user is either disabled or is not a member of any business unit RRS feed

  • Question

  • Hi All,

    We are currently getting CrmException warning getting logged frequently (2/4 times hourly), will this cause performance issue? What is the issue and how to fix? please guide.

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 10/10/2017 4:38:59 PM
    Event time (UTC): 10/10/2017 5:38:59 AM
    Event ID: 067331210e074cd9a3508ee82e2ba215
    Event sequence: 79757
    Event occurrence: 85
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/1/ROOT-1-131520734233508023
        Trust level: Full
        Application Virtual Path: /
        Application Path: c:\Program Files\Microsoft Dynamics CRM\CRMWeb\
        Machine name: ###########
     
    Process information:
        Process ID: 47344
        Process name: w3wp.exe
        Account name: ######\SVC_CRM2015_APP
     
    Exception information:
        Exception type: CrmException
        Exception message: The specified user is either disabled or is not a member of any business unit.
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckDisabledStatus(IUser user, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserInfoCommon(IOrganizationContext context, Guid userGuid, LocatorServiceContext locatorServiceContext)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId, LocatorServiceContext locatorServiceContext)
       at Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)
       at Microsoft.Crm.Authentication.WindowsAuthenticationProviderBase.Authenticate(HttpApplication application, WindowsIdentity userIdentity)
       at Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     
     
    Request information:
        Request URL: http://crm.######.com/######/Handlers/WebResource.ashx?name=emp_/pages/SearchContact.html&Data=contactnumber=0417232323
        Request path: /######/Handlers/WebResource.ashx
        User host address: ##.##.###.####
        User: ####\T###leD
        Is authenticated: True
        Authentication Type: Negotiate
        Thread account name: #####\SVC_CRM2015_APP
     
    Thread information:
        Thread ID: 32
        Thread account name: #####\SVC_CRM2015_APP
        Is impersonating: True
        Stack trace:    at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckDisabledStatus(IUser user, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserInfoCommon(IOrganizationContext context, Guid userGuid, LocatorServiceContext locatorServiceContext)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId, LocatorServiceContext locatorServiceContext)
       at Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)
       at Microsoft.Crm.Authentication.WindowsAuthenticationProviderBase.Authenticate(HttpApplication application, WindowsIdentity userIdentity)
       at Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     
     
    Custom event details:


    • Edited by PrS2017 Tuesday, October 10, 2017 6:58 AM edit
    Tuesday, October 10, 2017 6:57 AM

All replies

  • You have an on premise deployment.

    Make sure the services are running. 

    Check for authentication issues between the servers.

    The CRMDIAGTOOL from 2011 will still run with your 2015 on prem instance.

    Install and run that and look at the trace logs to see how the authentication is breaking.

    Remember also the issue with broadcast domains.   If you are running as full server on a application server to a SQL server it is best if they are all in one broadcast domain.


    Curtis J Spanburgh

    Thursday, October 12, 2017 5:21 AM
    Moderator