Quando a falha ocorre?


    Ao tentar gerar relatório de totalizadores na rotina Gerenciador do fiscal, é apresentado a falha:

    “Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.”


    A falha ocorre somente em geração em formato PDF. 

    Como corrigir o erro?


    Busque por "Windows PowerShell" na barra de pesquisa e execute como administrador.

    Execute o comando abaixo:

    [System.Reflection.Assembly]::LoadWithPartialName("System.EnterpriseServices") | Out-Null
    $publish = New-Object System.EnterpriseServices.Internal.Publish
    $publish.GacInstall("C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll")

    • Será retornado uma linha vazia caso o registro tenha sido realizado:

    Após o procedimento, realize o teste novamente na rotina. 






    Outros meios de obter suporte