Microsoft KB Archive/934184

From BetaArchive Wiki
Knowledge Base


Error message when you use the Update method or when you use the Retrieve method of the CrmService Web service for Microsoft Dynamics CRM 3.0: "The method being invoked does not support provided entity type"

Article ID: 934184

Article Last Modified on 8/21/2007



APPLIES TO

  • Microsoft Dynamics CRM 3.0



SYMPTOMS

When you use the Update method of the CrmService Web service to update the usersettings entity, you receive the following error message:

0x80040800
The method being invoked does not support provided entity type.
Platform
The 'Update' method does not support entities of type 'usersettings'.
at Microsoft.Crm.WebServices.CrmService.ThrowIfEntityNotSupported(Object categoryInterface, String methodName, String entityName)
at Microsoft.Crm.WebServices.CrmService.Update(BusinessEntity entity)

When you use the Retrieve method of the CrmService Web service to retrieve the usersettings entity, you receive the following error message:

0x80040800
The method being invoked does not support provided entity type.
Platform
The 'Retrieve' method does not support entities of type 'usersettings'.
at Microsoft.Crm.WebServices.CrmService.ThrowIfEntityNotSupported(Object categoryInterface, String methodName, String entityName)
at Microsoft.Crm.WebServices.CrmService.Retrieve(String entityName, Guid id, ColumnSetBase columnSet)

This problem occurs in Microsoft Dynamics CRM 3.0.

CAUSE

This problem occurs because the usersettings entity is a child entity. However, the Update method and the Retrieve method are unavailable for child entities.

WORKAROUND

To work around this problem, follow these steps:

  1. To update the usersettings entity, use the UpdateUserSettingsSystemUserRequest method together with the UpdateUserSettingsSystemUserResponse method.
  2. To retrieve the usersettings entity, use the RetrieveUserSettingsSystemUserRequest method together with the RetrieveUserSettingsSystemUserResponse method.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the methods that are mentioned in the "Workaround" section, view the Microsoft Dynamics CRM 3.0 Software Development Kit (SDK). To download the Microsoft Dynamics CRM 3.0 SDK, visit the following Microsoft Web site:

Keywords: kberrmsg kbmbscustomization kbtshoot kbmbsmigrate kbbug KB934184