[.Net - BR] Erro no NFe

695 views
Skip to first unread message

Neryval Lima

unread,
May 25, 2010, 1:11:15 PM5/25/10
to dotn...@googlegroups.com
Tenho uma aplicação para NFe, desde ontem, dentro da empresa, e em alguns clientes
não conseguimos realizar nenhuma operação. pois o sistema reporta um erro informando
que o sistema está fora do ar!

Debugando a aplicação encontrei este erro :

System.Reflection.TargetInvocationException was caught
  Message="Uma exceção foi acionada pelo destino de uma chamada."
  Source="mscorlib"
  StackTrace:
       em System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       em System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       em System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       em System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       em System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       em System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
       em EllusNFE.EllusNFEClass.InvocarObjeto(String cVersaoDados, Object oServico, String cMetodo, String cFinalArqEnvio, String cFinalArqRetorno)
  InnerException: System.Net.WebException
       Message="A conexão subjacente estava fechada: Erro inesperado em um envio."
       Source="System.Web.Services"
       StackTrace:
            em System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
            em System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
            em System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
            em EllusNFE.wsBAHStatusServico.NfeStatusServico.nfeStatusServicoNF(String nfeCabecMsg, String nfeDadosMsg)
       InnerException: System.IO.IOException
            Message="Falha na autenticação porque o participante remoto fechou o fluxo de transporte."
            Source="System"
            StackTrace:
                 em System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
                 em System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
                 em System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
                 em System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
                 em System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
                 em System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
                 em System.Net.TlsStream.CallProcessAuthentication(Object state)
                 em System.Threading.ExecutionContext.runTryCode(Object userData)
                 em System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
                 em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
                 em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
                 em System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
                 em System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
                 em System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
                 em System.Net.ConnectStream.WriteHeaders(Boolean async)
            InnerException: 

será que alguem pode me ajudar ?


--
Neryval Lima
.NET Programmer
+55 71 8104.9679
+55 71 3644.2107
Camaçari, Bahia - Brasil
Skype : neryval.lima

--
==============================
Comunidade de desenvolvedores Dot Net no Brasil
".Net Br" no Google Groups: http://groups.google.com.br/group/dotnet_br/
E-mail do Grupo: dotn...@googlegroups.com
"Your Potential. Our Passion."
 
==============================
Comunidade de desenvolvedores PHP
"LISTA PHP" no Google Groups: http://groups.google.com.br/group/listaphp
E-mail do Grupo: list...@googlegroups.com

Paulo S. M. Marques

unread,
May 25, 2010, 1:56:41 PM5/25/10
to dotn...@googlegroups.com
Cara, a conexão com o webservice deu PT.


A conexão subjacente estava fechada: Erro inesperado em um envio:

  StackTrace:
            em System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
            em System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)

Pode ser alguma zica no server NFE


2010/5/25 Neryval Lima <ner...@gmail.com>



--
Atenciosamente,

Paulo S. M. Marques
Analista de Sistemas
MCP / MCTS Web

Bruno Gross

unread,
May 25, 2010, 1:58:26 PM5/25/10
to dotn...@googlegroups.com
já tentou o servidor de contigência?

2010/5/25 Paulo S. M. Marques <psma...@gmail.com>



--
Visite: www.UpaLele.com

att.
Bruno Gross
Celular: (21) 78545483
Rádio ID: 83*39379
Reply all
Reply to author
Forward
0 new messages