locked
CRM 4.0 on save error account - help! RRS feed

  • Question

  • Hi:

    I have an error when the I try to save an account, the error is:

    Error: Exception has been thrown by the target of an invocation.
    Error Number: 0x80040265

    The log shown an error with a plugin (V3CalloutProxyPlugin), but the plugin is original from the CRM, and if disable it, the CRM hang when try to show the view of the accounts

    This is the trace.

    Thanks!!

    at PluginStep.Execute(PipelineExecutionContext context)
    at Pipeline.Execute(PipelineExecutionContext context)
    at MessageProcessor.Execute(PipelineExecutionContext context)
    at InternalMessageDispatcher.Execute(PipelineExecutionContext context)
    at ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at InProcessCrmService.Execute(Object request)
    at PlatformCommand.ExecuteInternal()
    at UpdateCommand.Execute()
    at EntityProxy.Update(Boolean performDuplicateCheck)
    at EntityProxy.Update()
    at AppForm.HandleFormEventAssign(Boolean gridRefreshCallbackAdded)
    at AppForm.RaiseDataEvent(FormEventId eventId)
    at EndUserForm.Initialize(Entity entity)
    at CustomizableForm.Execute(Entity entity, String formType)
    at CustomizableForm.Execute(Entity entity)
    at AccountDetailPage.ConfigureForm()
    at AppUIPage.OnPreRender(EventArgs e)
    at Control.PreRenderRecursiveInternal()
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at Page.ProcessRequest()
    at Page.ProcessRequestWithNoAssert(HttpContext context)
    at Page.ProcessRequest(HttpContext context)
    at indumotora_sfa_accts_edit_aspx.ProcessRequest(HttpContext context)
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at ApplicationStepManager.ResumeSteps(Exception error)
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    >Web Service Plug-in failed in SdkMessageProcessingStepId: {8A798812-5770-DF11-B275-00155D64EA58}; EntityName: account; Stage: 10; MessageName: Update; AssemblyName: Microsoft.Crm.Extensibility.V3CalloutProxyPlugin, Microsoft.Crm.ObjectModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.V3CalloutProxyPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
    at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
    at System.Activator.CreateInstance(Type type, Boolean nonPublic)
    at Microsoft.Crm.Extensibility.V3CalloutProxyPlugin.CalloutAdapterBase.CreateV3Callout(XmlElement configurationElement)
    at Microsoft.Crm.Extensibility.V3CalloutProxyPlugin.CalloutAdapterBase.get__v3Callout()
    at Microsoft.Crm.Extensibility.V3CalloutProxyPlugin.CalloutAdapterBase.ExecuteAdapter(IPluginExecutionContext context)
    at Microsoft.Crm.Extensibility.V3CalloutProxyPlugin.Execute(IPluginExecutionContext context)
    at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
    Inner Exception: System.Security.SecurityException: Requested registry access is not allowed.
    at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
    at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
    at System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData)
    at System.Diagnostics.EventLog.CreateEventSource(String source, String logName)
    at Scribe.MSCRMAdapter30.CalloutComp.EventLogger.LogEvent(EventLogEntryType entryType, String location, CalloutEntityContext entityContext, String msg)
    at Scribe.MSCRMAdapter30.CalloutComp.EventLogger.LogEvent(EventLogEntryType entryType, String location, String msg)
    at Scribe.MSCRMAdapter30.CalloutComp.CompanyMatchComponent..ctor()

    Thursday, May 3, 2012 8:36 PM

All replies

  • Hi luismals,

                    The V3CalloutProxyPlugin is to support old CRM 3.0 plugins (aka callouts) did you check this post?

    http://www.ureader.com/msg/12663126.aspx

    You should be able to deactivate the CRM 3.0 callouts that are activated and producing that error.


    Regards,
    Damian Sinay

    Friday, May 4, 2012 3:53 AM