Could not load global config System.TypeLoadException
Aubergine edited this page Mar 29, 2020
·
1 revision
An error in the TMPE.log
file stating:
Could not load global config: System.TypeLoadException: Could not load type 'System.Xml.Serialization.XmlRootAttribute' from assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at TrafficManager.State.GlobalConfig.Load (System.DateTime& modifiedTime) [0x00000] in <filename unknown>:0 Generating default config.
at CSUtil.Commons.Log.LogToFile(System.String log, LogLevel level)
This issue only seems to affect Windows users.
This is caused by insufficient permissions on the folder that contain the TM:PE Global Configuration file.
- Locate the
TMPE_GlobalConfig.xml
file on disk.- Usually
C:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines
- Usually
- Either give the folder more permissions for your user, or run the game as Administrator
(We are investigating better locations for the config file, but for now that is the only fix).
If not, please let us know: Report a bug
Other issues? See: Troubleshooting
Red links are broken; this wiki is a work in progress
Getting Started (click to open)
Troubleshooting / Bugs (click to open)
- Hints Panel
- Road & Rail:
- Junctions:
- Despawning:
- Info Views:
- Roads/Tracks:
- Nodes, Segments, Lanes
- Collector Roads
- Dedicated Turning Lanes
- Enter Blocked Junctions
- High Priority Roads
- Highway Junction Rules
- Lane Changes
- Pedestrian Crossings
- Priority Routes
- Road Conditions
- Roundabouts
- Roundabout Policies
- Stay in Lane
- Turn on Red
- U-Turns
- Unprotected Turns
- Vehicle Restriction Aggression
- Public Transport:
- Vehicles:
Todo: