Veja as orientações caso o usuário não consiga acessar a DCTFWeb no portal eCAC da Receita Federal
Caso o usuário não consiga acessar a DCTFWeb no portal eCAC da Receita Federal, situação na qual o sistema retorna uma mensagem de erro, é necessário realizar alguns ajustes na configuração do navegador ou dos certificados digitais, conforme orientações a seguir.
Inicialmente, cumpre destacar que o sistema DCTFWeb é compatível com o Java versão 7 ou superior, bem como com os seguintes navegadores:
Chrome – versão 62 a 65
Firefox – versão 52
Internet Explorer – versão 11
Se a mensagem de erro persistir mesmo após a realização dos ajustes descritos nesta nota, o usuário deverá reportar esse fato, por e-mail, para o endereço dctfweb@receita.fazenda.gov.br, com o print das telas de detalhamento do erro.
Configuração de navegadores web para acesso à DCTFWeb
Abaixo são descritos os procedimentos relativos à configuração de exceções de segurança para manipular certificados digitais, conforme o tipo de navegador utilizado.
Acesso ao eCAC (produção): https://cav.receita.fazenda.gov.br
Chrome
Acessar o endereço: https://dctfweb.cav.receita.fazenda.gov.br/aplicacoesweb/DCTFWeb/Default.aspx
Acionar o link Avançado, na página com o informativo “Sua conexão não é particular”;
Acionar o link Ir para dctfweb.ecac.hom.receita.fazenda.gov.br (não seguro);
Acionar o endereço do eCAC: https://cav.receita.fazenda.gov.br/
Firefox
Selecionar o Menu Editar, item Preferências;
Selecionar no painel à esquerda, a opção Avançado;
Selecionar no painel central, o item Certificados;
Acionar o comando “Ver certificados”;
Na tela “Gerenciador de Certificados”, selecionar a aba Servidores;
Verificar se há certificados associados aos endereços receita.fazenda.gov.br;
Em caso afirmativo, excluir todos: selecionar o certificado; acionar o comando Excluir;
Na aba Servidores, acionar o comando Adicionar Exceção;
No campo Endereço, informar https://dctfweb.cav.receita.fazenda.gov.br
Acionar o comando Verificar exceção;
Acionar o comando Confirmar exceção de segurança.
Internet Explorer 11
Acessar o endereço: https://dctfweb.cav.receita.fazenda.gov.br/aplicacoesweb/DCTFWeb/Default.aspx
Selecionar o botão Ferramentas e, posteriormente, Opções da Internet;
Selecionar a guia Segurança e escolher a zona Sites restritos;
Acionar o endereço do eCAC: https://cav.receita.fazenda.gov.br/
Informações sobre certificados digitais
A utilização de certificado digital é necessária para acessar e transmitir a DCTFWeb. Na página da Receita Federal, há diversas informações sobre certificados digitais, conforme link a seguir:
Fonte: site RFB 13.09.2018
Veja também, no Guia Tributário Online:
- DCTF – DECLARAÇÃO DE DÉBITOS E CRÉDITOS TRIBUTÁRIOS FEDERAIS
- EFD-Reinf
- ESCRITURAÇÃO CONTÁBIL FISCAL – ECF
- PRAZOS DE ENTREGA DE DECLARAÇÕES, DEMONSTRATIVOS E ESCRITURAÇÃO DIGITAL
![]() |
Manual de Obrigações Tributárias
Informe-se sobre as declarações obrigatórias ao fisco! |



Bom dia,
Para vocês hoje na entrega, também apareceu este erro?
Fiz uma transmissão tranquila, e outra deu o erro abaixo:
Server Error in ‘/AplicacoesWeb/DCTFWeb’ Application.
________________________________________
Index and length must refer to a location within the string.
Parameter name: length
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length]
System.String.Substring(Int32 startIndex, Int32 length) +382
Serpro.Dctf.Util.RotinasHelper.GetIPClient(HttpRequest httpReq) +296
Serpro.Dctf.DCTFWeb.Controlador.ControladorDctf.GravarLogErro(Exception excecao, HttpResponse response, Page page, DadosSessaoLog dadosSessaoLog) +62
Serpro.Dctf.DCTFWeb.Controlador.ControladorDctf.TrataExcecao(Exception excecao, HttpResponse response, Page page, Boolean redirecionarPaginaErro) +549
Serpro.Dctf.DCTFWeb.Controlador.ControladorDctf.TrataExcecao(Exception excecao, HttpResponse response, Page page) +111
Serpro.Dctf.DCTFWeb.Default.Page_Load(Object sender, EventArgs e) +504
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
System.Web.UI.Control.OnLoad(EventArgs e) +79
System.Web.UI.Control.LoadRecursive() +117
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2101
________________________________________
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3062.0
CurtirCurtir