web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Audit Error: Attribute Metadata could not be retrieved from audit log

(0) ShareShare
ReportReport
Posted on by

Hi all,

after we have deleted some old attributes from the account entity the Audit History  stops working for some records.

We have already installed UR10 (UR8 was installed before), deactivated/actived Auditing but with no success.

 

The following error is shown: Error in query builder. The specified attribute does not exists  (translated from German error msg)

In the tracelog the we found:

............

at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10E

at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C

at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC

at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)  ilOffset = 0x2C

at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B

>Crm Exception: Message: Attribute Metadata could not be retrieved from audit log, ErrorCode: -2147217149, InnerException: Microsoft.Crm.Metadata.AttributeMetadataNotFoundException: Attribute Metadata could not be retrieved from audit log

at Microsoft.Crm.ObjectModel.AuditService.GetAttributeLogicalNameFromAudit(Int32 objectTypeCode, Int32 columnNumber, ExecutionContext context)

at Microsoft.Crm.ObjectModel.AuditService.GetAttributeMetadata(Int32 objectTypeCode, Int32 columnNumber, ExecutionContext c

.............

at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)  ilOffset = 0x2C

at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B

>MessageProcessor fail to process message 'RetrieveRecordChangeHistory' for 'audit'.

.................

at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)  ilOffset = 0x2C

at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B

>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #5F7546E5: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmException: Attribute Metadata could not be retrieved from audit log

>   at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()

 

Thanks

Markus

*This post is locked for comments

I have the same question (0)
  • Mohammad Atif Profile Picture
    on at

    looks like this is Known issue , if this is CRM Online please open a support case with Microaoft otherwise please wait for the CRM 2011 update rollup 12

  • Markus Dorfer Profile Picture
    on at

    Thanks for your answer.

    Not sure if this specific problem is solved with UR12, seems the be a new issue. I have checked UR12 kb2795627...

    We have already opened a MS-Case and will also try UR12 when available.

    Markus

  • Community Member Profile Picture
    on at

    Hi,

    Do you resolved this issue?

    We have the same problem...

    Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans