Parse error stopping me from playing games


Thread Starter
Nov 25, 2021
So whenever I try playing Celeste (The newest game to encounter this problem) I get this error log telling me something went wrong. Can anyone please tell me how to deal with this because this is not the first time a Parse error has stopped me from playing a game.

25/11/2021 11:22:28
System.TypeInitializationException: The type initializer for 'System.MarvinHash' threw an exception. ---> System.ApplicationException: Invalid XML in file 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config' near element ''. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0xC00CE556
at System.BaseConfigHandler.RunParser(String fileName)
at System.ConfigTreeParser.Parse(String fileName, String configPath, Boolean skipSecurityStuff)
--- End of inner exception stack trace ---
at System.ConfigTreeParser.Parse(String fileName, String configPath, Boolean skipSecurityStuff)
at System.Security.Cryptography.CryptoConfig.OpenCryptoConfig()
at System.Security.Cryptography.CryptoConfig.InitializeConfigInfo()
at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
at System.Security.Cryptography.RandomNumberGenerator.Create()
at System.MarvinHash.GenerateSeed()
at System.MarvinHash..cctor()
--- End of inner exception stack trace ---
at System.Xml.NameTable..ctor()
at Monocle.Calc.LoadContentXML(String filename)
at Celeste.GFX.Load()
at Celeste.Celeste.LoadContent()
at Microsoft.Xna.Framework.Game.Initialize()
at Monocle.Engine.Initialize()
at Celeste.Celeste.Initialize()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Monocle.Engine.RunWithLogging()

My computer specs are:

Tech Support Guy System Info Utility version
OS Version: Microsoft Windows 10 Pro, 64 bit, Build 19043, Installed 20210719164207.000000+060
Processor: Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz, Intel64 Family 6 Model 94 Stepping 3, CPU Count: 4
Total Physical RAM: 16 GB
Graphics Card: NVIDIA GeForce GTX 960
Hard Drives: C: 222 GB (58 GB Free); D: 2764 GB (1930 GB Free);
Motherboard: ASUSTeK COMPUTER INC. PRIME Z270-P, ver Rev X.0x, s/n 170604425300954
System: American Megatrends Inc., ver ALASKA - 1072009, s/n System Serial Number
Antivirus: Windows Defender, Disabled
Feb 9, 2020
Use File Explorer to go to this folder:


rename machine.config to machine.config,bad or something
make a copy of machine.config.default (may need to copy it to another location)
rename the copy to machine.config
if necessary, move it back to that folder (C:\Windows\Microsoft.NET\Framework\v4.0.30319\config)
rerun Celeste

Might also try running an SFC scan to repair system files. Open command prompt as admin and type:

sfc /scannow

And you may also need to download and reinstall:

XNA Framework 4.0
Microsoft .NET Framework 4.5

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts