locked
CRM Login is not possible - Insufficient Rights RRS feed

  • Question

  • Hello,

    I have some problems with imported CRM User. I imported some users with the Data Migration Manager. After that I also assign some data (contacts) to the users. The rights are configured that the user can only see/edit the own contacts. I have test this with a test account. But I have to say that the test has also rights before (some admin rights) and the account was configured manually and not import via the Data Migration Manager. With the test user everything is right and role seems to be working.

    Here is the event exactly:
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 28.09.2009 17:45:23 
    Event time (UTC): 28.09.2009 15:45:23 
    Event ID: 09ca81f35cea463d97a3b3bf0356eaa3 
    Event sequence: 2442 
    Event occurrence: 65 
    Event detail code: 0 
     
    Application information: 
        Application domain: /LM/W3SVC/2/ROOT-1-128986189966087734 
        Trust level: Full 
        Application Virtual Path: / 
        Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\ 
        Machine name: xxxx
     
    Process information: 
        Process ID: 2140 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\NETWORK SERVICE 
     
    Exception information: 
        Exception type: TargetInvocationException 
        Exception message: Exception has been thrown by the target of an invocation. 
     
    Request information: 
        Request URL: http://xxxxx:5555/xxxxx/loader.aspx 
        Request path: /xxxxx/loader.aspx 
        User host address: xxxxxx
        User: DOMAIN\USer 
        Is authenticated: True 
        Authentication Type: Negotiate 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
     
    Thread information: 
        Thread ID: 4 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
        Is impersonating: False 
        Stack trace:    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
       at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request)
       at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal()
       at Microsoft.Crm.Application.Platform.ServiceCommands.UpdateCommand.Execute()
       at Microsoft.Crm.Application.Controls.AppPage.UpdateUserLanguageIfNecessary()
       at Microsoft.Crm.Application.Controls.AppPage.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     
     
    Custom event details: 
    
    
    
    Details:
    
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name="ASP.NET 2.0.50727.0" /> 
      <EventID Qualifiers="32768">1309</EventID> 
      <Level>3</Level> 
      <Task>3</Task> 
      <Keywords>0x80000000000000</Keywords> 
      <TimeCreated SystemTime="2009-09-28T15:45:23.000Z" /> 
      <EventRecordID>20983</EventRecordID> 
      <Channel>Application</Channel> 
      <Computer>xxxxxxxx</Computer> 
      <Security /> 
      </System>
    - <EventData>
      <Data>3005</Data> 
      <Data>An unhandled exception has occurred.</Data> 
      <Data>28.09.2009 17:45:23</Data> 
      <Data>28.09.2009 15:45:23</Data> 
      <Data>09ca81f35cea463d97a3b3bf0356eaa3</Data> 
      <Data>2442</Data> 
      <Data>65</Data> 
      <Data>0</Data> 
      <Data>/LM/W3SVC/2/ROOT-1-128986189966087734</Data> 
      <Data>Full</Data> 
      <Data>/</Data> 
      <Data>C:\Program Files\Microsoft Dynamics CRM\CRMWeb\</Data> 
      <Data>DOV004</Data> 
      <Data /> 
      <Data>2140</Data> 
      <Data>w3wp.exe</Data> 
      <Data>NT AUTHORITY\NETWORK SERVICE</Data> 
      <Data>TargetInvocationException</Data> 
      <Data>Exception has been thrown by the target of an invocation.</Data> 
      <Data>http://xxxxxxxxxxx/loader.aspx</Data> 
      <Data>/xxxxx/loader.aspx</Data> 
      <Data>xxxxx</Data> 
      <Data>Domain\User</Data> 
      <Data>True</Data> 
      <Data>Negotiate</Data> 
      <Data>NT AUTHORITY\NETWORK SERVICE</Data> 
      <Data>4</Data> 
      <Data>NT AUTHORITY\NETWORK SERVICE</Data> 
      <Data>False</Data> 
      <Data>at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values) at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context) at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context) at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context) at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context) at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context) at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) at Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request) at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal() at Microsoft.Crm.Application.Platform.ServiceCommands.UpdateCommand.Execute() at Microsoft.Crm.Application.Controls.AppPage.UpdateUserLanguageIfNecessary() at Microsoft.Crm.Application.Controls.AppPage.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</Data> 
      </EventData>
      </Event>
    What about the Domain\User case sensitiv?

    The manually configured user have the following structure:
    DOMAIN(upper case)\flastname  (f=the first letter ot the firstname and the complete lastname everything in lower case)

    The Data Migration users:
    DOMAIN(uppercase)\FLastname

    But I have also try to edit the Logon Name to the manual structure. this take no effect.

    Has everybody an idea about that problem?


    Andreas
    Tuesday, September 29, 2009 8:08 AM

Answers

  • Hello,


    I have a solution found:

    I have edit the role so that the user have write rights on the Organization user settings. After that everything is working.

    I thing that the Active Directory add some data in the user settings, but it wasn't possible.

    I've found the following Microsoft article: http://support.microsoft.com/kb/948311


    Andreas
    Tuesday, September 29, 2009 11:08 AM

All replies

  • As far as I know, CRM is not case sensitive...

    But I can't help you further regarding this problem...
    Tuesday, September 29, 2009 8:12 AM
    Moderator
  • Hello,


    I have a solution found:

    I have edit the role so that the user have write rights on the Organization user settings. After that everything is working.

    I thing that the Active Directory add some data in the user settings, but it wasn't possible.

    I've found the following Microsoft article: http://support.microsoft.com/kb/948311


    Andreas
    Tuesday, September 29, 2009 11:08 AM