2011 to 2013 in place upgrade issues

This question has suggested answer(s)

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>

All Replies