System.IO.IOException
Symptom
You might see errors such as:
System.Exception
System.IO.IOException
System.Reflection.TargetInvocationException
On inspecting your log file, you find something mentioning TMPE.log
.
Example log messages (folder paths truncated for sake of brevity):
or:
or:
or:
Note: A similar error, [[System.IO.IOException Win32 IO returned 112]], is caused by running out of disk space.
Cause
#292: The System.Exception
error is caused by faulty installation of the game on a different disk drive (i.e. not Drive C:).
#629: The System.IO.IOException
error can also be caused by incorrect move of game to different drive.
#802: The System.Reflection.TargetInvocationException
error is caused by insufficient access rights to the folder where the log is being created.
Solution
First, check your disk drive isn't full. Check both the main disk drive (where your Operating System loads from, usually C:
on Windows) and also the drive where the game is installed. If it's full, free up space and try again.
If it's still not working...
Try running Cities.exe (or Cities.app on Macs) as Administrator user.
You might need to Change Download Region
Did you install / move game to different drive? See: Moving the Game to a Different Disk Drive
As of TM:PE 11.6.2 you can specify where the log file should go via command line parameter. For details see [[TMPE.log]].
Was it Fixed?
If not, and the error mentions TMPE.log
, please let us know: Report a Bug
Other issues? See: 👉 Troubleshooting