Patriot9330 Posted January 21, 2023 Share Posted January 21, 2023 I recently started up my kerbal Space Program, its been a while. I tried to start CKAN and i keep getting this error and for the life up me i have tried everything. I have moved the game folder I have given full permissions to CKAN in the Game properties of the security tab I have tried to start it in Admin mode and still nothing Unhandled Exception: System.UnauthorizedAccessException: Access to the path 'C:\Users\Patriot\AppData\Local\CKAN\config.json' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) at CKAN.Configuration.JsonConfiguration.SaveConfig() at CKAN.Configuration.JsonConfiguration.set_DownloadCacheDir(String value) at CKAN.GameInstanceManager.TrySetupCache(String path, String& failureReason) at CKAN.GameInstanceManager.LoadCacheSettings() at CKAN.CmdLine.MainClass.Execute(GameInstanceManager manager, CommonOptions opts, String[] args) at CKAN.CmdLine.MainClass.Main(String[] args) Quote Link to comment Share on other sites More sharing options...
kennyc222 Posted February 23 Share Posted February 23 it seems a bug! As I tried to run the same thing but it gave me the same error! tried to reinstall the whole KSP2 game but doesn' work! Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted February 23 Share Posted February 23 That's not something CKAN would be capable of causing with a bug. The OS is telling CKAN it can't write to that file, not the other way around. Quote Link to comment Share on other sites More sharing options...
Second Hand Rocket Science Posted February 24 Share Posted February 24 18 hours ago, kennyc222 said: it seems a bug! As I tried to run the same thing but it gave me the same error! tried to reinstall the whole KSP2 game but doesn' work! This thread isn't even about KSP2... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.