Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not Exist

(0) ShareShare
ReportReport
Posted on by 1,210

How to retrieve this Calendar associated with the Bookable Resource in Field Service?

----------------------

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not ExistDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>22c4e70e-adee-499a-99c2-7155e91a69b5</ActivityId>
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not Exist</Message>
<Timestamp>2017-11-14T14:10:17.7931787Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText>

[Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin]
[3fd0045a-55f6-499b-a389-729f3f697525: Field Service: Update (post-operation) for bookableresourcebooking]
FieldServicePlugin: PluginLocal.Dispose, Depth: 1
FieldServicePlugin: PluginLocal.Dispose, Depth: 1
FieldServicePlugin:
Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not Exist

System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not Exist (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).


FieldServicePlugin: PluginLocal.Dispose, Depth: 1

</TraceText>
</OrganizationServiceFault>

 

*This post is locked for comments

  • Suggested answer
    Byron Dittberner Profile Picture
    Byron Dittberner 235 on at
    RE: Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not Exist

    I experienced the same issue recently and found that the issue was related to the service accounts associated Work Hour Template.

    I created a new work hour template and hen added it to the service account which resolved the issue.

  • Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not Exist

    If you are getting this when you are moving Incident Type/Requirement Group data between environments. Then you will also need to migrate the calendar table as well.

    The Resource Requirements will have a field called 'Calendar Id'. You will also need to migrate all the Calendars which have the same Id's as your Resource Requirements that you are moving between environments.

  • Suggested answer
    Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not Exist

    Did you recently do an update to your Field Service? We updated our DEV instance and we got this error.

    What you need to do is check this GUID in another older environment. In our case it was our TEST environment which still had this GUID. I used SSIS to migrate the Calendar GUID into DEV and everything started working again. I'm not entirely sure what was happening but I fixed it.

  • Karuna Karan Profile Picture
    Karuna Karan 1,210 on at
    RE: Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not Exist

    This issue usually comes when we apply a calendar template to multiple resources. Try to create a new calendar template only for the resource in context. Also on the Bookable Resource Entity there is a field called 'Calendar', which you can put it on the form to access the Resource Calendar.

  • Nandha Shanmugam Profile Picture
    Nandha Shanmugam 45 on at
    RE: Calendar With Id = 2c640fe4-7dbe-e711-80ea-3863bb348bd0 Does Not Exist

    Hi Karuna,

    Did you manage to get this resolved? We are having a similar issue and this is related to the work template (calendar) against the resource. As you say, there is not a lot of information to go with it.

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans