Share via

I can't install discord

Anonymous
2024-05-30T23:38:02+00:00

When i try and install discord, it gives me the following error:

and when i click Open Setup Log, it gives me this log:

3312> 2024-05-30 20:26:19> Unhandled exception: System.TypeInitializationException: O inicializador de tipo de '<Module>' acionou uma exceção. ---> <CrtImplementationDetails>.ModuleLoadException: The C++ module failed to load during appdomain initialization.

---> System.DllNotFoundException: C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll ---> System.ComponentModel.Win32Exception: O arquivo ou pasta está corrompido e ilegível

--- Fim do rastreamento de pilha de exceções internas ---

em MS.Internal.NativeWPFDLLLoader.LoadNativeWPFDLL(UInt16* relDllPath, UInt16* baseDllPath)

em MS.Internal.NativeWPFDLLLoader.LoadCommonDLLsAndDwrite()

em CModuleInitialize.{ctor}(CModuleInitialize* , IntPtr cleaningUpFunc)

em ?A0x4566221a.InitCmiStartupRunner()

em ?A0x4566221a.??__E?A0x4566221a@unused@@YMXXZ()

em _initterm_m((fnptr)* pfbegin, (fnptr)* pfend)

em <CrtImplementationDetails>.LanguageSupport.InitializePerAppDomain(LanguageSupport* )

em <CrtImplementationDetails>.LanguageSupport._Initialize(LanguageSupport* )

em <CrtImplementationDetails>.LanguageSupport.Initialize(LanguageSupport* )

--- Fim do rastreamento de pilha de exceções internas ---

em <CrtImplementationDetails>.LanguageSupport.Initialize(LanguageSupport* )

em .cctor()

--- Fim do rastreamento de pilha de exceções internas ---

em Squirrel.Update.Program.executeCommandLine(String[] args)

em Squirrel.Update.Program.main(String[] args)

2908> 2024-05-30 20:34:54> Unhandled exception: System.TypeInitializationException: O inicializador de tipo de '<Module>' acionou uma exceção. ---> <CrtImplementationDetails>.ModuleLoadException: The C++ module failed to load during appdomain initialization.

---> System.DllNotFoundException: C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll ---> System.ComponentModel.Win32Exception: O arquivo ou pasta está corrompido e ilegível

--- Fim do rastreamento de pilha de exceções internas ---

em MS.Internal.NativeWPFDLLLoader.LoadNativeWPFDLL(UInt16* relDllPath, UInt16* baseDllPath)

em MS.Internal.NativeWPFDLLLoader.LoadCommonDLLsAndDwrite()

em CModuleInitialize.{ctor}(CModuleInitialize* , IntPtr cleaningUpFunc)

em ?A0x4566221a.InitCmiStartupRunner()

em ?A0x4566221a.??__E?A0x4566221a@unused@@YMXXZ()

em _initterm_m((fnptr)* pfbegin, (fnptr)* pfend)

em <CrtImplementationDetails>.LanguageSupport.InitializePerAppDomain(LanguageSupport* )

em <CrtImplementationDetails>.LanguageSupport._Initialize(LanguageSupport* )

em <CrtImplementationDetails>.LanguageSupport.Initialize(LanguageSupport* )

--- Fim do rastreamento de pilha de exceções internas ---

em <CrtImplementationDetails>.LanguageSupport.Initialize(LanguageSupport* )

em .cctor()

--- Fim do rastreamento de pilha de exceções internas ---

em Squirrel.Update.Program.executeCommandLine(String[] args)

em Squirrel.Update.Program.main(String[] args)

How can i fix it?

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-05-31T22:13:38+00:00

    Another option that you can try is to uninstall the .NET Framework in the "Turn Windows features on or off" and then re-install it.

    Step 1: Create a system restore point. In case anything goes wrong you will be able to restore your computer. You can see at this link how to create a system restore point.

    https://support.microsoft.com/en-us/windows/cre...

    Step 2: Uninstall the .NET Framework

    1-Click on Start, search for "Turn Windows features on or off" and click on that

    2-Uncheck the option ".NET Framework 4.8" then click on OK to uninstall

    3-Reboot your PC

    Step 3: Re-install the .NET Framework

    1-Click on Start, search for "Turn Windows features on or off" and click on that

    2-Check the option ".NET Framework 4.8" then click on OK to install

    3-Reboot your PC and try to install Discord again

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-05-31T02:01:14+00:00

    I ran the repair tool and it still didn't gave me the same error when trying to download Discord.

    I tried to reinstall .NET Framework and it gave this:

    0 comments No comments
  3. Anonymous
    2024-05-31T01:16:52+00:00

    Hi, Eduardo. I'm Robinson, and I’m happy to help you today.

    The log indicates that there is a problem with the .NET Framework. Repairing or reinstalling the .NET Framework should fix this problem.

    Solution 1: Run the Microsoft .NET Framework Repair Tool. This tool detects and tries to fix some frequently occurring issues with the setup of Microsoft .NET Framework or with updates to the Microsoft .NET Framework.

    https://www.microsoft.com/en-us/download/detail...

    Solution 2: Reinstall the Microsoft .NET Framework. You can download the Microsoft .NET Framework 4 (Standalone Installer) at this link.

    https://www.microsoft.com/en-us/download/detail...

    I hope this information helps. If you have any questions or the problem persists, please let me know and I'll be glad to assist you further.

    0 comments No comments