Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM 2011 Onload incident Entity Exception

Posted on by 75

 Can anyone help me resolve this issue in CRM 2011

at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x7
at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x5
at ConvertHelper.ToIndexValue(Object value)  ilOffset = 0x75
at BusinessProcessObject.SetChildEnumAttributesOnBusinessEntity(BusinessEntity entity, Int32 languageCode, ExecutionContext context)  ilOffset = 0x132
at BusinessProcessObject.DoRetrieve(BusinessEntityMoniker moniker, BusinessEntity entity, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)  ilOffset = 0xD2
at BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)  ilOffset = 0x6E
at BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode)  ilOffset = 0x7
at BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)  ilOffset = 0xF
at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x25
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0x89
at LogicalMethodInfo.Invoke(Object target, Object[] values)  ilOffset = 0x4F
at InternalOperationPlugin.Execute(IServiceProvider serviceProvider)  ilOffset = 0x57
at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)  ilOffset = 0x50
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1C5
at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)  ilOffset = 0x156
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x1E0
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24
at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
at RetrieveCommand.Execute()  ilOffset = 0x2
at EntityProxy.Retrieve(String[] columns, Guid auditingTransactionId)  ilOffset = 0x3C
at EntityProxy.Retrieve(String columnSet, Guid auditingTransactionId)  ilOffset = 0xB
at EntityProxy.Retrieve(String columnSet)  ilOffset = 0x7
at AppForm.FormLoadEvent()  ilOffset = 0x0
at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xC5
at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 0x62
at CaseRecordPageHandler.ConfigureFormHandler()  ilOffset = 0x7E
at GenericEventProcessor.RaiseEvent(String eventName)  ilOffset = 0x2D
at PageManager.OnPreRender(EventArgs e)  ilOffset = 0x47
at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
at Page.ProcessRequest()  ilOffset = 0x14
at Page.ProcessRequest(HttpContext context)  ilOffset = 0x33
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
>Crm Exception: Message: ToIndexValue supports only integer and boolean types. Actual Type: System.String, ErrorCode: -2147220989

*This post is locked for comments

  • AHMET TANRIKULU Profile Picture
    AHMET TANRIKULU 225 on at
    RE: CRM 2011 Onload incident Entity Exception

    did you use custom sql index at the table indexbase or extensionbase? remove it and try?

    OR

    do you get this errror on a spesific record? or all incident? if you get error on a spesific record, in sql Compare two record one is correct record and other is error one.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans