Hi All,
I am working on custom workflow for opportunity to task. I wrote C# code and build the solution. When i am trying to register workflow in plugin registration tool, i am facing issue. Below is the error message.
Please someone can help me it would be very useful.
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Invalid CrmReferenceTarget: The entity Opportunity doesn't exist. Property: Opportunity Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"> <ActivityId>21031321-ec0a-45b1-a8a3-32bf3c787ed6</ActivityId> <ErrorCode>-2147200995</ErrorCode> <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>Invalid CrmReferenceTarget: The entity Opportunity doesn't exist. Property: Opportunity</Message> <Timestamp>2017-02-16T13:24:07.1494607Z</Timestamp> <ExceptionSource i:nil="true" /> <InnerFault> <ActivityId>21031321-ec0a-45b1-a8a3-32bf3c787ed6</ActivityId> <ErrorCode>-2147200995</ErrorCode> <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>Invalid CrmReferenceTarget: The entity Opportunity doesn't exist. Property: Opportunity</Message> <Timestamp>2017-02-16T13:24:07.1494607Z</Timestamp> <ExceptionSource i:nil="true" /> <InnerFault i:nil="true" /> <OriginalException i:nil="true" /> <TraceText i:nil="true" /> </InnerFault> <OriginalException i:nil="true" /> <TraceText i:nil="true" /> </OrganizationServiceFault> Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at Microsoft.Crm.Tools.Libraries.RegistrationHelper.RegisterPlugin(CrmOrganization org, CrmPlugin plugin) at Microsoft.Crm.Tools.AssemblyRegistration.PluginRegistrationViewModel.btnregisterClick()
*This post is locked for comments