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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

An unexpected error occurred. While saving appointment

(0) ShareShare
ReportReport
Posted on by

Hi,

Can anyone give me any hints what does this error means? Where to look for mistake.  We get this error when trying to save appointment.  There are no extra "On Save"  configured for this form. 

This is how log file looks like:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">An unexpected error occurred.</faultstring><detail><OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ErrorCode>-2147220970</ErrorCode><ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic"/><Message>An unexpected error occurred.</Message><Timestamp>2015-02-20T08:53:39.6185447Z</Timestamp><InnerFault><ErrorCode>-2147220970</ErrorCode><ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic"/><Message>System.Globalization.CultureNotFoundException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #36A18488</Message><Timestamp>2015-02-20T08:53:39.6185447Z</Timestamp><InnerFault i:nil="true"/><TraceText i:nil="true"/></InnerFault><TraceText i:nil="true"/></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

One morrning we just started to get this error.   

*This post is locked for comments

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

    To me it seems a slightly generic 'error' message

    I would try a couple things

    1) make sure you have enough space

    2) enable tracing so you get a more details report

  • Trevor Bezzina Profile Picture
    50 on at

    It was introduced with Rollup 3. We have the same issue.  Through the log we can see.

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

    Inner Exception: System.Globalization.CultureNotFoundException: Culture is not supported.

    Parameter name: culture

    0 (0x0000) is an invalid culture identifier.

       at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)

       at System.Globalization.CultureInfo..ctor(Int32 culture)

       at

    It seems a bug freshly introduced

  • AaronRic Profile Picture
    10,035 on at

    This error is still quite generic and can be caused by multiple issues. I would start by verifying that the user encounterin this has “Write” permissions for User Settings

  • Robert Gambin Profile Picture
    110 on at

    Hi Aaron,

    This issue was introduced when we installed Rollup2 for SP1.  From the traces in event viewer the error is being generated when checking if a conflicting appointment is present and the result is null (no conflicts). In fact if the appointment is conflicting the issue is not present.

    We can also confirm that the data is still saved i.e. the change in the appointment date is saved to the database and the appointment is moved in the calendar to the new date time.

    We can also confirm that uninstalling Rollup 2 solves the issue 

    Log Name: Application
    Source: MSCRMWebService
    Date: 20/02/2015 14:25:37
    Event ID: 18176
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: *****************
    Description:
    The Web Service plug-in failed in OrganizationId: 83def876-69a4-e311-93f3-00155d5078c2; SdkMessageProcessingStepId: 7dcbbb1b-ea3e-db11-86a7-000a3a5473e8; EntityName: appointment; Stage: 30; MessageName: Reschedule; 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.Globalization.CultureNotFoundException: Culture is not supported.
    Parameter name: culture
    0 (0x0000) is an invalid culture identifier.
    at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)
    at System.Globalization.CultureInfo..ctor(Int32 culture)
    at Microsoft.Crm.Common.BusinessEntities.AppointmentConflictNotificationGenerator.AddNotifications(NotificationAdder notifications, ErrorInfo[] errorInfoArray, CrmResourceManager crmResourceManager, IOrganizationContext context)
    at Microsoft.Crm.Common.ObjectModel.AppointmentService.Reschedule(BusinessEntity entity, ExecutionContext context)
    .
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="MSCRMWebService" />
    <EventID Qualifiers="49152">18176</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-02-20T13:25:37.000000000Z" />
    <EventRecordID>504661</EventRecordID>
    <Channel>Application</Channel>
    <Computer>********</Computer>
    <Security />
    </System>
    <EventData>
    <Data>83def876-69a4-e311-93f3-00155d5078c2</Data>
    <Data>7dcbbb1b-ea3e-db11-86a7-000a3a5473e8</Data>
    <Data>appointment</Data>
    <Data>30</Data>
    <Data>Reschedule</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.Globalization.CultureNotFoundException: Culture is not supported.
    Parameter name: culture
    0 (0x0000) is an invalid culture identifier.
    at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)
    at System.Globalization.CultureInfo..ctor(Int32 culture)
    at Microsoft.Crm.Common.BusinessEntities.AppointmentConflictNotificationGenerator.AddNotifications(NotificationAdder notifications, ErrorInfo[] errorInfoArray, CrmResourceManager crmResourceManager, IOrganizationContext context)
    at Microsoft.Crm.Common.ObjectModel.AppointmentService.Reschedule(BusinessEntity entity, ExecutionContext context)
    </Data>
    </EventData>
    </Event>

  • Community Member Profile Picture
    on at

    We had the same issues but our appointment form is heavily customised

    • <s:Envelope xmlns:s="schemas.xmlsoap.org/.../&quot;><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xmlns:xml="www.w3.org/.../namespace&quot; xml:lang="en-US">An unexpected error occurred.</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts&quot;><ErrorCode>-2147220970</ErrorCode><ErrorDetails /><Message>An unexpected error occurred.</Message><Timestamp>2015-02-19T12:41:14.6249424Z</Timestamp><InnerFault><ErrorCode>-2147220970</ErrorCode><ErrorDetails /><Message>System.Globalization.CultureNotFoundException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #FFADEEAD</Message><Timestamp>2015-02-19T12:41:14.6249424Z</Timestamp><InnerFault xmlns:i="www.w3.org/.../XMLSchema-instance&quot; i:nil="true" /><TraceText xmlns:i="www.w3.org/.../XMLSchema-instance&quot; i:nil="true" /></InnerFault><TraceText xmlns:i="www.w3.org/.../XMLSchema-instance&quot; i:nil="true" /></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

    We just edited one of our recent changes.

  • Robert Gambin Profile Picture
    110 on at

    DentsplyUK can you check if you have the same event log as us in the application log on the server

  • Suggested answer
    Robert Gambin Profile Picture
    110 on at

    We found out that the issue is being triggered by a plugin step which was registered to run async on update of the appointment. The plugin itself is not doing any changes to the appointment but is updating the regarding entity. When this step was set to work in-line the issue did not manifest itself. I still believe this is a bug caused by SP1 UR2 however I hope that this will help others to get rid of the error.

  • KATZH Profile Picture
    on at

    Hi,

    We got a solution for exactly the same Problem from Microsoft and it works.

    the issue goes away if you uncheck the check box "automatically move records to the owners default queue when record is created or assigned" under the appointment entity Options.

  • Suggested answer
    Community Member Profile Picture
    on at

    What happens if you uncheck the option "Automatically move records to the owner's default queue when a record is created or assigned" in the appointment entity options in customize entity.

  • Helgi27 Profile Picture
    on at

    I have the same issue, checked this "Automatically move records..." option, which was already uncheck, tried checking, publishing, unchecking, publishing. Still giving same error.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans