laptop and a wrench

Error

Calling dispose method on MapServerDcomProxy results in NullReferenceException.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM046983
EnviadoJuly 22, 2009
Última modificaciónApril 2, 2025
Relacionado conNo Product Found
Versión encontrada10.0
Lenguaje del programaC#
Versión corregidaN/A
EstadoFixed

Solución alternativa

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>

Pasos para reproducir

ID del error: NIM046983

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga