Jump to content

Access Denied When Saving?


Recommended Posts

xgnhnNq.png

 

Please help, I cannot save any image I create under any location.

 

 

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 2954

 

   at PaintDotNet.Functional.Func.Try(Action f) in d:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 174

Link to post
Share on other sites

Why would you run CCleaner? There's only 2 reasons, as far as I can see:

1) You're having a problem with your system - Instead of letting CCleaner run wild in your registry, I find it better to just deal with the specific problem you're having. A little Googling should get you to a specific answer to that problem.

or

2) You're NOT having a problem you just think you should run a registry cleaner once in a while to keep your system "tuned up" - This couldn't be more stupid. If your system is running fine, there is NO REASON to run something like this.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to post
Share on other sites

There was adware in my registry so I ran a scan.

 

I just got back from using a system restore and the adware is back.

 

The CCleaner scan in the registry fixed the problem last time, but MAY have damaged Paint.Net. 

 

1bVgWwW.png

 

You can see the adware, but there are many many other files in the list. 

 

Is there ones I should look for that relate to PDN?

Link to post
Share on other sites

Of course I agree this is piriform's problem and not paint.net's, but in case youre curious: maximize the window, sort by registry key, and search for HKCU\Software\paint.net. You will probably find other entries in the sorted region of HKCU\Software so youll know when youve found that region, but it isn't guaranteed (I didn't have that many). Then you can find it's comments on why it's messed up.  I only found "obsolete software". When I allowed it to just clean one of those, it said it was going to delete it, and it did. 

Link to post
Share on other sites
  • 8 months later...
  • 8 months later...

Archived

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

×
×
  • Create New...