I'm getting this wierd error message in the application log of my crm server:
Event Type: Error
Event Source: MSCRMAsyncService
Event Category: None
Event ID: 17415
Date: 2/4/2008
Time: 12:01:47 PM
User: N/A
Computer: MyCrmServer
Description:
Host MyCrmServer: error while processing organization
c6633e81-f7c9-dc11-89d1-0003fff66785. Exception:
Microsoft.Crm.Metadata.EntityMetadataNotFoundException: The entity with
ObjectTypeCode = 0 was not found in the MetadataCache.
at Microsoft.Crm.Metadata.DynamicMetadataCache.GetEntity(Int32 entityCode)
at
Microsoft.Crm.Asynchronous.QueueDataAccess.GetEntityLogicalNameFromObjectTypeCode(Int32 objectTypeCode)
at Microsoft.Crm.Asynchronous.QueueDataAccess.GetLookup(Object objectId,
String objectIdName, Int32 objectDsc, Int32 objectTypeCode)
at
Microsoft.Crm.Asynchronous.QueueDataAccess.<>c__DisplayClass2.<SelectEvents>b__0(Object[] values)
at
Microsoft.Crm.Asynchronous.DataAccessBase.ExecuteSqlCommandAndProcessRecords(IDbCommand command, RecordProcessor recordProcessor)
at Microsoft.Crm.Asynchronous.QueueDataAccess.SelectEvents(Int32
numberOfEvents)
.....
This error pops each time the service restarts; 4-5 times if I boot the
server.
The ORGANIZATION in the error log msg is the active organization I'm
running, and the guid is correct; what I don't understand is this part of the
log: "The entity with ObjectTypeCode = 0 was not found in the MetadataCache."
If you look at the Entity view in SQL Server, there are precisely *zero*
entity types with ObjectTypeCode = 0, so it seems this service would *always*
fail....
any ideas out there?
Thanks!
--
Rusty
select statecode,statuscode,operationtype from
asyncoperationbase where regardingobjectid is not null
AND regardingobjecttypecode is NULL
Have you directly updated any values in the AsyncOperation Table? Is this an
upgraded environment?
Thanks
Noor
I had the same issue.
What worked for me - I cleaned all workflow tasks, all import tasks and all
duplicate deletion jobs as well.
After that deleting/canceling - no more such event log entries appears and
no more waiting imports.
"Rusty" <Ru...@discussions.microsoft.com> píše v diskusním příspěvku
news:B74268B0-4E18-46CC...@microsoft.com...
On Feb 4, 1:46 pm, Rusty <Ru...@discussions.microsoft.com> wrote:
> Hey everyone...
>
> I'm getting this wierd error message in the application log of my crm server:
>
> Event Type: Error
> Event Source: MSCRMAsyncService
> Event Category: None
> Event ID: 17415
> Date: 2/4/2008
> Time: 12:01:47 PM
> User: N/A
> Computer: MyCrmServer
> Description:
> Host MyCrmServer: error while processing organization
> c6633e81-f7c9-dc11-89d1-0003fff66785. Exception:
> Microsoft.Crm.Metadata.EntityMetadataNotFoundException: The entity with
> ObjectTypeCode = 0 was not found in the MetadataCache.
> at Microsoft.Crm.Metadata.DynamicMetadataCache.GetEntity(Int32 entityCode)
> at
> Microsoft.Crm.Asynchronous.QueueDataAccess.GetEntityLogicalNameFromObjectTypeCode(Int32 objectTypeCode)
> at Microsoft.Crm.Asynchronous.QueueDataAccess.GetLookup(Object objectId,
> String objectIdName, Int32 objectDsc, Int32 objectTypeCode)
> at
> Microsoft.Crm.Asynchronous.QueueDataAccess.<>c__DisplayClass2.<SelectEvents>b__0(Object[] values)
> at
> Microsoft.Crm.Asynchronous.DataAccessBase.ExecuteSqlCommandAndProcessRecords(IDbCommand command, RecordProcessor recordProcessor)
Any idea?
I did have an imported org.