Answered by:
Problem with plugin, Microsoft.Crm.ObjectModel

Question
-
I have been working on a plugin developement and was testing plugin using profiler, unexpetedly I created a new step under Microsoft.Crm.ObjectModel, when I checked that step is not there in Microsoft.Crm.ObjectModel. But now my other plugins are not working properly. Getting following exception
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An error occurred. Contact a system administrator or refer to the Microsoft Dynamics CRM SDK troubleshooting guide.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>CallStack</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string"> at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.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.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)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean traceRequest, OrganizationContext context, Boolean returnResponse)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>An error occurred. Contact a system administrator or refer to the Microsoft Dynamics CRM SDK troubleshooting guide.</Message>
<Timestamp>2013-07-02T10:11:05.8250078Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>
[ActivityFeeds.Plugins: ActivityFeeds.Plugins.ActivityClose]
[cd0b8772-f4e2-e211-9b0d-005056000007: ActivityFeeds.Plugins.ActivityClose: Create of any Entity]
</TraceText>
</OrganizationServiceFault>
Thanks Regards Prashanth Kamasamudram Even the least work done for others awakens the power within; even thinking the least good of others gradually instills into the heart the strength of a lion.
Tuesday, July 2, 2013 10:15 AM
Answers
-
I think by mistake you have created step in ActivityFeed.Plugins. Double check that you have not created step at wrong place. There is a similar thread as well. Its worth trying.
If it does not help than try deleting the activity feeds solution to see if that helps. You can always download and import the activity feeds solution again afterwards.
Good Luck.
- Proposed as answer by jattscorpion Tuesday, July 2, 2013 10:40 AM
- Edited by jattscorpion Tuesday, July 2, 2013 10:58 AM addition
- Marked as answer by Prashanth Kamasamudram Tuesday, July 2, 2013 11:19 AM
Tuesday, July 2, 2013 10:37 AM -
Thank you Hayer,
Actually I have mistakenly created step in Activity feeds not in Microsoft.Crm.ObjectModel. once I unregistered the step, everything became normal.
Thaknks Alot.
Thanks Regards Prashanth Kamasamudram Even the least work done for others awakens the power within; even thinking the least good of others gradually instills into the heart the strength of a lion.
- Marked as answer by Prashanth Kamasamudram Tuesday, July 2, 2013 11:19 AM
Tuesday, July 2, 2013 11:18 AM
All replies
-
I think by mistake you have created step in ActivityFeed.Plugins. Double check that you have not created step at wrong place. There is a similar thread as well. Its worth trying.
If it does not help than try deleting the activity feeds solution to see if that helps. You can always download and import the activity feeds solution again afterwards.
Good Luck.
- Proposed as answer by jattscorpion Tuesday, July 2, 2013 10:40 AM
- Edited by jattscorpion Tuesday, July 2, 2013 10:58 AM addition
- Marked as answer by Prashanth Kamasamudram Tuesday, July 2, 2013 11:19 AM
Tuesday, July 2, 2013 10:37 AM -
Thank you Hayer,
Actually I have mistakenly created step in Activity feeds not in Microsoft.Crm.ObjectModel. once I unregistered the step, everything became normal.
Thaknks Alot.
Thanks Regards Prashanth Kamasamudram Even the least work done for others awakens the power within; even thinking the least good of others gradually instills into the heart the strength of a lion.
- Marked as answer by Prashanth Kamasamudram Tuesday, July 2, 2013 11:19 AM
Tuesday, July 2, 2013 11:18 AM