Microsoft KB Archive/917010

= Error messages when you try to save or to close an appointment in Microsoft CRM 3.0: &quot;An error has occurred&quot; and &quot;General failure in scheduling engine&quot; =

Article ID: 917010

Article Last Modified on 4/24/2007

-

APPLIES TO


 * Microsoft CRM Software Development Kit, when used with:
 * Microsoft Dynamics CRM 3.0
 * Microsoft Dynamics CRM 3.0

-



The hotfix that is discussed in this article is not available for the Chinese version of Microsoft Dynamics CRM or for the Japanese version of Microsoft Dynamics CRM.



SYMPTOMS
When you try to save or to close an appointment in Microsoft Dynamics CRM 3.0, you may receive the following error messages.

Error message 1

An error has occurred. For more information, contact your system administrator. Error code: 0x80040216. OK

Error message 2

General failure in scheduling engine. Ignore and Save or Cancel.



CAUSE
This problem may occur if the following conditions are true:
 * The appointment requires resources that are already scheduled for another appointment at the same time.
 * The Microsoft CRM Post Callout objects subscribe to the PostCreate callout event for appointments.

If these conditions are true, the problem occurs because the appointment is rolled back when the resources are unavailable. The PostCreate callout event cannot retrieve the information for the appointment because the appointment no longer exists.



RESOLUTION
This problem is fixed in Microsoft Dynamics CRM 3.0 Update Rollup 1. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

922815 Update Rollup 1 is available for Microsoft Dynamics CRM 3.0

Note If you still receive the error messages after you install Microsoft Dynamics CRM 3.0 Update Rollup 1, verify that the Status Reason (statuscode) field was not removed from the Appointment form during form customization. If the field was removed, you must add the field back to the Appointment form. You can position the field anywhere on the form. The field does not have to be on the main tab.

Keywords: kbexpertisebeginner kbbug kbfix kbmbsmigrate kbpubtypekc kbqfe kbhotfixserver KB917010

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.