how to fix: system.typeinitializationException:the type initializer for "WinRT.Activationfactory 1' threw an exception -->System.Runtime.interopServices.COMException (0x80040155):ClassFactory cannot supply requested class

Fadavid 0 Reputation points
2023-08-14T17:51:06.9366667+00:00

User's image

Basically, i am trying to install a un traducteur de jeu utilisant Tesseract OCR. La méthode de fonctionnement est un programme qui capture la boîte de dialogue sur l'écran du jeu sous forme d'image, extrait la boîte de dialogue à l'aide de l'OCR et traduit la boîte de dialogue du jeu à l'aide du traducteur DB ou des traductions BING.However before launching it ask me to install NET 7.0 Desktop Runtime which i do but now when starting i got this error. Could you help?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 45,126 Reputation points
    2023-08-15T13:25:31.1333333+00:00
    Hello
    
    Thank you for your question and reaching out.
    
    1. Please make sure you fulfill requirement and dependencies to Install and use of Tesseract OCR.
    
    2. Disable any Antivirus program or Windows firewall you may have for temporary purpose.
    
    3. Cleanup below Temp folders location -> Open Start -> Run -> Type below location one-by-one and press enter 
        ->  C:\Windows\Temp
        ->   %USERPROFILE%\AppData\Local\Temp
    
    4. Retry to Install Tesseract OCR software.
    
    
    --If the reply is helpful, please Upvote and Accept as answer--
    
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.