當您在 Microsoft Visual Studio 2010 的 Microsoft Dynamics AX 2012 的 smmSalesReports 專案中預覽 SalesVsTargetRC 報告時,出現「無法設定參數 AX_CompanyName」錯誤訊息

本文適用於所有地區的 Microsoft Dynamics AX。

症狀

假設您在 Microsoft Visual Studio 2010 中處理 Microsoft Dynamics AX 2012 的 smmSalesReports 專案。 當您預覽專案中的 SalesVsTargetRC 報告時,在 Microsoft Visual Studio 2010 中收到以下錯誤訊息:

注意

無法設定參數AX_CompanyName。

原因

發生此問題的原因是 ReportRuntimeBacking.ExecuteDataSet 方法未使用相關的 ParameterDefinition 物件實現對應的 ParameterDescription 物件。

解決方式

Hotfix 資訊

Microsoft 提供支援的 Hotfix。 本知識庫文章頂端有「可用的 Hotfix 下載」章節。 如果您在下載、安裝此 Hotfix 時遇到問題,或有其他技術支援問題,請聯絡您的合作夥伴,或者如果已直接向 Microsoft 註冊支援方案,您可以聯絡 Microsoft Dynamics 的技術支援,並建立新的支援要求。 如果要執行這項操作,請造訪下列 Microsoft 網站:

https://mbs.microsoft.com/support/newstart.aspx 您也可以使用這些國家/地區特定電話號碼的連結,透過電話聯繫 Microsoft Dynamics 的技術支援。 若要執行這項操作,請造訪下列其中一個 Microsoft 網站:

合作夥伴

https://mbs.microsoft.com/partnersource/support/ 客戶

https://mbs.microsoft.com/customersource/support/information/SupportInformation/global_support_contacts_eng.htm 在某些特殊情況下,如果 Microsoft Dynamics 及相關產品的技術支援專員認為某特定更新程式可以解決您的問題時,可能就不會收取一般因支援電話所產生的費用。 一般的支援費用將適用於不符合相關特定更新資格的任何其他支援問題和問題。

安裝資訊

如果您有受此 Hotfix 影響的一或多個方法或表格的自訂項目,您必須遵循下列步驟:

  1. 檢閱 .xpo 檔案中記錄的變更。
  2. 在生產環境中套用 Hotfix 之前,請先在測試環境中套用這些變更。

                
 如需有關如何安裝此 Hotfix 的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:

893082 如何安裝 Microsoft Dynamics AX Hotfix

先決條件

您必須安裝 Microsoft Dynamics AX 2012 才能套用此 Hotfix。

重新啟動需求

套用 Hotfix 之後,您必須重新啟動應用程式物件伺服器 (AOS) 服務。

檔案詳細資訊

此 Hotfix 的全域版本具有下表中所列的檔案屬性 (或更新檔案屬性) 。 這些檔案的日期與時間是以國際標準時間 (UTC) 表示。 當您檢視檔案資訊時,它會轉換成當地時間。 若要查看 UTC 與當地時間的差異,請使用 [控制台] 中 [日期和時間] 項目的 [時區] 索引標籤。

檔案名稱 檔案版本 檔案大小 日期 時間 平台
Aximpactanalysis.exe 不適用 60,280 2012 年 4 月 3 日 1,256 x86
Axupdate.exe 不適用 60,264 2012 年 4 月 3 日 1,256 x86
Clientoba32.msp 不適用 16,424,960 2012 年 4 月 8 日 2,157 不適用
Clientoba64.msp 不適用 16,613,376 2012 年 4 月 8 日 2,157 不適用
Components32.msp 不適用 14,929,920 2012 年 4 月 8 日 2,157 不適用
Components64.msp 不適用 28,770,304 2012 年 4 月 8 日 21:58 不適用
Helpserver64.msp 不適用 774,144 2012 年 4 月 8 日 2,157 不適用
Objectserver32.msp 不適用 5,660,672 2012 年 4 月 8 日 21:58 不適用
Objectserver64.msp 不適用 7,213,056 2012 年 4 月 8 日 21:58 不適用
Retailheadquarters32.msp 不適用 466,944 2012 年 4 月 8 日 2,157 不適用
Retailheadquarters64.msp 不適用 466,944 2012 年 4 月 8 日 2,157 不適用
Retailpos.msp 不適用 712,704 2012 年 4 月 8 日 2,157 不適用
Setupsupport32.msp 不適用 7,843,840 2012 年 4 月 8 日 21:58 不適用
Setupsupport64.msp 不適用 13,774,848 2012 年 4 月 8 日 2,157 不適用
Traceparser.msp 不適用 249,856 2012 年 4 月 8 日 2,157 不適用
Axsetupsp.exe 6.0.947.853 1,361,768 2012 年 4 月 3 日 1,256 x86
Axutillib.dll 6.0.947.0 817,512 2012 年 4 月 3 日 1,256 x86
Microsoft.dynamics.servicing.operations.dll 6.0.888.436 35,752 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 382,848 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 370,560 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 374,656 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 374,656 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 370,560 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 378,752 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 370,560 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 374,656 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 370,560 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 374,656 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 370,560 2012 年 4 月 3 日 1,256 x86
Axsetupsp.resources.dll 6.0.947.491 407,424 2012 年 4 月 3 日 1,256 x86

狀態

Microsoft 已確認這是「適用對象」一節中列出的 Microsoft 產品中的問題。

注意本文為 Microsoft 支援單位內部直接建立的「快速發佈」文章。 此處包含的資訊是以其現況提供,用於回應新產生的問題。 由於快速發佈,資料可能包含拼字錯誤,並可能會隨時修訂,不另行通知。 請參閱使用條款以瞭解其他相關考量。