Question Status

Suggested Answer
Eugene_Palmer asked a question on 28 Nov 2013 4:15 PM

Hi,

After an on-premise, in place upgrade I am getting a MSCRMWebService Error when attempting to open some, but not all, account records.  It is curious because some records open without error.  The upgrade proceeded without error.  It did have warnings about inconsistent stored procedures and indexes at the check though.

Also, when in any contact records, which open OK, attempting to click through to an activity also always errors.

The error follows.

Thanks for any help or insight.   I realize this is likely a MS support call.

Log Name:      Application

Source:        MSCRMWebService

Date:          11/28/2013 3:02:41 PM

Event ID:      18176

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      XXXX.XXXXX.local

Description:

The Web Service plug-in failed in OrganizationId: 09a117bc-14ea-dd11-baa9-0015178a2d38; SdkMessageProcessingStepId: 81cbbb1b-ea3e-db11-86a7-000a3a5473e8; EntityName: account; Stage: 30; MessageName: Retrieve; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

  at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

  at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

  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(IServiceProvider serviceProvider)

  at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)

  at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)

Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.

  at Microsoft.Crm.BusinessEntities.RecordDisabledMergedNotificationGenerator.BusinessLogic(IBusinessEntity entity, IOrganizationContext context, NotificationAdder notificationAdder)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.<>c__DisplayClass8.<InitializeBusinessNotificationGenerators>b__7(Object sender, ExtensionEventArgs args)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PostRetrieveEventHandler.Invoke(Object sender, ExtensionEventArgs e)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.TryRetrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget, BusinessEntity& businessEntity)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)

.

Event Xml:

<Event xmlns="schemas.microsoft.com/.../event">

 <System>

   <Provider Name="MSCRMWebService" />

   <EventID Qualifiers="49152">18176</EventID>

   <Level>2</Level>

   <Task>0</Task>

   <Keywords>0x80000000000000</Keywords>

   <TimeCreated SystemTime="2013-11-28T23:02:41.000Z" />

   <EventRecordID>489568</EventRecordID>

   <Channel>Application</Channel>

   <Computer>XXXX.XXXXX.local</Computer>

   <Security />

 </System>

 <EventData>

   <Data>09a117bc-14ea-dd11-baa9-0015178a2d38</Data>

   <Data>81cbbb1b-ea3e-db11-86a7-000a3a5473e8</Data>

   <Data>account</Data>

   <Data>30</Data>

   <Data>Retrieve</Data>

   <Data>Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Data>

   <Data>Microsoft.Crm.Extensibility.InternalOperationPlugin</Data>

   <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

  at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

  at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

  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(IServiceProvider serviceProvider)

  at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)

  at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)

Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.

  at Microsoft.Crm.BusinessEntities.RecordDisabledMergedNotificationGenerator.BusinessLogic(IBusinessEntity entity, IOrganizationContext context, NotificationAdder notificationAdder)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.<>c__DisplayClass8.<InitializeBusinessNotificationGenerators>b__7(Object sender, ExtensionEventArgs args)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PostRetrieveEventHandler.Invoke(Object sender, ExtensionEventArgs e)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.TryRetrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget, BusinessEntity& businessEntity)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode)

  at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)

</Data>

 </EventData>

</Event>

Reply
Suggested Answer
chetan w responded on 1 Dec 2013 5:32 PM

I would suggest you to open support ticket with Microsoft to investigate further .

Reply
Suggested Answer
Rugved Gokhale responded on 9 Dec 2013 2:50 AM

Hello,

This looks like a most probable solution for your problem. The error you posted above is because of old "Merged" attribute which is now updated in new releases of CRM.

Have a look at this :-  https://community.dynamics.com/crm/b/crmdavidjennaway/archive/2013/12/08/crm-2013-upgrading-from-an-ex-crm-1-2-organisation.aspx

Thanks & Regards,

Rugved Gokhale

Reply
Suggested Answer
chetan w responded on 1 Dec 2013 5:32 PM

I would suggest you to open support ticket with Microsoft to investigate further .

Reply
Eugene Palmer responded on 7 Dec 2013 1:28 PM

Yes, thank you.  What I have done is taken a VM export and will work with MS support out of production.  The production deployment has been restored to the working 2011 version.

Nobody is that fond of the tiles anyway.

Reply
Suggested Answer
Rugved Gokhale responded on 9 Dec 2013 2:50 AM

Hello,

This looks like a most probable solution for your problem. The error you posted above is because of old "Merged" attribute which is now updated in new releases of CRM.

Have a look at this :-  https://community.dynamics.com/crm/b/crmdavidjennaway/archive/2013/12/08/crm-2013-upgrading-from-an-ex-crm-1-2-organisation.aspx

Thanks & Regards,

Rugved Gokhale

Reply