Andres Bohren Posted June 4, 2020 Author Share Posted June 4, 2020 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 Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted June 6, 2020 Share Posted June 6, 2020 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? Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
maxwellwonder Posted June 9, 2020 Share Posted June 9, 2020 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. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted June 10, 2020 Share Posted June 10, 2020 Okay I think I know what the problem is and I'll post a hotfix here soon so you can try it out Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted June 10, 2020 Share Posted June 10, 2020 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! Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Lexlut Posted June 12, 2020 Share Posted June 12, 2020 It works. Good job <3 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.