laptop and a wrench

Erro

Calling dispose method on MapServerDcomProxy results in NullReferenceException.

Última Publicação: August 25, 2014 No Product Found
Número de ID do Erro NIM046983
EnviadoJuly 22, 2009
Última ModificaçãoApril 2, 2025
Aplica-se àNo Product Found
Versão encontrada10.0
Idioma do programaC#
Versão FixaN/A
StatusFixed

Solução Provisória

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>

Etapas para Reproduzir

ID do Erro: NIM046983

Software:

  • No Product Found

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download