Microsoft KB Archive/835555

= Copied security roles do not inherit the same privileges as the original role, and new roles may generate error messages in Microsoft CRM. =

Article ID: 835555

Article Last Modified on 10/25/2005

-

APPLIES TO


 * Microsoft Business Solutions CRM 1.0

-





SYMPTOMS
After you copy a security role in Microsoft Business Solutions CRM 1.0, the new role does not inherit the same privileges as the original role. Alternatively, you may receive error messages in the event log of the Microsoft CRM server after you create a new security role.

You may also receive one of the following messages in the event log of the Microsoft CRM server:

Event message 1

MSCRMSecurity Service

Event ID:6148

Error: Some security descriptors could not be adjusted after a privilege change. -2147205110 (0x80044005)

Description: Invalid code for CRM error

Connection failure SQL State - 08501, Native error -0 &:\crm\build\3017\src\platform\include\OMCommon\dataccess.inl

324

Event message 2

MSCRMSecurity Service

Event ID:6148

Error: Some security descriptors could not be adjusted after a privilege change. -2147024809 (0x80070057)

Description: The parameter is incorrect.

Event message 3

MSCRMSecurity Service

Event ID:6148

Error: Some security descriptors could not be adjusted after a privilege change. -2147463168 (0x80005000)

Description:

Comments: GetRoleSids failed:%d

Additionally, users who are assigned one of the new or copied roles may not be able to log on to the Microsoft CRM server. These users may also receive one of the following error messages:

Error message 1

Access Denied &quot;User has not been granted any licenses or the user has not been assigned any roles.&quot;

Error message 2

License Error &quot;The selected user or user trying to log on has not been assigned a security role or license, and does not have sufficient privileges for this action. For more information, contact your system administrator.&quot;

Users of Microsoft CRM may also receive the following error message when they try to perform an action, even though their roles should let them perform the action:

The selected user does not have sufficient privileges for this action.



CAUSE
This problem may occur if one of the following conditions is true:
 * You create or copy a Microsoft CRM role in an environment that has a slow instance of Microsoft SQL Server.
 * The Microsoft CRM databases contain hundreds of thousands of records or millions of records.

The role-creation operations and the copy operations update every record in Microsoft CRM that contains a security descriptor. The security descriptor contains information about the access privileges that Microsoft CRM users have for that record. These privileges are based on the Microsoft CRM roles that have been assigned to the users.



RESOLUTION
There is a hotfix for this problem. The hotfix is part of a cumulative package. For additional information about the cumulative package that contains this hotfix, click the following article number to view the article in the Microsoft Knowledge Base:

835308 A copy operation may fail when you try to copy a role in Microsoft CRM 1.0

