Jump to content

Installation of 4.1.5 fails.


mrt181

Recommended Posts

I am trying to update and fresh install version 4.1.5 but I always get the below error and the installation does not work.

 

I am running Windows 7.

 

Quote

 

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 1107
   at PaintDotNet.SystemLayer.ShellUtil.GetVirtualPath(VirtualFolderName folderName, Boolean tryCreateIfAbsent) in D:\src\pdn\src\SystemLayer\ShellUtil.cs:line 1139
   at PaintDotNet.Setup.SetupWizard.OnLoad(EventArgs e) in D:\src\pdn\src\SetupFrontEnd\SetupWizard.cs:line 530
   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 1939
   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.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SetupFrontEnd
    Assembly Version: 4.105.6913.325
    Win32 Version: 4.105.6913.325
    CodeBase: file:///C:/Users/r892107/AppData/Local/Temp/PdnSetup/SetupFrontEnd.exe
----------------------------------------
PaintDotNet.Framework
    Assembly Version: 4.105.6913.325
    Win32 Version: 4.105.6913.325
    CodeBase: file:///C:/Users/r892107/AppData/Local/Temp/PdnSetup/PaintDotNet.Framework.DLL
----------------------------------------
PaintDotNet.Core
    Assembly Version: 4.105.6913.325
    Win32 Version: 4.105.6913.325
    CodeBase: file:///C:/Users/r892107/AppData/Local/Temp/PdnSetup/PaintDotNet.Core.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_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.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PaintDotNet.Base
    Assembly Version: 4.105.6913.325
    Win32 Version: 4.105.6913.325
    CodeBase: file:///C:/Users/r892107/AppData/Local/Temp/PdnSetup/PaintDotNet.Base.DLL
----------------------------------------
PaintDotNet.SystemLayer
    Assembly Version: 4.105.6913.325
    Win32 Version: 4.105.6913.325
    CodeBase: file:///C:/Users/r892107/AppData/Local/Temp/PdnSetup/PaintDotNet.SystemLayer.DLL
----------------------------------------
PaintDotNet
    Assembly Version: 4.105.6913.325
    Win32 Version: 4.105.6913.325
    CodeBase: file:///C:/Users/r892107/AppData/Local/Temp/PdnSetup/PaintDotNet.EXE
----------------------------------------
PaintDotNet.Resources
    Assembly Version: 4.105.6913.325
    Win32 Version: 4.105.6913.325
    CodeBase: file:///C:/Users/r892107/AppData/Local/Temp/PdnSetup/PaintDotNet.Resources.DLL
----------------------------------------
PaintDotNet.Data
    Assembly Version: 4.105.6913.325
    Win32 Version: 4.105.6913.325
    CodeBase: file:///C:/Users/r892107/AppData/Local/Temp/PdnSetup/PaintDotNet.Data.DLL
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_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.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
PaintDotNet.SystemLayer.Native.x64
    Assembly Version: 4.105.6913.325
    Win32 Version: 4.105.6913.325
    CodeBase: file:///C:/Users/r892107/AppData/Local/Temp/PdnSetup/x64/PaintDotNet.SystemLayer.Native.x64.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    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.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.

 

 

 

Link to comment
Share on other sites

Hello @mrt181 and Welcome :)

 

I'm not really experienced with reading that code, but for starters let me ask you:

 

1.  Which version are you trying to install - Classic or the Store bought? And if Classic, are you trying to download from this site?  Requirements for Classic are:

      Windows 7 SP1 with Platform Update

     

2.  Have you got the very latest Windows Updates?

30b8T8B.gif

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

4 hours ago, mrt181 said:

System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

 

Are you trying to install over Remote Desktop?

Are you using an over-protective anti-malware program?

(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

Yeah you probably have some over-zealous security program.

 

The line of code where it's crashing is where Paint.NET is asking Windows to give it the path for the Program Files directory.

 

If the Program Files directory doesn't exist, then Windows tries to create it ... and if you don't have the right permission for the containing directory, then "Access Denied" is a logical consequence of that.

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

Hi, I have downloaded the classic version from this site, I first tried via the auto-updater, I am local admin on my machine, I have Windows 7 SP1, I see no alert or anything in quarantine in my security program.

I never experienced this with previous versions.

Cheers Martin

Link to comment
Share on other sites

Have you got the Win7 SP1 Platform Update installed as per the system requirements?

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