Jump to content

Recommended Posts

Posted

Decided to post this since no one has ever had the same problem.

 

I recently got a new Hard Drive and Webroot, a known antivirus. I recently opened PDN, to make a cool image to use as a profile pic. I could not save, no matter what. Wasnt a JPG, didnt lost transparency, I cannot save AT ALL.

 

This is the error text I get:

 

System.UnauthorizedAccessException: Access to the registry key

'HKEY_CURRENT_USER\SOFTWARE\paint.net' is denied.

 
   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
 
   at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
 
   at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck)
 
   at PaintDotNet.SystemLayer.RegistrySettings.CreateSettingsKey(Boolean writable) in d:\src\pdn\paintdotnet\src\SystemLayer\RegistrySettings.cs:line 69
 
   at PaintDotNet.SystemLayer.RegistrySettings.SetObject(String key, Object value) in d:\src\pdn\paintdotnet\src\SystemLayer\RegistrySettings.cs:line 169
 
   at 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 278
 
   at PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass30.<DoSave>b__28() in d:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 2969
 
   at PaintDotNet.Functional.Func.Try(Action f) in d:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 174
 
Help?
Posted

I have, I just sent it to best buy and it came back like this. I have WebRoot, a very good antivirus. I think it has something to do with hte antivirus itself. Can anyone who understands the error log tell me how to fix it?

Posted

Something is preventing paint.net from accessing the registry. This key shouldn't be protected.

Usually, malware makes your registry read-only in order to prevent you from removing the malware. Maybe your virus software is doing the same thing.

What you need to do is run regedit and right-click on computer\hkey_current_user\software\paint.net key and choose Permissions... then click "Advanced" button to see why you can't modify that key.

Posted

I fixed it! Thanks, it wasn't given Full Control nor was it given inheritable traits. I assume the Geek Squad Agents I gave it to thought it was malware and prevented it from doing so while accessing the registry.

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