laptop and a wrench

不具合

Calling dispose method on MapServerDcomProxy results in NullReferenceException.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM046983
送信されましたJuly 22, 2009
最終更新日April 2, 2025
適用対象No Product Found
見つかったバージョン10.0
プログラム言語C#
修正されたバージョンN/A
ステータスFixed

対処法

Supressing Finalize code for this object may be an option to overcome the problemclass GoodMapServerDcomproxy : MapServerDcomProxy { public GoodMapServerDcomproxy(IServerContext context, bool releaseContextOnDispose, DcomProxy proxy) : base(context, releaseContextOnDispose, proxy) { if (proxy == null) { GC.SuppressFinalize(this); } } }Another workaroundChange the unhandled exception policy back to the default behavior that occurs in the .NET Framework 1.1 and in the .NET Framework 1.0. More information regarding this way of supressing error message can be found at http://msdn.microsoft.com/en-us/library/ms228965.aspx. By implementing this workaround, serious programming problems can go undetected, so proceed with caution.To enable this default behavior, add the following code to the Aspnet.config file that is located in the following folder: %WINDIR%\Microsoft.NET\Framework\v2.0.50727<configuration> <runtime> <legacyUnhandledExceptionPolicy enabled="true" /> </runtime></configuration>

再現の手順

不具合 ID: NIM046983

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動