web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

2011 to 2013 in place upgrade issues

(0) ShareShare
ReportReport
Posted on by 477

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>

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

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

  • Eugene Palmer Profile Picture
    200 on at

    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.

  • Suggested answer
    Rugved Gokhale Profile Picture
    on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans