MGRJR Posted February 24, 2020 Share Posted February 24, 2020 (edited) I was using paint.net the other day, and I get a random error message which causes it to close. I tried opening it again, and the same error message appeared. I thought it was a paint.net problem, so I uninstalled it, restarted my computer and tried installing again, but it didn't work. When I try to install it now, it goes through the normal installation when it shows everything downloading with the green progress bar. It finishes, closes, and then I get this error message. I know it says Microsoft .NET Framework so I went to install it, but it said I already have a sufficient .net framework on my computer. I've looked in every corner of the internet, tried many solutions (none of which have worked) and I don't know what to do. Does anyone have a solution for this? Edited February 24, 2020 by MGRJR Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted February 24, 2020 Share Posted February 24, 2020 It would be helpful if we could see what it says in the Details. Please copy and paste its contents. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MGRJR Posted February 25, 2020 Author Share Posted February 25, 2020 17 hours ago, toe_head2001 said: It would be helpful if we could see what it says in the Details. Please copy and paste its contents. I just got back to my PC, here are the details: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at PaintDotNet.SystemLayer.NativeMethods.SHGetFolderPathW(IntPtr hwndOwner, Int32 nFolder, IntPtr hToken, UInt32 dwFlags, StringBuilder lpszPath) at PaintDotNet.SystemLayer.ShellUtil.GetCSIDLPath(Int32 csidl, Boolean tryCreateIfAbsent) in D:\src\pdn\src\SystemLayer\ShellUtil.cs:line 936 at PaintDotNet.SystemLayer.ShellUtil.GetVirtualPath(VirtualFolderName folderName, Boolean tryCreateIfAbsent) in D:\src\pdn\src\SystemLayer\ShellUtil.cs:line 968 at PaintDotNet.Setup.SetupWizard.OnLoad(EventArgs e) in D:\src\pdn\src\SetupFrontEnd\SetupWizard.cs:line 527 at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at PaintDotNet.PdnBaseForm.WndProc(Message& m) in D:\src\pdn\src\Core\PdnBaseForm.cs:line 1963 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- SetupFrontEnd Assembly Version: 4.210.7348.40816 Win32 Version: 4.210.7348.40816 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/SetupFrontEnd.exe ---------------------------------------- PaintDotNet.Framework Assembly Version: 4.210.7348.40816 Win32 Version: 4.210.7348.40816 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/PaintDotNet.Framework.DLL ---------------------------------------- PaintDotNet.Core Assembly Version: 4.210.7348.40816 Win32 Version: 4.210.7348.40816 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/PaintDotNet.Core.DLL ---------------------------------------- PaintDotNet.Base Assembly Version: 4.210.7348.40816 Win32 Version: 4.210.7348.40816 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/PaintDotNet.Base.DLL ---------------------------------------- WindowsBase Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- PresentationFramework Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll ---------------------------------------- PresentationCore Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- PaintDotNet.SystemLayer Assembly Version: 4.210.7348.40816 Win32 Version: 4.210.7348.40816 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/PaintDotNet.SystemLayer.DLL ---------------------------------------- PaintDotNet Assembly Version: 4.210.7348.40816 Win32 Version: 4.210.7348.40816 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/PaintDotNet.EXE ---------------------------------------- PaintDotNet.Resources Assembly Version: 4.210.7348.40816 Win32 Version: 4.210.7348.40816 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/PaintDotNet.Resources.DLL ---------------------------------------- PaintDotNet.SystemLayer.Native.x64 Assembly Version: 4.210.7348.40816 Win32 Version: 4.210.7348.40816 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/x64/PaintDotNet.SystemLayer.Native.x64.DLL ---------------------------------------- PaintDotNet.Data Assembly Version: 4.210.7348.40816 Win32 Version: 4.210.7348.40816 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/PaintDotNet.Data.DLL ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Runtime.CompilerServices.Unsafe Assembly Version: 4.0.6.0 Win32 Version: 4.700.19.56404 CodeBase: file:///C:/Users/micha/AppData/Local/Temp/PdnSetup/System.Runtime.CompilerServices.Unsafe.DLL ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted February 25, 2020 Share Posted February 25, 2020 1 hour ago, MGRJR said: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at PaintDotNet.SystemLayer.NativeMethods.SHGetFolderPathW(IntPtr hwndOwner, Int32 nFolder, IntPtr hToken, UInt32 dwFlags, StringBuilder lpszPath) Are you using any extra security software that might restrict access to certain folders (for example the 'My Documents' folder) ? Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MGRJR Posted February 25, 2020 Author Share Posted February 25, 2020 16 minutes ago, toe_head2001 said: Are you using any extra security software that might restrict access to certain folders (for example the 'My Documents' folder) ? No, I don't have anything besides windows defender on my computer. I'll try letting paint.net through the firewall and see if it works. Quote Link to comment Share on other sites More sharing options...
MGRJR Posted February 25, 2020 Author Share Posted February 25, 2020 After letting the paint.net installer through the firewall, it once again didn't work, and the same error message showed up. However, this showed up after I closed the dialog box: Quote Link to comment Share on other sites More sharing options...
BoltBait Posted February 25, 2020 Share Posted February 25, 2020 Paint.NET is asking your Windows where the App_Data folder is. And, Windows is saying, "Nope! Not gonna tell you!" Then, Paint.NET responds, "Well, fine then. If you won't tell me where to store my data, I just won't run." App_Data is usually stored in your My Documents folder... One reason for this error is perhaps your "My Documents" folder is on a virtual drive? Or, your system is so locked down that Windows is trying to hide this type of information from everyone to prevent virus files from corrupting your documents... that's pretty aggressive. You could try installing after turning off your virus software. (Just be sure to turn it back on after.) Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
MGRJR Posted February 25, 2020 Author Share Posted February 25, 2020 (edited) 54 minutes ago, BoltBait said: Paint.NET is asking your Windows where the App_Data folder is. And, Windows is saying, "Nope! Not gonna tell you!" Then, Paint.NET responds, "Well, fine then. If you won't tell me where to store my data, I just won't run." App_Data is usually stored in your My Documents folder... One reason for this error is perhaps your "My Documents" folder is on a virtual drive? Or, your system is so locked down that Windows is trying to hide this type of information from everyone to prevent virus files from corrupting your documents... that's pretty aggressive. You could try installing after turning off your virus software. (Just be sure to turn it back on after.) Thanks for the clarification! I'll try what you suggested and hopefully it works. By the way, my documents folder is located in C:/Users/(my name) Edit: Turning off my antivirus like you said actually let it install. Thank you so much for suggesting that! Edited February 25, 2020 by MGRJR I solved the problem 1 Quote Link to comment Share on other sites More sharing options...
MGRJR Posted February 25, 2020 Author Share Posted February 25, 2020 I'm new to forums on paint.net so I don't completely know how it works, but I've solved my problem of installing paint.net. Quote Link to comment Share on other sites More sharing options...
Pixey Posted February 25, 2020 Share Posted February 25, 2020 11 hours ago, BoltBait said: And, Windows is saying, "Nope! Not gonna tell you!" Then, Paint.NET responds, "Well, fine then. If you won't tell me where to store my data, I just won't run." I just love it when @BoltBait talks computer speak 🤣 1 Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. 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.