Cities: Skylines

Cities: Skylines

データを表示:
A Mod caused an error [System.Exception]
Hi, i wanted to install mods but i got this:




A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access to the path "F:\Program Files1 (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\TMPE.log" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at System.IO.File.AppendText (System.String path) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.LogToFile (System.String log, LogLevel level) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.Info (System.String s) [0x00000] in <filename unknown>:0
at TrafficManager.TrafficManagerMod.OnEnabled () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception

--------------------

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for TrafficManager.State.GlobalConfig ---> System.UnauthorizedAccessException: Access to the path "F:\Program Files1 (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\TMPE.log" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at System.IO.File.AppendText (System.String path) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.LogToFile (System.String log, LogLevel level) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.Warning (System.String s) [0x00000] in <filename unknown>:0
at TrafficManager.State.GlobalConfig.Load (System.DateTime

Can you explain how i fix this? Thanks all
< >
1-15 / 15 のコメントを表示
Make sure the following path exists and the game can write to it and that there is enough room on the drive:

F:\Program Files1 (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\
BTW, it looks like you've copied the game to a new drive, but not done it properly. Consider uninstalling the game, then reinstalling it to the F: drive rather than just copy it. Backup your saves and other stuff first though.
sky 2019年4月20日 10時38分 
The past exists and there is enough room on the drive

I didn't copied the game, i putted Windows on other drive. Do you think it's the reason? I got many problems with administrator rights with steam games

Thank you for answering
Yup, moving to other drive possibly caused the issue.

I'm not sure what the correct procedure is to run Cities: Skylines on another drive is, I wish Paradox would post something on their wiki explaining how to do it properly.

In any case, I've added a bug ticket to TM:PE to see if we can get the mod to handle that issue better in future.
最近の変更はleftbehindが行いました; 2019年4月20日 10時56分
There might be something here that helps, although I've not read it all: https://steamcommunity.com/app/255710/discussions/0/1708438218850492523/
Hello!

If I understand correctly, you've moved your entire windows install by manually moving over each Windows folder? You should never do this, ever, as it will not only cause issues with games and mods, but literally hundreds of other things. Here's only a couple out of the hundreds of reasons not to do this:
- Windows installs programs to "Program Files", not "Program Files1".
- There are many registry values that are set and hard-coded into the location of where the program was initially installed. For example, if I installed steam to C:\Steam, then in the registry it's set to C:\Steam, so if I move the folder, the registry points to the wrong spot.
- There are folders there you do not have permission to view or move. Even if you're the administrator of the computer, there's many folders that Windows creates on installation and cannot be moved without reinstalling.

My suggestions to fix this situation:
- If you truly want to move Windows to another drive, I strongly suggest reinstalling Windows (backing up important data first, of course) and then selecting which drive to install to during the installation process. This will properly move all of the windows folders and ensure everything gets set up correctly.
- If you want to attempt to fix this, reinstall Steam first. Then, create a new SteamLibrary folder using this handy guide. After you've done that, reinstall Cities: Skylines, ensuring you're selecting the new SteamLibrary folder it was created in. If this does not work, then there's not much you can do other than reinstall windows.
最近の変更はFireController#1847が行いました; 2019年4月20日 11時16分
sky 2019年4月20日 11時24分 
Thanks @Aubergine i will read this

@FireController

Hello, no no i didnt move manually xD
I installed an other Windows on other drive and i have kept my first drive for my files.
I have 2 drives, one for windows, one for my games.
最近の変更はskyが行いました; 2019年4月20日 11時25分
@sky Okay, glad to hear that. Please read my bottom solution and let me know if that fixes the issue. If not, ensure that the permissions for the folder do NOT require administrative privileges to access. If they do, run Steam and Cities: Skylines as an administrator and see if that fixes the issue.
最近の変更はFireController#1847が行いました; 2019年4月20日 21時44分
sky 2019年4月21日 15時14分 
It worked: i reinstalled Steam, created new folder and reinstalled Cities:skylines.
I have been able to handed my games in Common too.

Thanks for your help both of you :cozybethesda:
最近の変更はskyが行いました; 2019年4月22日 5時57分
Here is the error I got ingame as soon as it booted up to the main menu. There was also a window behind it saying that Traffic Manager detected an incompatible mod

A Mod caused an error [ModException]

Details:
System.IndexOutOfRangeException: Array index is out of range.
at OptionsMainPanel.AddUserMods () [0x00000] in <filename unknown>:0



---

There errors came in once i booted up the map:

Unexpected Exception while deserializing RICO - file 923935112 (Document element did not appear. Line 1, position 1. [])
Unexpected Exception while deserializing RICO - file 922138318 (Document element did not appear. Line 1, position 1. [])

AND:

A Mod caused an error [ModException]

Details:
System.IndexOutOfRangeException: Array index is out of range.
at OptionsMainPanel.AddUserMods () [0x00000] in <filename unknown>:0


最近の変更はDEADZEROが行いました; 2019年4月22日 4時56分
How do i send the file??
There's literally an entire section on how to share the file in the link above.
Broken assets, unsubscribe:

You are getting masses of other exceptions, so there is something wrong with your install - not just mods.

Did you move the game to a new drive? If so, try the following:

  • Backup your saves (see Appendix E in troubleshooting guide for folder locations)
  • Uninstall the game
  • Reinstall it, making sure to choose the desired drive at start of install process
  • Wait while Steam downloads all your workshop subscriptions

If it's still not working, I need a list of the mods you have installed.
最近の変更はleftbehindが行いました; 2019年4月25日 10時30分
< >
1-15 / 15 のコメントを表示
ページ毎: 1530 50

投稿日: 2019年4月20日 9時28分
投稿数: 15