Ja segui os procedimentos descritos, mover o arquivo da pasta erro para a pasta em Processamento, e fazer a consulta do DF_e e nada o XML Protocolado (-procNFe_xml) não é gerado, como podemos resolver ?
10:21:28 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\52210110475896000119550210000680071000000018-ped-sit.xml iniciou o processamento (Data criação: 21/01/2021 10:21:31)
10:21:28 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\52210110475896000119550210000680071000000018-ped-sit.xml foi movido para \\192.168.1.200\spd\usr\nota\19\erro\52210110475896000119550210000680071000000018-ped-sit.xml
STACK TRACE:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at NFe.Components.Functions.WriteLog(String msg, Boolean gravarStackTrace, Boolean geraLog, String CNPJEmpresa)
at NFe.Settings.Auxiliar.WriteLog(String msg, Boolean gravarStackTrace)
at NFe.Service.TFunctions.MoveArqErro(String Arquivo, String ExtensaoArq)
at NFe.Service.TFunctions.GravarArqErroServico(String arquivo, String finalArqEnvio, String finalArqErro, Exception exception, ErroPadrao erroPadrao, Boolean moveArqErro, String nomeArqRetorno)
at NFe.Service.TFunctions.GravarArqErroServico(String arquivo, String finalArqEnvio, String finalArqErro, Exception exception)
at NFe.Service.TaskNFeConsultaSituacao.Execute()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at NFe.Service.Processar.EnviarArquivo(Int32 emp, String arquivo, Object nfe, String metodo)
at NFe.Service.Processar.DirecionarArquivo(Int32 emp, Boolean veCertificado, Boolean veConexao, String arquivo, Object taskClass)
at NFe.Service.Processar.ProcessaArquivo(Int32 emp, String arquivo)
at NFe.Threadings.ThreadControlEvents.Processar(ThreadItem item)
at NFe.Threadings.ThreadControlEvents.ThreadItem_OnStarted(ThreadItem item)
at NFe.Threadings.ThreadItem.Processar(ThreadItem item)
at NFe.Threadings.ThreadItem.Run()
at NFe.Threadings.MonitoraPasta.fsw_OnFileChanged(FileInfo fi)
at NFe.Threadings.FileSystemWatcher.<>c__DisplayClass24_0.<RaiseFileChanged>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
10:21:28 Versão|5.1.0.70
ErrorCode|0000000000
Message|Erro ao invocar o método 'nfeConsultaNF2'.
WSDL: C:\Unimake\UniNFe\NFe\wsdl\producao\GO\PGONfeConsulta.wsdl
Exception has been thrown by the target of an invocation.
The request failed with HTTP status 403: Forbidden.
StackTrace| at NFe.Components.WebServiceProxy.Invoke(Object Instance, String methodName, Object[] parameters)
at NFe.Service.InvocarObjeto.Invocar(WebServiceProxy wsProxy, Object servicoWS, String metodo, Object cabecMsg, Object servicoNFe, String finalArqEnvio, String finalArqRetorno, Boolean gravaRetorno, SecurityProtocolType securityProtocolType)
at NFe.Service.TaskNFeConsultaSituacao.Execute()
Source|NFe.Components
Type|System.Exception
TargetSite|System.Object Invoke(System.Object, System.String, System.Object[])
HashCode|28866631
STACK TRACE:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at NFe.Components.Functions.WriteLog(String msg, Boolean gravarStackTrace, Boolean geraLog, String CNPJEmpresa)
at NFe.Settings.Auxiliar.WriteLog(String msg, Boolean gravarStackTrace)
at NFe.Service.TFunctions.GravarArqErroServico(String arquivo, String finalArqEnvio, String finalArqErro, Exception exception, ErroPadrao erroPadrao, Boolean moveArqErro, String nomeArqRetorno)
at NFe.Service.TFunctions.GravarArqErroServico(String arquivo, String finalArqEnvio, String finalArqErro, Exception exception)
at NFe.Service.TaskNFeConsultaSituacao.Execute()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at NFe.Service.Processar.EnviarArquivo(Int32 emp, String arquivo, Object nfe, String metodo)
at NFe.Service.Processar.DirecionarArquivo(Int32 emp, Boolean veCertificado, Boolean veConexao, String arquivo, Object taskClass)
at NFe.Service.Processar.ProcessaArquivo(Int32 emp, String arquivo)
at NFe.Threadings.ThreadControlEvents.Processar(ThreadItem item)
at NFe.Threadings.ThreadControlEvents.ThreadItem_OnStarted(ThreadItem item)
at NFe.Threadings.ThreadItem.Processar(ThreadItem item)
at NFe.Threadings.ThreadItem.Run()
at NFe.Threadings.MonitoraPasta.fsw_OnFileChanged(FileInfo fi)
at NFe.Threadings.FileSystemWatcher.<>c__DisplayClass24_0.<RaiseFileChanged>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
10:21:28 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\52210110475896000119550210000680071000000018-ped-sit.xml finalizou o processamento. Itens disponiveis no Semaforo (9). (Data criação: 21/01/2021 10:21:31)
10:21:28 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\52210110475896000119550210000680071000000018-ped-sit.xml foi descarregado da lista de processamento (Data criação: 21/01/2021 10:21:31)
10:25:05 O arquivo \\192.168.1.200\spd\usr\nota\19\enviado\EmProcessamento\52210110475896000119550210000680071000000018-nfe.xml foi movido para \\192.168.1.200\spd\usr\nota\19\erro\52210110475896000119550210000680071000000018-nfe.xml
STACK TRACE:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at NFe.Components.Functions.WriteLog(String msg, Boolean gravarStackTrace, Boolean geraLog, String CNPJEmpresa)
at NFe.Settings.Auxiliar.WriteLog(String msg, Boolean gravarStackTrace)
at NFe.Settings.Auxiliar.MoveArqErro(String Arquivo, String ExtensaoArq)
at NFe.Settings.Auxiliar.MoveArqErro(String Arquivo)
at NFe.Service.NFeEmProcessamento.Analisar(Int32 emp)
at NFe.Service.Processar.EmProcessamento()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
10:25:32 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\20210121T102531-cons-cad.xml iniciou o processamento (Data criação: 21/01/2021 10:25:35)
10:25:33 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\20210121T102531-cons-cad.xml finalizou o processamento. Itens disponiveis no Semaforo (9). (Data criação: 21/01/2021 10:25:35)
10:25:33 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\20210121T102531-cons-cad.xml foi descarregado da lista de processamento (Data criação: 21/01/2021 10:25:35)
10:33:17 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\52210110475896000119550210000680071000000018-ped-sit.xml iniciou o processamento (Data criação: 21/01/2021 10:29:41)
10:33:19 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\52210110475896000119550210000680071000000018-ped-sit.xml foi movido para \\192.168.1.200\spd\usr\nota\19\erro\52210110475896000119550210000680071000000018-ped-sit.xml
STACK TRACE:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at NFe.Components.Functions.WriteLog(String msg, Boolean gravarStackTrace, Boolean geraLog, String CNPJEmpresa)
at NFe.Settings.Auxiliar.WriteLog(String msg, Boolean gravarStackTrace)
at NFe.Service.TFunctions.MoveArqErro(String Arquivo, String ExtensaoArq)
at NFe.Service.TFunctions.GravarArqErroServico(String arquivo, String finalArqEnvio, String finalArqErro, Exception exception, ErroPadrao erroPadrao, Boolean moveArqErro, String nomeArqRetorno)
at NFe.Service.TFunctions.GravarArqErroServico(String arquivo, String finalArqEnvio, String finalArqErro, Exception exception)
at NFe.Service.TaskNFeConsultaSituacao.Execute()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at NFe.Service.Processar.EnviarArquivo(Int32 emp, String arquivo, Object nfe, String metodo)
at NFe.Service.Processar.DirecionarArquivo(Int32 emp, Boolean veCertificado, Boolean veConexao, String arquivo, Object taskClass)
at NFe.Service.Processar.ProcessaArquivo(Int32 emp, String arquivo)
at NFe.Threadings.ThreadControlEvents.Processar(ThreadItem item)
at NFe.Threadings.ThreadControlEvents.ThreadItem_OnStarted(ThreadItem item)
at NFe.Threadings.ThreadItem.Processar(ThreadItem item)
at NFe.Threadings.ThreadItem.Run()
at NFe.Threadings.MonitoraPasta.fsw_OnFileChanged(FileInfo fi)
at NFe.Threadings.FileSystemWatcher.<>c__DisplayClass24_0.<RaiseFileChanged>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
10:33:19 Versão|5.1.0.70
ErrorCode|0000000000
Message|Erro ao invocar o método 'nfeConsultaNF2'.
WSDL: C:\Unimake\UniNFe\NFe\wsdl\producao\GO\PGONfeConsulta.wsdl
Exception has been thrown by the target of an invocation.
The request failed with HTTP status 403: Forbidden.
StackTrace| at NFe.Components.WebServiceProxy.Invoke(Object Instance, String methodName, Object[] parameters)
at NFe.Service.InvocarObjeto.Invocar(WebServiceProxy wsProxy, Object servicoWS, String metodo, Object cabecMsg, Object servicoNFe, String finalArqEnvio, String finalArqRetorno, Boolean gravaRetorno, SecurityProtocolType securityProtocolType)
at NFe.Service.TaskNFeConsultaSituacao.Execute()
Source|NFe.Components
Type|System.Exception
TargetSite|System.Object Invoke(System.Object, System.String, System.Object[])
HashCode|55825516
STACK TRACE:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at NFe.Components.Functions.WriteLog(String msg, Boolean gravarStackTrace, Boolean geraLog, String CNPJEmpresa)
at NFe.Settings.Auxiliar.WriteLog(String msg, Boolean gravarStackTrace)
at NFe.Service.TFunctions.GravarArqErroServico(String arquivo, String finalArqEnvio, String finalArqErro, Exception exception, ErroPadrao erroPadrao, Boolean moveArqErro, String nomeArqRetorno)
at NFe.Service.TFunctions.GravarArqErroServico(String arquivo, String finalArqEnvio, String finalArqErro, Exception exception)
at NFe.Service.TaskNFeConsultaSituacao.Execute()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at NFe.Service.Processar.EnviarArquivo(Int32 emp, String arquivo, Object nfe, String metodo)
at NFe.Service.Processar.DirecionarArquivo(Int32 emp, Boolean veCertificado, Boolean veConexao, String arquivo, Object taskClass)
at NFe.Service.Processar.ProcessaArquivo(Int32 emp, String arquivo)
at NFe.Threadings.ThreadControlEvents.Processar(ThreadItem item)
at NFe.Threadings.ThreadControlEvents.ThreadItem_OnStarted(ThreadItem item)
at NFe.Threadings.ThreadItem.Processar(ThreadItem item)
at NFe.Threadings.ThreadItem.Run()
at NFe.Threadings.MonitoraPasta.fsw_OnFileChanged(FileInfo fi)
at NFe.Threadings.FileSystemWatcher.<>c__DisplayClass24_0.<RaiseFileChanged>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
10:33:19 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\52210110475896000119550210000680071000000018-ped-sit.xml finalizou o processamento. Itens disponiveis no Semaforo (9). (Data criação: 21/01/2021 10:29:41)
10:33:19 O arquivo \\192.168.1.200\spd\usr\nota\19\envio\Temp\52210110475896000119550210000680071000000018-ped-sit.xml foi descarregado da lista de processamento (Data criação: 21/01/2021 10:29:41)
10:37:05 O arquivo \\192.168.1.200\spd\usr\nota\19\enviado\EmProcessamento\52210110475896000119550210000680071000000018-nfe.xml foi movido para \\192.168.1.200\spd\usr\nota\19\erro\52210110475896000119550210000680071000000018-nfe.xml
STACK TRACE:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at NFe.Components.Functions.WriteLog(String msg, Boolean gravarStackTrace, Boolean geraLog, String CNPJEmpresa)
at NFe.Settings.Auxiliar.WriteLog(String msg, Boolean gravarStackTrace)
at NFe.Settings.Auxiliar.MoveArqErro(String Arquivo, String ExtensaoArq)
at NFe.Settings.Auxiliar.MoveArqErro(String Arquivo)
at NFe.Service.NFeEmProcessamento.Analisar(Int32 emp)
at NFe.Service.Processar.EmProcessamento()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()