1 vote
Unable to delete ObjectModel plugin that comes by default with tool

Description

 
Ok the plugin tool worked fine but after some point a was getting a error whenever i used the create message to make a new record for an entity(account,contact,leads,...).
The thing is when I check the trace file it all says something about the Microsoft.Crm.Extensibility.InternalOperation. When i check the tool there are no steps under the two plugins for the ObjectModel assembly which are : InternalOperation and V3CalloutProxyPlugin.

The errors that i get are:

Error: Exception has been thrown by the target of an invocation.
Error Number: 0x80040265
Error Message: The given key was not present in the dictionary.
Error Details: The given key was not present in the dictionary.
Source File: Not available
Line Number: Not available

Stack Trace Info: [KeyNotFoundException: The given key was not present in the dictionary.]
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.Crm.Sdk.PropertyBag.get_Item(String key)
at Microsoft.Crm.ObjectModel.CaptureExchangeRate.FetchExchangeRate(Guid transactionCurrencyId, EntityMetadata entityMetadata, ExecutionContext context)
at Microsoft.Crm.ObjectModel.CaptureExchangeRate.CaptureExchangeRateInternal(DynamicEntity entity, IBusinessEntity entityPreImage, EntityMetadata entityMetadata, String transactionCurrencyEntityName, String exchangeRateFieldName, String transactionCurrencyFieldName, ExecutionContext context, Boolean isCurrencyInPropBag, Boolean isCurrencyNullInPropBag, Boolean isCurrencyNullInPreImg, Boolean isMoneyFieldInPropBag, Boolean isCreateOperation, Boolean isSetStateOperation, ArrayList unchangedAttributes)
at Microsoft.Crm.ObjectModel.CaptureExchangeRate.Execute(EntityDataInformation entityDataInformation)
at Microsoft.Crm.ObjectModel.MultiCurrencyPlugin.Execute(IPluginExecutionContext context)
at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)

[InvalidPluginExecutionException: The given key was not present in the dictionary.]
at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.Execute(PipelineExecutionContext pluginContext)
at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.Create(BusinessEntity entity, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Create(IBusinessEntity entity, ExecutionContext context)
at Microsoft.Crm.ObjectModel.AccountService.Create(IBusinessEntity entity, ExecutionContext context)

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
at Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request)
at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal()
at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.Execute()
at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck)
at Microsoft.Crm.Application.Forms.AppForm.SaveEntity(EntityProxy entity, FormEventId eventType, String redirectPath, Boolean performDuplicateCheck)



Except from that i cant delete these this assembly nor another plugin I created...


Any one can help ??????????????????????

File Attachments


No files are attached


Comments

most recent at top (show oldest at top)


Updating...
Page view tracker