"There was an error saving the customizations that connect this document with Microsoft Dynamics AX" error when save is canceled from VBA code

This article applies to Microsoft Dynamics AX for all regions.

Symptoms

When save is canceled from VBA code, you receive the following error: There was an error saving the customizations that connect this document with Microsoft Dynamics AX.

Resolution

The changes in the hotfix include returning null in the WorkbookBeforeSaveEventHandler method when cancel is true before try to save the workbook to avoid error message from the Excel add-in.

Hotfix information

A supported hotfix is available from Microsoft. There is a "Hotfix download available" section at the top of this Knowledge Base article. If you are encountering an issue downloading, installing this hotfix, or have other technical support questions, contact your partner or, if enrolled in a support plan directly with Microsoft, you can contact technical support for Microsoft Dynamics and create a new support request. To do this, visit the following Microsoft website:

https:⁠//mbs.microsoft.com/support/newstart.aspx You can also contact technical support for Microsoft Dynamics by phone using these links for country specific phone numbers. To do this, visit one of the following Microsoft websites:

Partners

https:⁠//mbs.microsoft.com/partnersource/resources/support/supportinformation/Global+Support+Contacts Customers

https:⁠//mbs.microsoft.com/customersource/support/information/SupportInformation/global_support_contacts_eng.htm In special cases, charges that are ordinarily incurred for support calls may be canceled if a Technical Support Professional for Microsoft Dynamics and related products determines that a specific update will resolve your problem. The usual support costs will apply to any additional support questions and issues that do not qualify for the specific update in question.

Installation information

If you have customizations for one or more of the methods or the tables that are affected by this hotfix, you must apply these changes in a test environment before you apply the hotfix in a production environment.
  For more information about how to install this hotfix, click the following article number to view the article in the Microsoft Knowledge Base:

893082 How to install a Microsoft Dynamics AX hotfix

Prerequisites

You must have Microsoft Dynamics AX 2012 R2 installed to apply this hotfix.

Restart requirement

You must restart the Application Object Server (AOS) service after you apply the hotfix.

File information

The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name File version File size Date Time Platform
Aximpactanalysis.exe Not Applicable 62,144 08-Jun-2014 12:51 x86
Axupdate.exe Not Applicable 61,616 08-Jun-2014 12:51 x86
Dynamicsax2012r2-kb2993951.exe 6.3.15.0 275,042,504 19-Aug-2014 13:26 x86
Licensetermsar.rtf Not Applicable 2,173 08-Jun-2014 12:51 Not Applicable
Licensetermscs.rtf Not Applicable 91,247 08-Jun-2014 12:51 Not Applicable
Licensetermsda.rtf Not Applicable 101,181 08-Jun-2014 12:51 Not Applicable
Licensetermsde.rtf Not Applicable 116,642 08-Jun-2014 12:51 Not Applicable
Licensetermsen.rtf Not Applicable 102,374 08-Jun-2014 12:51 Not Applicable
Licensetermses.rtf Not Applicable 96,985 08-Jun-2014 12:51 Not Applicable
Licensetermset.rtf Not Applicable 102,895 08-Jun-2014 12:51 Not Applicable
Licensetermsfi.rtf Not Applicable 106,101 08-Jun-2014 12:51 Not Applicable
Licensetermsfr.rtf Not Applicable 130,011 08-Jun-2014 12:51 Not Applicable
Licensetermshu.rtf Not Applicable 93,010 08-Jun-2014 12:51 Not Applicable
Licensetermsis.rtf Not Applicable 36,458 08-Jun-2014 12:51 Not Applicable
Licensetermsit.rtf Not Applicable 115,086 08-Jun-2014 12:51 Not Applicable
Licensetermsja.rtf Not Applicable 105,917 08-Jun-2014 12:51 Not Applicable
Licensetermslt.rtf Not Applicable 122,674 08-Jun-2014 12:51 Not Applicable
Licensetermslv.rtf Not Applicable 105,401 08-Jun-2014 12:51 Not Applicable
Licensetermsnb-no.rtf Not Applicable 115,700 08-Jun-2014 12:51 Not Applicable
Licensetermsnl.rtf Not Applicable 110,040 08-Jun-2014 12:51 Not Applicable
Licensetermspl.rtf Not Applicable 116,322 08-Jun-2014 12:51 Not Applicable
Licensetermspt-br.rtf Not Applicable 101,514 08-Jun-2014 12:51 Not Applicable
Licensetermsru.rtf Not Applicable 148,577 08-Jun-2014 12:51 Not Applicable
Licensetermssv.rtf Not Applicable 115,453 08-Jun-2014 12:51 Not Applicable
Licensetermsth.rtf Not Applicable 153,768 08-Jun-2014 12:51 Not Applicable
Licensetermszh-hans.rtf Not Applicable 99,245 08-Jun-2014 12:51 Not Applicable
Clientoba32.msp Not Applicable 38,039,552 19-Aug-2014 13:05 Not Applicable
Clientoba64.msp Not Applicable 38,211,584 19-Aug-2014 13:06 Not Applicable
Commercedataexchangereal-timeservice.msp Not Applicable 159,744 19-Aug-2014 13:05 Not Applicable
Commercedataexchangesynchservice32.msp Not Applicable 196,608 19-Aug-2014 13:05 Not Applicable
Commercedataexchangesynchservice64.msp Not Applicable 196,608 19-Aug-2014 13:05 Not Applicable
Components32.msp Not Applicable 26,206,208 19-Aug-2014 13:06 Not Applicable
Components64.msp Not Applicable 44,187,648 19-Aug-2014 13:06 Not Applicable
Dixf_aos_x64.msp Not Applicable 73,728 19-Aug-2014 13:05 Not Applicable
Dixf_aos_x86.msp Not Applicable 73,728 19-Aug-2014 13:05 Not Applicable
Dixf_client_x64.msp Not Applicable 159,744 19-Aug-2014 13:05 Not Applicable
Dixf_client_x86.msp Not Applicable 159,744 19-Aug-2014 13:05 Not Applicable
Dixf_service_x64.msp Not Applicable 393,216 19-Aug-2014 13:05 Not Applicable
Dixf_service_x86.msp Not Applicable 393,216 19-Aug-2014 13:05 Not Applicable
Objectserver32.msp Not Applicable 16,363,520 19-Aug-2014 13:06 Not Applicable
Objectserver64.msp Not Applicable 24,453,120 19-Aug-2014 13:06 Not Applicable
Retaildatabaseutility.msp Not Applicable 663,552 19-Aug-2014 13:05 Not Applicable
Retailheadquarters32.msp Not Applicable 3,076,096 19-Aug-2014 13:05 Not Applicable
Retailheadquarters64.msp Not Applicable 3,076,096 19-Aug-2014 13:05 Not Applicable
Retailonlinechannel.msp Not Applicable 2,768,896 19-Aug-2014 13:05 Not Applicable
Retailpos.msp Not Applicable 7,557,120 19-Aug-2014 13:06 Not Applicable
Retailposplugins.msp Not Applicable 49,004,544 19-Aug-2014 13:06 Not Applicable
Setupsupport32.msp Not Applicable 7,614,464 19-Aug-2014 13:06 Not Applicable
Setupsupport64.msp Not Applicable 15,097,856 19-Aug-2014 13:05 Not Applicable
Axsetupsp.exe 6.2.1000.8459 1,886,888 11-Jul-2014 03:16 x86
Axsetupsplib.dll 6.2.1000.8459 80,048 11-Jul-2014 03:16 x86
Axsetupui.exe 6.2.1000.5369 211,632 08-Jun-2014 12:51 x86
Axutillib.dll 6.2.120.0 929,960 19-Aug-2014 13:04 x86
Microsoft.dynamics.servicing.operations.dll 6.2.1000.3174 41,712 08-Jun-2014 12:51 x86
Axsetupsp.resources.dll 6.2.147.8303 387,768 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 375,480 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 375,480 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 379,576 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 379,576 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 371,384 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 375,480 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 383,672 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 395,960 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 375,480 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 379,576 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 387,768 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 375,480 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 375,480 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 375,480 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 379,576 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 379,576 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 379,576 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 395,960 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 375,480 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 416,440 19-Aug-2014 13:05 x86
Axsetupsp.resources.dll 6.2.147.8303 371,384 19-Aug-2014 13:05 x86

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained here in is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.