none
IIS troubleshooting. RRS feed

  • Question

  • Hi everyone!

      We are running IIS on W2K8R2 CORE and I would like to troubleshoot the following IIS errors:

    ERROR ( hresult:80004001, message:Command execution failed. Not implemented )
    ERROR ( hresult:8007042b, message:Command execution failed.  The process terminated unexpectedly. )

      Is it possible? Or should I use another tool?


    Doria

    Monday, March 9, 2020 3:33 PM

All replies

  • Given the errors, looks like the process terminated itself voluntarily after catching an exception.

    Given the multiple matches of the first errors with graphical functions, it may be possible that the problem you are seeing depends from the fact you are running an application inside IIS which requires some library that on the core version is not installed.

    Probably ProcMon could trace what library IIS is trying to load, but I don't know if that would help solving the issue.

    I would attach a debugger like procdump and wait for the exception to happens.

    Something like:

    procdump -ma -n 10 -e 1 -f "Not implemented" w3wp.exe

    and then have a look at the dumps..

    I bet the same app is working fine on a server with the user interface installed..

    HTH
    -mario

    Monday, March 9, 2020 4:39 PM
  • Hi Mario!

      Thanks for your answer. I am not sure if it is a missing IIS library on Windows CORE. I ran the ProcMon tool on one of the following IIS threads and I got a lot of exceptions on the code...

    C:\Dumps>procdump.exe -e 1 -f "Not implemented" 9704 > output.log

    Process:               w3wp.exe (9704)
    Process image:         c:\windows\system32\inetsrv\w3wp.exe
    CPU threshold:         n/a
    Performance counter:   n/a
    Commit threshold:      n/a
    Threshold seconds:     n/a
    Hung window check:     Disabled
    Log debug strings:     Disabled
    Exception monitor:     First Chance+Unhandled
    Exception filter:      [Includes]
                           *Not implemented*
                           [Excludes]
    Terminate monitor:     Disabled
    Cloning type:          Disabled
    Concurrent limit:      n/a
    Avoid outage:          n/a
    Number of dumps:       1
    Dump folder:           C:\Dumps\
    Dump filename/mask:    PROCESSNAME_YYMMDD_HHMMSS
    Queue to WER:          Disabled
    Kill after dump:       Disabled
    
    
    Press Ctrl-C to end monitoring without terminating the process.
    
    CLR Version: v4.0.30319
    
    [08:34:32] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:34:32] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:34:32] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:34:32] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:34:32] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:34:32] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:34:32] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:35:11] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:35:11] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:35:11] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:35:11] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:35:11] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:35:11] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:35:11] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:35:11] Exception: E0434F4D.System.Threading.ThreadAbortException ("Thread was being aborted.")
    [08:35:14] Exception: E0434F4D.System.IndexOutOfRangeException ("cod_protocolo_criptografado")
    [08:35:23] Exception: E0434F4D.System.FormatException ("String was not recognized as a valid Boolean.")
    [08:35:23] Exception: E0434F4D.System.FormatException ("undefined is not a valid value for Boolean.")
    [08:35:23] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Boolean]' failed. See the inner exception for more information.")
    [08:35:32] Exception: E0434F4D.System.InvalidOperationException ("The current type, WebApi.OutputCache.Core.Cache.IApiOutputCache, is an interface and cannot be constructed. Are you missing a type mapping?")
    [08:35:32] Exception: E0434F4D.System.InvalidOperationException ("The current type, WebApi.OutputCache.Core.Cache.IApiOutputCache, is an interface and cannot be constructed. Are you missing a type mapping?")
    [08:35:33] Exception: E0434F4D.Microsoft.Practices.Unity.ResolutionFailedException ("Resolution of the dependency failed, type = "WebApi.OutputCache.Core.Cache.IApiOutputCache", name = "(none)".
    
    Exception occurred while: while resolving.
    
    Exception is: InvalidOperationException - The current type, WebApi.OutputCache.Core.Cache.IApiOutputCache, is an interface and cannot be constructed. Are you missing a type mapping?
    
    -----------------------------------------------
    
    At the time of the exception, the container was:
    
    
    
      Resolving WebApi.OutputCache.Core.Cache.IApiOutputCache,(none)
    
    ")
    [08:35:33] Exception: E0434F4D.System.InvalidOperationException ("The current type, WebApi.OutputCache.V2.ICacheKeyGenerator, is an interface and cannot be constructed. Are you missing a type mapping?")
    [08:35:33] Exception: E0434F4D.System.InvalidOperationException ("The current type, WebApi.OutputCache.V2.ICacheKeyGenerator, is an interface and cannot be constructed. Are you missing a type mapping?")
    [08:35:33] Exception: E0434F4D.Microsoft.Practices.Unity.ResolutionFailedException ("Resolution of the dependency failed, type = "WebApi.OutputCache.V2.ICacheKeyGenerator", name = "(none)".
    
    Exception occurred while: while resolving.
    
    Exception is: InvalidOperationException - The current type, WebApi.OutputCache.V2.ICacheKeyGenerator, is an interface and cannot be constructed. Are you missing a type mapping?
    
    -----------------------------------------------
    
    At the time of the exception, the container was:
    
    
    
      Resolving WebApi.OutputCache.V2.ICacheKeyGenerator,(none)
    
    ")
    [08:35:39] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:35:39] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:35:39] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:35:39] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:35:39] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:35:39] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:35:39] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:35:58] Exception: E0434F4D.System.Reflection.ReflectionTypeLoadException ("Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.")
    [08:35:58] Exception: E0434F4D.System.Reflection.ReflectionTypeLoadException ("Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.")
    [08:35:58] Exception: E0434F4D.System.Reflection.ReflectionTypeLoadException ("Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.")
    [08:36:07] Exception: E0434F4D.System.FormatException ("Input string was not in a correct format.")
    [08:36:07] Exception: E0434F4D.System.Exception ("null is not a valid value for Int32.")
    [08:36:07] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Int32]' failed. See the inner exception for more information.")
    [08:36:53] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:36:53] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:36:53] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:36:53] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:36:53] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:36:53] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:36:53] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:36:55] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:36:55] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:36:55] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:36:55] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:36:55] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:36:55] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:36:55] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:36:56] Exception: E0434F4D.System.FormatException ("Could not find any recognizable digits.")
    [08:36:56] Exception: E0434F4D.System.FormatException ("The provided string does not appear to be Hex encoded:
    
    TC/23071/2017
    
    ")
    [08:36:59] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:36:59] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodClassificacao', line 1, position 106.")
    [08:36:59] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:36:59] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 130.")
    [08:37:13] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:37:13] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 132.")
    [08:37:13] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:37:13] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'DocDigital.Skip', line 1, position 327.")
    [08:38:28] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:38:28] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:38:28] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:38:28] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:38:31] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:38:31] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:38:31] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:38:31] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:38:31] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:38:31] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:38:31] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:38:36] Exception: E0434F4D.System.FormatException ("String was not recognized as a valid Boolean.")
    [08:38:36] Exception: E0434F4D.System.FormatException ("undefined is not a valid value for Boolean.")
    [08:38:36] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Boolean]' failed. See the inner exception for more information.")
    [08:38:42] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:38:42] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:38:42] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:38:42] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:38:42] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:38:42] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:38:42] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:38:47] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:38:47] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodClassificacao', line 1, position 106.")
    [08:38:47] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:38:47] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 130.")
    [08:38:47] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:38:47] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'DocDigital.Skip', line 1, position 326.")
    [08:39:34] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:39:34] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 132.")
    [08:39:34] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:39:35] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'DocDigital.Skip', line 1, position 328.")
    [08:40:18] Exception: E0434F4D.Microsoft.CSharp.RuntimeBinder.RuntimeBinderException ("'Newtonsoft.Json.Linq.JArray' does not contain a definition for 'codigoProtocolo'")
    [08:40:20] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:40:20] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 132.")
    [08:40:20] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:40:20] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'DocDigital.Skip', line 1, position 327.")
    [08:40:26] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:40:26] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 132.")
    [08:40:27] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:40:27] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'DocDigital.Skip', line 1, position 328.")
    [08:40:30] Exception: E0434F4D.System.FormatException ("String was not recognized as a valid Boolean.")
    [08:40:30] Exception: E0434F4D.System.FormatException ("undefined is not a valid value for Boolean.")
    [08:40:30] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Boolean]' failed. See the inner exception for more information.")
    [08:40:33] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:40:33] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:40:33] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:40:33] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:40:33] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:40:33] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:40:33] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:40:35] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:35] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:35] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:35] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:35] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:35] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:35] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:35] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:36] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:36] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:36] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:36] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:36] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:36] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:36] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:40:41] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:40:41] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodClassificacao', line 1, position 106.")
    [08:40:41] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:40:41] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 130.")
    [08:40:47] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:40:47] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:40:47] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:40:47] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:40:47] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:40:47] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:40:47] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:40:53] Exception: E0434F4D.System.FormatException ("String was not recognized as a valid Boolean.")
    [08:40:53] Exception: E0434F4D.System.FormatException ("undefined is not a valid value for Boolean.")
    [08:40:53] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Boolean]' failed. See the inner exception for more information.")
    [08:41:03] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:41:03] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:41:03] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:41:03] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:41:03] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:41:03] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:41:03] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:41:07] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Informe ao menos 5 caracteres para realização da busca.")
    [08:46:50] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:46:50] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:46:50] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:46:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:46:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:46:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:46:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:46:57] Exception: E0434F4D.System.FormatException ("String was not recognized as a valid Boolean.")
    [08:46:57] Exception: E0434F4D.System.FormatException ("undefined is not a valid value for Boolean.")
    [08:46:57] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Boolean]' failed. See the inner exception for more information.")
    [08:47:27] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:47:27] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:47:27] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:47:27] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:47:27] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:47:27] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:47:27] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:47:37] Exception: E0434F4D.System.ArgumentOutOfRangeException ("Specified argument was out of the range of valid values.")
    [08:47:42] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:47:42] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:47:42] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:47:42] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:47:42] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:47:42] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:47:42] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:48:07] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:48:07] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodClassificacao', line 1, position 106.")
    [08:48:07] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:48:07] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 130.")
    [08:48:50] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:48:50] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:48:50] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:48:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:48:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:48:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:48:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:49:06] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:49:06] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:49:06] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:49:06] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:49:06] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:49:06] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:49:07] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:49:35] Exception: E0434F4D.System.IndexOutOfRangeException ("cod_protocolo_criptografado")
    [08:49:39] Exception: E0434F4D.System.FormatException ("String was not recognized as a valid Boolean.")
    [08:49:39] Exception: E0434F4D.System.FormatException ("undefined is not a valid value for Boolean.")
    [08:49:39] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Boolean]' failed. See the inner exception for more information.")
    [08:49:39] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:49:39] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodClassificacao', line 1, position 106.")
    [08:49:39] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:49:39] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 130.")
    [08:49:42] Exception: E0434F4D.System.ArgumentOutOfRangeException ("Specified argument was out of the range of valid values.")
    [08:49:42] Exception: E0434F4D.System.ArgumentOutOfRangeException ("Specified argument was out of the range of valid values.")
    [08:49:45] Exception: E0434F4D.Newtonsoft.Json.JsonReaderException ("Could not convert string to DateTime: Invalid date. Path 'DataTransitoEmJulgado', line 1, position 17235.")
    [08:49:46] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:49:46] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:49:46] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:49:46] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:49:46] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:49:46] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:49:46] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:49:49] Exception: E0434F4D.System.Web.Http.HttpResponseException ("Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.")
    [08:49:52] Exception: E0434F4D.System.FormatException ("Input string was not in a correct format.")
    [08:49:52] Exception: E0434F4D.System.Exception ("null is not a valid value for Int32.")
    [08:49:52] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Int32]' failed. See the inner exception for more information.")
    [08:50:07] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:50:07] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodClassificacao', line 1, position 120.")
    [08:50:07] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:50:07] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 144.")
    [08:50:07] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:50:07] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'DocDigital.Skip', line 1, position 339.")
    [08:50:09] Exception: E0434F4D.System.FormatException ("Input string was not in a correct format.")
    [08:50:09] Exception: E0434F4D.System.Exception ("null is not a valid value for Int32.")
    [08:50:09] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Int32]' failed. See the inner exception for more information.")
    [08:50:09] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:50:09] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:50:09] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:50:09] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:50:09] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:50:09] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:50:10] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:50:14] Exception: E0434F4D.System.InvalidOperationException ("The current type, WebApi.OutputCache.Core.Cache.IApiOutputCache, is an interface and cannot be constructed. Are you missing a type mapping?")
    [08:50:14] Exception: E0434F4D.System.InvalidOperationException ("The current type, WebApi.OutputCache.Core.Cache.IApiOutputCache, is an interface and cannot be constructed. Are you missing a type mapping?")
    [08:50:14] Exception: E0434F4D.Microsoft.Practices.Unity.ResolutionFailedException ("Resolution of the dependency failed, type = "WebApi.OutputCache.Core.Cache.IApiOutputCache", name = "(none)".
    
    Exception occurred while: while resolving.
    
    Exception is: InvalidOperationException - The current type, WebApi.OutputCache.Core.Cache.IApiOutputCache, is an interface and cannot be constructed. Are you missing a type mapping?
    
    -----------------------------------------------
    
    At the time of the exception, the container was:
    
    
    
      Resolving WebApi.OutputCache.Core.Cache.IApiOutputCache,(none)
    
    ")
    [08:50:14] Exception: E0434F4D.System.InvalidOperationException ("The current type, WebApi.OutputCache.V2.ICacheKeyGenerator, is an interface and cannot be constructed. Are you missing a type mapping?")
    [08:50:14] Exception: E0434F4D.System.InvalidOperationException ("The current type, WebApi.OutputCache.V2.ICacheKeyGenerator, is an interface and cannot be constructed. Are you missing a type mapping?")
    [08:50:14] Exception: E0434F4D.Microsoft.Practices.Unity.ResolutionFailedException ("Resolution of the dependency failed, type = "WebApi.OutputCache.V2.ICacheKeyGenerator", name = "(none)".
    
    Exception occurred while: while resolving.
    
    Exception is: InvalidOperationException - The current type, WebApi.OutputCache.V2.ICacheKeyGenerator, is an interface and cannot be constructed. Are you missing a type mapping?
    
    -----------------------------------------------
    
    At the time of the exception, the container was:
    
    
    
      Resolving WebApi.OutputCache.V2.ICacheKeyGenerator,(none)
    
    ")
    [08:50:16] Exception: E0434F4D.System.FormatException ("Input string was not in a correct format.")
    [08:50:16] Exception: E0434F4D.System.Exception ("null is not a valid value for Int32.")
    [08:50:16] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Int32]' failed. See the inner exception for more information.")
    [08:50:16] Exception: E0434F4D.System.FormatException ("Input string was not in a correct format.")
    [08:50:16] Exception: E0434F4D.System.Exception ("null is not a valid value for Int32.")
    [08:50:16] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Int32]' failed. See the inner exception for more information.")
    [08:50:17] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:50:17] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodClassificacao', line 1, position 120.")
    [08:50:17] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:50:17] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 144.")
    [08:50:17] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:50:17] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'DocDigital.Skip', line 1, position 339.")
    [08:51:05] Exception: E0434F4D.System.Runtime.Serialization.SerializationException ("Type 'eTCE.Data.Entidades.Etce.SpEmissaoGuiaResult' in Assembly 'eTCE.Data, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.")
    [08:51:11] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:51:11] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:51:11] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:51:12] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:51:12] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:51:12] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:51:12] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:51:12] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:51:12] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:51:13] Exception: E0434F4D.System.FormatException ("Input string was not in a correct format.")
    [08:51:13] Exception: E0434F4D.System.Exception ("null is not a valid value for Int32.")
    [08:51:13] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Int32]' failed. See the inner exception for more information.")
    [08:51:28] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:51:28] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:51:28] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:51:28] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:51:28] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:51:28] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:51:28] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:52:16] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:52:16] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:52:16] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:52:16] Exception: E0434F4D.System.NullReferenceException ("Object reference not set to an instance of an object.")
    [08:52:37] Exception: E0434F4D.System.FormatException ("String was not recognized as a valid Boolean.")
    [08:52:37] Exception: E0434F4D.System.FormatException ("undefined is not a valid value for Boolean.")
    [08:52:37] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Boolean]' failed. See the inner exception for more information.")
    [08:52:42] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:52:42] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:52:42] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:52:43] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:52:43] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:52:43] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:52:43] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:52:46] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:52:46] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'codigoAcao', line 1, position 361.")
    [08:52:54] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:52:54] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:52:54] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:52:54] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:52:54] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:52:54] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:52:54] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:53:02] Exception: E0434F4D.System.ArgumentOutOfRangeException ("Specified argument was out of the range of valid values.")
    [08:53:12] Exception: E0434F4D.System.FormatException ("Input string was not in a correct format.")
    [08:53:12] Exception: E0434F4D.System.Exception ("null is not a valid value for Int32.")
    [08:53:12] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Int32]' failed. See the inner exception for more information.")
    [08:53:50] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:53:50] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:53:50] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:53:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:53:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:53:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:53:50] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:54:18] Exception: E0434F4D.System.FormatException ("String was not recognized as a valid Boolean.")
    [08:54:18] Exception: E0434F4D.System.FormatException ("undefined is not a valid value for Boolean.")
    [08:54:18] Exception: E0434F4D.System.InvalidOperationException ("The parameter conversion from type 'System.String' to type 'System.Nullable`1[System.Boolean]' failed. See the inner exception for more information.")
    [08:54:25] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:54:25] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodClassificacao', line 1, position 106.")
    [08:54:25] Exception: E0434F4D.System.InvalidCastException ("Null object cannot be converted to a value type.")
    [08:54:25] Exception: E0434F4D.Newtonsoft.Json.JsonSerializationException ("Error converting value {null} to type 'System.Int32'. Path 'CodTipoDocumento', line 1, position 130.")
    [08:54:26] Exception: E0434F4D.System.IndexOutOfRangeException ("cod_protocolo_criptografado")
    [08:54:26] Exception: E0434F4D.System.IndexOutOfRangeException ("cod_protocolo_criptografado")
    [08:54:34] Exception: E0434F4D.System.Threading.ThreadAbortException ("Thread was being aborted.")
    [08:55:09] Exception: E0434F4D.System.FormatException ("Could not find any recognizable digits.")
    [08:55:09] Exception: E0434F4D.System.FormatException ("The provided string does not appear to be Hex encoded:
    
    TC/23100/2017
    
    ")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasArea")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("DiasSituacao")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("SiglaSituacao")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("CodMarcadorProtocolo")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("CodProtocoloCriptografado")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("CorPrazoArea")
    [08:55:12] Exception: E0434F4D.System.IndexOutOfRangeException ("CorTipoEnvio")
    [08:56:17] Exception: E0434F4D.eTCE.Business.Entities.Exceptions.BusinessException ("Usuário com acesso ao sistema e-TCE bloqueado!<br />Contate a Central de Serviços para o desbloqueio.")
    
    


    Doria

    Wednesday, March 11, 2020 1:17 PM
  • I found many reference to this on google..

    Starts here:

    https://stackoverflow.com/questions/23802478/resolution-of-the-dependency-failed-when-using-cacheoutput-attribute-in-webapi2

    https://github.com/filipw/Strathweb.CacheOutput/issues/87

    Both article seems to have the same resolution, so this should do in your case..

    HTH
    -mario

    Wednesday, March 11, 2020 1:48 PM
  • Hi Mario!

      Thanks for your answer. I already pass the references you shared and the ProcDump.exe log to the development team and they ask me the following question:

      Is it possible to log the method that created the exception? The dev can not find WHERE in the code is generating the exception....

    Hope I was clear enough.


    Doria

    Monday, March 16, 2020 12:36 PM
  • Ach.. I see.. 

    you used this command line:
    procdump.exe -e 1 -f "Not implemented" 9704 

    While i suggested this:

    procdump.exe -ma -n 10 -e 1 -f "Not implemented" 9704 

    -ma means a full memory dump

    -n 10  means take at max 10 dumps.

    In the dumps you will get the full stack trace at least for the first 10 exceptions and would be easy for your dev to get to the point where the exception is raised. The way you used procdump didn't create dumps so you don't have a place where to look for the exception.

    Please rerun procdump with my command line and pass the dumps to your devs..

    HTH
    -mario

    Monday, March 16, 2020 2:39 PM
  • Hi mario,

      I run your command line now! Perhaps, it never generates a dump file, it only output the exceptions on the screen and continues to execute. It never crashes the process.

      Based on that, how can I do that? Is there a way to manual crashes the process?

    Thanks.


    Doria

    Tuesday, March 17, 2020 3:34 PM

  • Doria

    Tuesday, March 17, 2020 3:35 PM
  • Try removing the filter.. we are waiting for the "Not Implemented" exception, but there are tons of them before..

    procdump.exe -ma -n 10 -e 1 20684 

    HTH
    -mario

    Tuesday, March 17, 2020 3:50 PM