locked
Sandbox plugins not working CRM 2011 UR 17 RRS feed

  • Question

  • Hi,

    I have updated a CRM 2011 to UR 17. Know I am running
    in to troubles with sandbox plugins. Before I go into details a brief summary
    about the system environment:

    • Development-Server -> A “Test”-system runs for development purposes
    • Customer-Server -> a “test”-system and a “productive”-system run on the same machine

    Currently I only have troubles with the test-System on
    the customer-machine: No plugin, which will be registered in Sandbox mode will
    be successfully executed end ends up with an unexpected error. In the
    Plugin-Trace you can not even see any custom tracing infos, which I added to my
    custom code.

    Below you can see the Trace output und the traces from
    the Crm-Diagnostic-Tools. Where I begin to wonder is the part with “>NestingDepth:
    300”.

    One temporary solution for me is that I have set all Plugins
    to Isolation-Mode “None”. Does anyone have an idea what problem could be?

    Many thanks in advance

    Klemens

    Plugin-Trace:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #56B43D1ADetail: 
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #56B43D1A</Message>
      <Timestamp>2014-11-06T07:22:42.6051352Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText>
    
    [ITPRO.CRM.OOEBS.Plugins: MS_CRM_2011_Auto_Number.AutoNumber]
    [1349db3a-125f-e211-994f-000c29b38ce1: MS_CRM_2011_Auto_Number.AutoNumber: Create of itpro_reception]
    
    
    </TraceText>
    </OrganizationServiceFault>

    CrmDiagnisticTool-Trace:

    [2014-11-06 08:09:31.504] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   34 |Category: Platform |User: 9341f658-50fd-4f40-b56f-b90a86227a8d |Level: Info |ReqId: 4adf08a8-b965-4f48-8823-84d06dc4d5bc | ExceptionConverter.TryConvertToCrmExceptionInternal  ilOffset = 0x2B
     at ExceptionConverter.TryConvertToCrmExceptionInternal(Exception exception, CrmException& crmException)  ilOffset = 0x2B
     at ExceptionConverter.TryConvertToCrmException(Exception exception, CrmException& crmException)  ilOffset = 0xAE
     at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
     at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
     at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x18F
     at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
     at ExtensiblePlatformMessageDispatcher.Execute(PipelineExecutionContext pluginContext)  ilOffset = 0x0
     at ExtensiblePlatformMessageDispatcher.CreateWithInvocationSource(BusinessEntity entity, Int32 invocationSource, ExecutionContext context)  ilOffset = 0xB4
     at BusinessProcessObject.Create(IBusinessEntity entity, ExecutionContext context)  ilOffset = 0x4E
     at RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)  ilOffset = 0xFFFFFFFF
     at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)  ilOffset = 0x101
     at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0x0
     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, 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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at CreateCommand.Execute()  ilOffset = 0xC
     at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)  ilOffset = 0x0
     at EntityProxy.Create(Boolean performDuplicateCheck)  ilOffset = 0x0
     at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)  ilOffset = 0x28
     at AppForm.Save(Boolean& gridRefreshCallbackAdded)  ilOffset = 0x47
     at AppForm.FormSaveEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xCF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 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& completedSynchronously)  ilOffset = 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
    >TryConvertToCrmExceptionInternal: top level exception is CrmException
    [2014-11-06 08:09:31.504] Process: w3wp |Organization:8a49e62d-f164-e411-9cdd-005056be6b80 |Thread:   34 |Category: Platform |User: 9341f658-50fd-4f40-b56f-b90a86227a8d |Level: Error |ReqId: 4adf08a8-b965-4f48-8823-84d06dc4d5bc | MessageProcessor.Execute  ilOffset = 0x18F
     at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x18F
     at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
     at ExtensiblePlatformMessageDispatcher.Execute(PipelineExecutionContext pluginContext)  ilOffset = 0x0
     at ExtensiblePlatformMessageDispatcher.CreateWithInvocationSource(BusinessEntity entity, Int32 invocationSource, ExecutionContext context)  ilOffset = 0xB4
     at BusinessProcessObject.Create(IBusinessEntity entity, ExecutionContext context)  ilOffset = 0x4E
     at RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)  ilOffset = 0xFFFFFFFF
     at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)  ilOffset = 0x101
     at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0x0
     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, 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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at CreateCommand.Execute()  ilOffset = 0xC
     at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)  ilOffset = 0x0
     at EntityProxy.Create(Boolean performDuplicateCheck)  ilOffset = 0x0
     at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)  ilOffset = 0x28
     at AppForm.Save(Boolean& gridRefreshCallbackAdded)  ilOffset = 0x47
     at AppForm.FormSaveEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xCF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 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& completedSynchronously)  ilOffset = 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
    >MessageProcessor fail to process message 'Create' for '<ourCustomEntiy>'.
    [2014-11-06 08:09:31.520] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   34 |Category: Platform |User: 9341f658-50fd-4f40-b56f-b90a86227a8d |Level: Info |ReqId: 4adf08a8-b965-4f48-8823-84d06dc4d5bc | ExceptionConverter.IsSandboxException  ilOffset = 0x3F
     at ExceptionConverter.IsSandboxException(Exception exception)  ilOffset = 0x3F
     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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at CreateCommand.Execute()  ilOffset = 0xC
     at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)  ilOffset = 0x0
     at EntityProxy.Create(Boolean performDuplicateCheck)  ilOffset = 0x0
     at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)  ilOffset = 0x28
     at AppForm.Save(Boolean& gridRefreshCallbackAdded)  ilOffset = 0x47
     at AppForm.FormSaveEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xCF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 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& completedSynchronously)  ilOffset = 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
    >IsSandboxException: TargetInvocationException
    [2014-11-06 08:09:31.520] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   34 |Category: Platform |User: 9341f658-50fd-4f40-b56f-b90a86227a8d |Level: Info |ReqId: 4adf08a8-b965-4f48-8823-84d06dc4d5bc | ExceptionConverter.IsSandboxException  ilOffset = 0x8B
     at ExceptionConverter.IsSandboxException(Exception exception)  ilOffset = 0x8B
     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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at CreateCommand.Execute()  ilOffset = 0xC
     at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)  ilOffset = 0x0
     at EntityProxy.Create(Boolean performDuplicateCheck)  ilOffset = 0x0
     at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)  ilOffset = 0x28
     at AppForm.Save(Boolean& gridRefreshCallbackAdded)  ilOffset = 0x47
     at AppForm.FormSaveEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xCF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 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& completedSynchronously)  ilOffset = 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
    >IsSandboxException: true
    [2014-11-06 08:09:31.520] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   34 |Category: Platform |User: 9341f658-50fd-4f40-b56f-b90a86227a8d |Level: Info |ReqId: 4adf08a8-b965-4f48-8823-84d06dc4d5bc | VersionedPluginProxyStepBase.Execute  ilOffset = 0x65
     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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at CreateCommand.Execute()  ilOffset = 0xC
     at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)  ilOffset = 0x0
     at EntityProxy.Create(Boolean performDuplicateCheck)  ilOffset = 0x0
     at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)  ilOffset = 0x28
     at AppForm.Save(Boolean& gridRefreshCallbackAdded)  ilOffset = 0x47
     at AppForm.FormSaveEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xCF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 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& completedSynchronously)  ilOffset = 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
    >enter: TryConvertToCrmException: exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    [2014-11-06 08:09:31.520] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   34 |Category: Platform |User: 9341f658-50fd-4f40-b56f-b90a86227a8d |Level: Info |ReqId: 4adf08a8-b965-4f48-8823-84d06dc4d5bc | ExceptionConverter.DumpExceptionRecursive  ilOffset = 0x27C
     at ExceptionConverter.DumpExceptionRecursive(StreamWriter streamWriter, Exception exception)  ilOffset = 0x27C
     at ExceptionConverter.DumpExceptionToString(Exception exception, String info)  ilOffset = 0x26
     at ExceptionConverter.DumpExceptionToTrace(Exception exception, String info)  ilOffset = 0x8
     at ExceptionConverter.TryConvertToCrmException(Exception exception, CrmException& crmException)  ilOffset = 0x57
     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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at CreateCommand.Execute()  ilOffset = 0xC
     at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)  ilOffset = 0x0
     at EntityProxy.Create(Boolean performDuplicateCheck)  ilOffset = 0x0
     at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)  ilOffset = 0x28
     at AppForm.Save(Boolean& gridRefreshCallbackAdded)  ilOffset = 0x47
     at AppForm.FormSaveEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xCF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 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& completedSynchronously)  ilOffset = 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
    >NestingDepth: 300
    [2014-11-06 08:09:31.520] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   34 |Category: Platform |User: 9341f658-50fd-4f40-b56f-b90a86227a8d |Level: Info |ReqId: 4adf08a8-b965-4f48-8823-84d06dc4d5bc | ExceptionConverter.DumpExceptionToTrace  ilOffset = 0x11
     at ExceptionConverter.DumpExceptionToTrace(Exception exception, String info)  ilOffset = 0x11
     at ExceptionConverter.TryConvertToCrmException(Exception exception, CrmException& crmException)  ilOffset = 0x57
     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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at CreateCommand.Execute()  ilOffset = 0xC
     at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)  ilOffset = 0x0
     at EntityProxy.Create(Boolean performDuplicateCheck)  ilOffset = 0x0
     at AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)  ilOffset = 0x28
     at AppForm.Save(Boolean& gridRefreshCallbackAdded)  ilOffset = 0x47
     at AppForm.FormSaveEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xCF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 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& completedSynchronously)  ilOffset = 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
    >----- dump exception/fault tree (TryConvertToCrmException: before) -----
    >>>>>> EXCEPTION: 0
    >Type: System.Reflection.TargetInvocationException
    >Message (57): Exception has been thrown by the target of an invocation.
    >StackTrace: present: 40761152
    >no PluginTrace
    >>>>>> EXCEPTION: 1
    >Type: Microsoft.Crm.CrmException
    >ErrorCode: 0x80040216: ErrorCodes.UnExpected
    >Message (181): System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #0330D39D
    >StackTrace: present: C71C5945
    >PluginTrace length: 166
    >>>>>> PluginTrace (166):
    >[<ourPluginNamespace>: MS_CRM_2011_Auto_Number.AutoNumber]
    >[1349db3a-125f-e211-994f-000c29b38ce1: MS_CRM_2011_Auto_Number.AutoNumber: Create of <ourCustomEntiy>]
    >
    ><<<<< PluginTrace:
    >>>>>> FAULT: 0
    >ErrorCode: 0x80040216: ErrorCodes.UnExpected
    >Message (181): System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #0330D39D
    >Timestamp: present
    >TraceText <null>
    >CallStack <null>
    >InnerFault <null>
    ><<<<< FAULT: 0
    >InnerException <null>
    ><<<<< EXCEPTION: 1



    Thursday, November 6, 2014 8:00 AM