Jump to content

Saving throws UnauthorizedAccessException in version 4.0.5064.834


Recommended Posts

While trying to save an image, Paint.NET throws an UnauthorizedAccessException and gives the message "Access is denied. Use File->Save As to save under a different location or name".


This happens regardless of the path, quality and extension

After the exception the application continues to run perfectly fine, but simply doesn't save it.


The Exception was thrown with a few parts in Dutch, I translated them for the sake on convinience and I apologize if it's not 100% accurate.

System.UnauthorizedAccessException: Access to registerykey HKEY_CURRENT_USER\SOFTWARE\paint.net is denied.

   bij Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)

   bij Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)

   bij Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck)

   bij PaintDotNet.SystemLayer.RegistrySettings.CreateSettingsKey(Boolean writable) in D:\src\pdn\paintdotnet\src\SystemLayer\RegistrySettings.cs:line 69

   bij PaintDotNet.SystemLayer.RegistrySettings.SetObject(String key, Object value) in D:\src\pdn\paintdotnet\src\SystemLayer\RegistrySettings.cs:line 169

   bij PaintDotNet.FileType.Save(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback, Boolean rememberToken) in D:\src\pdn\paintdotnet\src\Data\FileType.cs:line 260

   bij PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass30.<DoSave>b__28() in D:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 2877

   bij PaintDotNet.Functional.Func.Try(Action f) in D:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 171
Link to post
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...