Jump to content

Can't update or install latest version


JScope

Recommended Posts

Hi I've been using Paint.net for quite a while and it's always updated with no issues up until recently; I tried uninstalling and reinstalling the latest version but am getting this error below, any help would be greatly appreciated!  I had a look through the forums but didn't see anything specific to this:

 

System.TypeInitializationException: The type initializer for 'PaintDotNet.SystemLayer.FileSystem' threw an exception. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\jscop\AppData\Local\paint.net\SessionData\1178967519' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.Directory.GetFiles(String path, String searchPattern)
   at PaintDotNet.SystemLayer.FileSystem..cctor() in D:\src\pdn\src\SystemLayer\FileSystem.cs:line 513
   --- End of inner exception stack trace ---
   at PaintDotNet.SystemLayer.FileSystem.TryDeleteFile(String filePath)
   at PaintDotNet.Setup.InstallingPage.<DoInstallation>d__48.MoveNext() in D:\src\pdn\src\SetupFrontEnd\InstallingPage.cs:line 866
   at PaintDotNet.Threading.Tasks.IterativeTask.IterativeTaskAnon.<OnExecute>d__1.MoveNext() in D:\src\pdn\src\Core\Threading\Tasks\IterativeTask.cs:line 33
   at PaintDotNet.Threading.Tasks.IterativeTask`1.<>c__DisplayClass10_0.<StepTask>b__0() in D:\src\pdn\src\Core\Threading\Tasks\IterativeTask`1.cs:line 74

Link to comment
Share on other sites

Windows Defender has a new option, "Controlled folder access." Make sure it's disabled. It's a stupid feature that breaks a ton of legitimate applications.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...