Jump to content

Problem after saving a Picture


Recommended Posts

Hi All,

 

I have a Problem after saving a Picture as *.jpg (this works fine). But if you change something and hit again save - i get the Error below:

 

Application version: paint.net v4.2.12

System.ComponentModel.Win32Exception (0x80004005): ReplaceFileW() returned FALSE (5, ERROR_ACCESS_DENIED)
   bei PaintDotNet.SystemLayer.NativeUtilities.ThrowOnWin32Error(String message, Int32 lastWin32Error, Boolean alwaysThrow) in D:\src\pdn\src\SystemLayer\NativeUtilities.cs:Zeile 89.
   bei PaintDotNet.SystemLayer.FileSystem.ReplaceFile(String replacedFileName, String replacementFileName, String backupFileName) in D:\src\pdn\src\SystemLayer\FileSystem.cs:Zeile 48.
   bei PaintDotNet.IO.SaveTransaction.Commit() in D:\src\pdn\src\PaintDotNet\IO\SaveTransaction.cs:Zeile 287.
   bei PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass246_1.<DoSaveImpl>b__6() in D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspace.cs:Zeile 2794.
   bei PaintDotNet.Functional.Func.Try(Action f) in D:\src\pdn\src\Base\Functional\Func.cs:Zeile 174.

 

Regards

Andres

Link to comment
Share on other sites

On 6/4/2020 at 8:58 AM, Andres Bohren said:

ReplaceFileW() returned FALSE (5, ERROR_ACCESS_DENIED)

 

What's the file location of the image you're saving?

Is the file read-only?

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

The same thing was happening to me after switching to v4.2.12.

I could not save over an existing file. I would have to 'save as' a new filename. It's possible my problem was related to saving to a network location.

I eventually just reverted to v4.2.11 and it fixed the problem. 

Link to comment
Share on other sites

Here is the hotfix: https://www.getpaint.net/files/zip/test/paint.net.4.213.7466.41336.install.zip

 

Please install this and try saving again to the locations where you were having trouble.

 

... And let me know if it works OR if it doesn't!

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