Jump to content

CKAN Unhandled Exception Unauthorized Access?


Recommended Posts

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)

 

Link to comment
Share on other sites

  • 1 year later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...