Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Asynch Service Error...

407 views
Skip to first unread message

Rusty

unread,
Feb 4, 2008, 1:46:03 PM2/4/08
to
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)
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

Noor Merchant [MSFT]

unread,
Feb 4, 2008, 10:21:01 PM2/4/08
to
Hi Rusty
Can you run the below query and send the results. By looking at the code, we
noticed that your database seems to be in an inconsistent state where you
have any Asyncoperation where the regardingobjectid is set but the
regardingobjecttypecode is Null.

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

silver100

unread,
Feb 5, 2008, 1:35:32 PM2/5/08
to
Hello,

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...

Sean

unread,
Feb 10, 2008, 10:27:16 AM2/10/08
to
Hi Rusyt , the organization that generated this error was it imported?

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.GetEntityLogicalNameFromObjectTy­peCode(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.ExecuteSqlCommandAndProcessRecord­s(IDbCommand command, RecordProcessor recordProcessor)

marco

unread,
Mar 30, 2008, 4:34:26 AM3/30/08
to
I have the same.
I was upgrading from the 3.0.
Some workflow is not working properly.
In my case the error disappear in few sec as the log shows 17416 server
resolved the error.

Any idea?

url:http://www.ureader.com/msg/126511011.aspx

jexia

unread,
Apr 6, 2008, 8:28:00 PM4/6/08
to

I had the same issue. Cancelling and deleting workflow tasks worked for me.

I did have an imported org.


Sean

unread,
Apr 11, 2008, 2:47:46 PM4/11/08
to
On Apr 6, 8:28 pm, jexia <je...@discussions.microsoft.com> wrote:
> I had the same issue.  Cancelling and deleting workflow tasks worked for me.
>
> I did have an imported org.

http://support.microsoft.com/kb/950680

0 new messages