作成日: 2019/06/19 最終更新日: 2019/09/30
文書種別
不具合
状況
修正済み
詳細
SPREADコントロールのClientIDModeプロパティをStaticに設定し、且つASP.NETのトレース機能を有効にすると、次のような例外が発生します。
-----------------------------
[HttpException (0x80004005): 同じ ID 'FpSpread1' を含む複数のコントロールが見つかりました。Trace を使うには、コントロールに一意の ID を指定する必要があります。]
System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize, Int32 controlStateSize) +487
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +287
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +353
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +353
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +353
System.Web.UI.Page.BuildPageProfileTree(Boolean enableViewState) +42
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5761
-----------------------------
[HttpException (0x80004005): 同じ ID 'FpSpread1' を含む複数のコントロールが見つかりました。Trace を使うには、コントロールに一意の ID を指定する必要があります。]
System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize, Int32 controlStateSize) +487
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +287
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +353
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +353
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +353
System.Web.UI.Page.BuildPageProfileTree(Boolean enableViewState) +42
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5761
回避方法
Service Pack 5(v10.0.4010.2013)で修正済み。
旧文書番号
84078