MGRJR

Paint.net Install glitch [SOLVED]

Recommended Posts

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.

 image.png.732076ee06133ad7bf8fbc25a6392e59.png  

 

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 by MGRJR

Share this post


Link to post
Share on other sites

I found a website and these might help - <Snip>

 

 

 

If that does not work please try searching up on google the error code. 🙂

 

Edited by toe_head2001
Those very generic solutions don't really help. Also smells like SPAM

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
7 hours ago, Pixey said:

It may be worth trying this tool and then try to re-install Paint.net again:

 

https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed

 

 

 

 

 

Thanks for recommending the tool. I tried it, but sadly it didn't work. When it finished I got the same exact error message with the same details.

 

Share this post


Link to post
Share on other sites
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) ?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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:

 image.png.eae86591c689bd7818b675c67964ae80.png

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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 by MGRJR
I solved the problem
  • Like 1

Share this post


Link to post
Share on other sites
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 🤣

  • Like 1

Share this post


Link to post
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.