I have upgraded from CRM 3.0 to CRM 4.0. In the mist the sql server
crashed and we had to rebuild CRM by redeploying it on a fresh
install, then using the Import Orgainization wizard to import the
database. Now i get the following error on the CRM server box when
trying to delete any record in the system. It will take several
minutes before anything happens, sometimes i get an error on my screen
and the record doesnt delete, other times it finally deletes after
roughly 5ish minutes if not longer.
Event Type: Error
Event Source: MSCRMAsyncService
Event Category: None
Event ID: 17415
Date: 7/16/2008
Time: 7:19:05 AM
User: N/A
Computer: CRM
Description:
Host CRM: error while processing organization 6eb903ef-d73e-
dd11-95ee-0018fe73ddbe. 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)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
I saw in a different post someone say try running the following select
statement on the SQL database and respond w/ the results.
select statecode,statuscode,operationtype from asyncoperationbase
where regardingobjectid is not null AND regardingobjecttypecode is
NULL
I received 55k+ records of
3 30 12
repeating, ended up being the whole table matched that critera..
Also on top of all that; the duplicate detection rules can't be
deleted or unpublished saying that there is an active process running.
There are none...
Any ideas? Thanks in advance.