Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

System.Threading.ThreadAbortException: Thread was being aborted + missing records

$
0
0

Hello,

In the last few days I found out that I have some missing activity records.

After enabling the log trace I found out:

1. I have a repeating error (Every 5-10, with empty useridguid) regarding thread error.  

at ExceptionConverter.ConvertMessageAndErrorCode(Exception exception, Int32& errorCodeilOffset = 0x23B

at ExceptionConverter.ToSingleFaultOther(Exception exception)  ilOffset = 0x2B

at ExceptionConverter.ToSingleFaultUnTyped(Exception exception)  ilOffset = 0x3A

at ExceptionConverter.ConvertToFault(Exception exception)  ilOffset = 0x57

at ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultExceptionilOffset = 0x6D

at FaultHelper.ConvertToFault(Exception exception)  ilOffset = 0x0

at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context)  ilOffset = 0x24B

at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context)  ilOffset = 0x0

at AppForm.HandleSaveEntityException(Exception exception, FormEventId eventType, String url)  ilOffset = 0x22

at AppForm.RaiseDataEvent(FormEventId eventIdilOffset = 0x5E

at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F

atCustomizableForm.Execute(Entity entity, FormDescriptor fdilOffset = 0x62

at RecordPageHandler.ConfigureFormWrapper(ilOffset = 0xC

at GenericEventProcessor.RaiseEvent(String eventName)  ilOffset = 0x2D

at PageManager.OnPreRender(EventArgs e)  ilOffset = 0x53

at Control.PreRenderRecursiveInternal(ilOffset = 0x54

at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69E

at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C

at Page.ProcessRequest(ilOffset = 0x14

at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31

at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute(ilOffset = 0x11D

at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronouslyilOffset = 0x15

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 ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45

>System.Threading.ThreadAbortException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #F6CE222E: System.Threading.ThreadAbortException: Thread was being aborted.

>   at System.Threading.Thread.AbortInternal()

>   at System.Threading.Thread.Abort(Object stateInfo)

>   at System.Web.HttpResponse.End()

>   at Microsoft.Crm.Application.Forms.AppForm.RenderCloseWindow(EntityType entityType, String searchText, Guid entityId)

>   at Microsoft.Crm.Application.Forms.AppForm.RenderCloseWindow(EntityType entityType)

>   at Microsoft.Crm.Application.Components.PageHandlers.BasicActivityRecordPageHandler.SaveAsCompleted(Object sender, DataEventArgs e)

>   at Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId eventId, FormState state, String objectId, Entity entity)

>   at Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId)

2. I found this error and I think it's regarding activity the disappeared

at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlExceptionilOffset = 0x0

at CrmException..ctor(String message, Exception innerException, Int32 errorCode)  ilOffset = 0x0

at RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringTypeilOffset = 0xFFFFFFFF

at RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0xD8

at RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)  ilOffset = 0x1E7

at VersionedPluginProxyStepBase.WrapExceptionToThrow(CrmException exception)  ilOffset = 0xD3

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, UserAuth userAuth, Guid targetUserId, Boolean traceRequest, OrganizationContext context, Boolean returnResponse)  ilOffset = 0x145

at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x34

at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24

at   ilOffset = 0xFFFFFFFF

at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)  ilOffset = 0x226

at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpcilOffset = 0xE7

at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpcilOffset = 0x41

at ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpcilOffset = 0xC6

at MessageRpc.Process(Boolean isOperationContextSetilOffset = 0x62

at ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContextilOffset = 0x1D7

at ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContextilOffset = 0xF1

at ChannelHandler.AsyncMessagePump(IAsyncResult result)  ilOffset = 0x21

at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0

at AsyncResult.Complete(Boolean completedSynchronously)  ilOffset = 0xC2

at ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result)  ilOffset = 0x55

at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0

at AsyncResult.Complete(Boolean completedSynchronously)  ilOffset = 0xC2

at AsyncQueueReader.Set(Item item)  ilOffset = 0x21

at InputQueue`1.Dispatch(ilOffset = 0x121

at ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)  ilOffset = 0x22

at IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlappedilOffset = 0x5

at _IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)  ilOffset = 0x3C

>Crm Exception: Message: phonecall With Id = f63af75f-fbab-e211-ada2-e61f13595a3b Does Not Exist, ErrorCode: -2147220969, InnerException: Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: phonecall With Id = f63af75f-fbab-e211-ada2-e61f13595a3b Does Not Exist

at Microsoft.Crm.ObjectModel.CommunicationActivityServiceBase.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)

Is there any connection between these errors?

How can I find out why some activities disappeared?

I am using the last version (rollup13) of MS CRM 2011

 

Regards,

Lior

 


Viewing all articles
Browse latest Browse all 82002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>