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
Can't update or install latest version
in Troubleshooting & Bug Reports
Posted
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