Error while viewing CRM Service Calendar

A customer was getting the following error when attempting to view the service calendar:-

Record Is Unavailable
The requested record was not found or you do not have sufficient permissions to view it


The relevant part of the trace file was…

Stack Trace Info: [CrmException: Pointer record exists but referenced record of type 8 not found: d20750f1-db0e-e211-8c48-00155d89dc0f] at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()

Resource type 8 is a systemuser record.

To fix it I had to delete a resource record directly on the SQL server.

DELETE FROM ResourceBase WHERE ResourceId='d20750f1-db0e-e211-8c48-00155d89dc0f'   -- Use GUID from the trace file

The customer had been recently moved to a new server and there were some problems with database corruption so I assume it was related to that.

Leave a comment

1 Comment

  1. Sam

     /  January 16, 2020

    Tyvm!!! Had the same problem and this worked flawlessly! Thanks for sharing!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: