Jump to content

paint.net crashes on startup.


Recommended Posts

started two weeks ago. discord started doing the same thing on the same day. ive heard and feel like it has something to do with a file called node.dll is missing. anyone have any ideas?

 

i added in the crashlog if that helps at all.

 

This text file was created because paint.net crashed. Please e-mail this to crashlog4@getpaint.net so we can diagnose and fix the problem.

Application version: paint.net 4.0.21 (Final 4.21.6589.7045)
Time of crash: 18-Feb-18 11:22:34 PM
Application uptime: 00:00:01.1840677
Application state: Running 
Working set: 80,788 KiB
Handles and threads: 520 handles, 24 threads, 36 gdi, 76 user
Install type: Classic
Application directory: C:\Program Files\paint.net
Current directory: C:\Program Files\paint.net
Install directory: C:\Program Files\paint.net
OS Version: Windows 7 Enterprise 6.1.7601.65536 Service Pack 1 x64 (0x4)
.NET version: CLR 4.0.30319.42000 x64
Processor: "AMD FX(tm)-6300 Six-Core Processor             " @ ~3500MHz (3C/6T, DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE)
Physical memory: 16332 MB
Video card: NVIDIA GeForce GTX 960 (v:10DE, d:1401, r:161)
Hardware acceleration: True (default: True)
UI animations: True
UI DPI: 96.00 dpi (1.00x scale)
UI theme: VisualStyleClass=Aero, EffectiveTheme=Aero, DWM=yes, AeroColorScheme=Blue, ThemeFileName=Aero.msstyles
Updates: True, 27-Jan-18
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US
Flags: 

Exception details:
System.BadImageFormatException: Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest.
File name: 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at PaintDotNet.ObjectModel.PropertyPath..ctor(String path, Object[] pathParameters)
   at PaintDotNet.ObjectModel.PropertyPathUtil.Combine(String nameA, String nameB) in D:\src\pdn\src\Base\ObjectModel\PropertyPathUtil.cs:line 21
   at PaintDotNet.Canvas.CanvasView..ctor() in D:\src\pdn\src\PaintDotNet\Canvas\CanvasView.cs:line 48
   at PaintDotNet.Canvas.CanvasControl..ctor() in D:\src\pdn\src\PaintDotNet\Canvas\CanvasControl.cs:line 48
   at PaintDotNet.Canvas.ScrollableCanvasControl..ctor() in D:\src\pdn\src\PaintDotNet\Canvas\ScrollableCanvasControl.cs:line 120
   at PaintDotNet.Controls.DocumentView.InitializeComponent() in D:\src\pdn\src\PaintDotNet\Controls\DocumentView.cs:line 597
   at PaintDotNet.Controls.DocumentView..ctor() in D:\src\pdn\src\PaintDotNet\Controls\DocumentView.cs:line 171
   at PaintDotNet.Controls.DocumentWorkspace..ctor() in D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 595
   at PaintDotNet.Controls.AppWorkspace.AddNewDocumentWorkspace() in D:\src\pdn\src\PaintDotNet\Controls\AppWorkspace.cs:line 881
   at PaintDotNet.Controls.AppWorkspace.CreateBlankDocumentInNewWorkspace(SizeInt32 size, MeasurementUnit dpuUnit, Double dpu, Boolean isInitial) in D:\src\pdn\src\PaintDotNet\Controls\AppWorkspace.cs:line 2470
   at PaintDotNet.Dialogs.MainForm.OnShown(EventArgs e) in D:\src\pdn\src\PaintDotNet\Dialogs\MainForm.cs:line 452
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Managed assemblies: 
    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
    PaintDotNet, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.exe
    PaintDotNet.SystemLayer, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.SystemLayer.dll
    System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
    WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll
    System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
    System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    PaintDotNet.Core, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Core.dll
    PaintDotNet.Base, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Base.dll
    PaintDotNet.Resources, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Resources.dll
    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
    PaintDotNet.Data, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Data.dll
    PaintDotNet.Framework, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Framework.dll
    PaintDotNet.SystemLayer.Native.x64, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.SystemLayer.Native.x64.dll
    PaintDotNet.Effects, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Effects.dll
    PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll
    Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll

Native modules: 
    C:\Program Files\paint.net\PaintDotNet.exe, version=4.21.6589.7045
    C:\Windows\SYSTEM32\ntdll.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\SYSTEM32\MSCOREE.DLL, version=4.0.40305.0 (Main.040305-0000)
    C:\Windows\system32\KERNEL32.dll, version=6.1.7601.18015 (win7sp1_gdr.121129-1432)
    C:\Windows\system32\KERNELBASE.dll, version=6.1.7601.18015 (win7sp1_gdr.121129-1432)
    C:\Windows\system32\ADVAPI32.dll, version=6.1.7601.23915 (win7sp1_ldr.170913-0600)
    C:\Windows\system32\msvcrt.dll, version=7.0.7601.17744 (win7sp1_gdr.111215-1535)
    C:\Windows\SYSTEM32\sechost.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\RPCRT4.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll, version=4.7.2558.0 built by: NET471REL1
    C:\Windows\system32\SHLWAPI.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\GDI32.dll, version=6.1.7601.23914 (win7sp1_ldr.170908-0600)
    C:\Windows\system32\USER32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\LPK.dll, version=6.1.7601.23930 (win7sp1_ldr.171011-1526)
    C:\Windows\system32\USP10.dll, version=1.0626.7601.23894 (win7sp1_ldr.170816-0600)
    C:\Windows\system32\IMM32.DLL, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\MSCTF.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\VERSION.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll, version=4.7.2563.0 built by: NET471REL1
    C:\Windows\system32\MSVCR120_CLR0400.dll, version=12.00.52519.0 built by: VSWINSERVICING
    C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\1be6cc750f274e3bee4698fb97232e69\mscorlib.ni.dll, version=4.7.2563.0 built by: NET471REL1
    C:\Windows\system32\ole32.dll, version=6.1.7601.23889 (win7sp1_ldr.170810-1615)
    C:\Windows\system32\CRYPTBASE.dll, version=6.1.7601.23915 (win7sp1_ldr.170913-0600)
    C:\Windows\system32\uxtheme.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\OLEAUT32.dll, version=6.1.7601.23775
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System\ab2e42479015c9d708ad28dea3f08198\System.ni.dll, version=4.7.2558.0 built by: NET471REL1
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Drawing\3286aed2732292b1962fc1a18028b31d\System.Drawing.ni.dll, version=4.7.2558.0 built by: NET471REL1
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\1afec06f634f3b2469d3ff28cf573ba5\System.Windows.Forms.ni.dll, version=4.7.2558.0 built by: NET471REL1
    C:\Windows\system32\api-ms-win-core-xstate-l2-1-0.dll, version=10.0.10586.1171 (th2_release_sec.170901-1821)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.7.2563.0 built by: NET471REL1
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\7a1f18bc625198b1e2884cf8487b4517\System.Core.ni.dll, version=4.7.2563.0 built by: NET471REL1
    C:\Windows\assembly\NativeImages_v4.0.30319_64\WindowsBase\4a354f4c6b05af0b690fe6281b5d26bd\WindowsBase.ni.dll, version=4.7.2563.0 built by: NET471REL1
    C:\Windows\system32\CRYPTSP.dll, version=6.1.7601.23471 (win7sp1_ldr.160614-0600)
    C:\Windows\system32\rsaenh.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet500b2e4f#\7db6ee1edc219d6efb39ed76201633af\PaintDotNet.SystemLayer.ni.dll, version=4.21.6589.7045
    C:\Windows\system32\RpcRtRemote.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll, version=4.7.2558.0 built by: NET471REL1
    C:\Windows\system32\shell32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet26779e70#\8c1672a8fb8e58f763b16e4a584d1bcd\PaintDotNet.Resources.ni.dll, version=4.21.6589.7045
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-console-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-datetime-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-debug-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-errorhandling-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-file-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-file-l1-2-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-file-l2-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-handle-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-heap-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-interlocked-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-libraryloader-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-localization-l1-2-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-memory-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-namedpipe-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-processenvironment-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-processthreads-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-processthreads-l1-1-1.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-profile-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-rtlsupport-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-string-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-synch-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-synch-l1-2-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-sysinfo-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-timezone-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-core-util-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-conio-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-convert-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-environment-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-filesystem-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-heap-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-locale-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-math-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-multibyte-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-private-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-process-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-runtime-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-stdio-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-string-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-time-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\api-ms-win-crt-utility-l1-1-0.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Program Files\paint.net\SxS\X64\ucrtbase.dll, version=10.0.15063.137 (WinBuild.160101.0800)
    C:\Windows\system32\msvcp140.dll, version=14.00.24215.1 built by: VCTOOLSD14ULDR
    C:\Windows\system32\VCRUNTIME140.dll, version=14.00.24215.1 built by: VCTOOLSD14ULDR
    C:\Windows\system32\vcomp140.dll, version=14.00.24215.1 built by: VCTOOLSD14ULDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\3ee7bf33dd65f1c26bb44ae4c42f423d\System.Configuration.ni.dll, version=4.7.2558.0 built by: NET471REL1
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\74634289fb3ada3d7de17c71f06c2650\System.Xml.ni.dll, version=4.7.2558.0 built by: NET471REL1
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet7afaaa15#\0b0b17a4eac455c72aae8e9b51ad0795\PaintDotNet.Framework.ni.dll, version=4.21.6589.7045
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Data\60f89293698ba55f0c9bf4efdc2d9f9a\PaintDotNet.Data.ni.dll, version=4.21.6589.7045
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNetc8826574#\ace179d5a1330a9f2ead65eaad668b07\PaintDotNet.SystemLayer.Native.x64.ni.dll, version=4.21.6589.7045
    C:\Program Files\paint.net\PaintDotNet.SystemLayer.Native.x64.dll, version=4.21.6589.7045
    C:\Windows\system32\PROPSYS.dll, version=7.00.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23894_none_145eb2808b8d6928\gdiplus.dll, version=6.1.7601.23894 (win7sp1_ldr.170816-0600)
    C:\Windows\system32\dxgi.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\dwmapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\WINTRUST.dll, version=6.1.7601.23769 (win7sp1_ldr.170412-0600)
    C:\Windows\system32\CRYPT32.dll, version=6.1.7601.23769 (win7sp1_ldr.170412-0600)
    C:\Windows\system32\MSASN1.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.7.2563.0 built by: NET471REL1
    C:\Windows\system32\profapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CLBCatQ.DLL, version=2001.12.8530.16385 (win7_rtm.090713-1255)
    C:\Windows\System32\UIAnimation.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Effects\05692a423d6258db840ba370730c293c\PaintDotNet.Effects.ni.dll, version=4.21.6589.7045
    C:\Windows\system32\dwrite.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\comctl32.dll, version=6.10 (win7_rtm.090713-1255)
    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18837_none_a4d981ff711297b6\comctl32.dll, version=6.10 (win7_rtm.090713-1255)
    C:\Windows\system32\WindowsCodecs.dll, version=6.2.9200.21830 (win8_ldr.160407-0600)
    C:\Windows\system32\wtsapi32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\WINSTA.dll, version=6.1.7601.18540 (win7sp1_gdr.140716-1508)
    C:\Windows\system32\d2d1.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\d3d11.dll, version=6.2.9200.16570 (win8_gdr.130327-1526)
    C:\Windows\system32\D3D10Warp.dll, version=6.2.9200.17033 (win8_gdr.140615-1509)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PresentationCore\da3afceeaa18b3dc2358cf0b5d5e0e55\PresentationCore.ni.dll, version=4.7.2563.0 built by: NET471REL1
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll, version=4.7.2563.0 built by: NET471REL1
    C:\Windows\system32\MSVCP120_CLR0400.dll, version=12.00.52519.0 built by: VSWINSERVICING
    C:\Windows\system32\oleacc.dll, version=7.0.0.0 (win7sp1_gdr.110826-1504)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\Accessibility\6600112482f10b4bdafafb700741de03\Accessibility.ni.dll, version=4.7.2558.0 built by: NET471REL1
    C:\Windows\system32\SetupApi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CFGMGR32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\DEVOBJ.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\psapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
------------------------------------------------------------------------------

 

Link to comment
Share on other sites

On 2/19/2018 at 7:32 AM, Zyklon Beekeeper said:

System.BadImageFormatException: Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest. File name: 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

 

Looks like your installation of the .NET Framework is broken. Try reinstalling it:

https://dotnet.microsoft.com/download/thank-you/net48

Edited by toe_head2001
Link to comment
Share on other sites

  • 1 year later...

I started getting this after updating to Paint.Net 4.2.6.

The solution was to edit the config file and comment-out the line (binding redirect on line 209) which was forcing it to use the old .NET "System.Runtime" (4.1.2.0), instead of allowing paint.net to use the latest System.Runtime.

 

Link to comment
Share on other sites

2 hours ago, TGolisch said:

I started getting this after updating to Paint.Net 4.2.6.

The solution was to edit the config file and comment-out the line (binding redirect on line 209) which was forcing it to use the old .NET "System.Runtime" (4.1.2.0), instead of allowing paint.net to use the latest System.Runtime.

 

 

That's super useful information, thanks!

 

Could you ZIP up your installation directory and send it to me? I'm trying to figure out an automatic fix for this. I did get a someone's installation fixed by running PdnRepair, but I'm pretty sure something is wonky with the MSI that Visual Studio is generating. I think there's a file that's missing or something.

 

You can e-mail it to me, https://www.getpaint.net/contact.html , or even just post it here, maybe use a cloud storage thingy like Google Drive, OneDrive, DropBox.

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

Also, @TGolisch, do you know if you were working with images of type DDS, TGA, or WebP?

 

I have another hypothesis that the Paint.NET shell extension, which provides thumbnails for these in Explorer, was still loaded in memory and was locking that file (System.Runtime.dll). I'm betting that the copy of System.Runtime.dll you have is dated 2019-03-18 with a size of 37 KB, version 4.0.0.0, which is what came with v4.2.5. However, v4.2.6 has a copy that is dated 2019-09-25 of size 29 KB, version 4.1.2.0.

 

I don't believe there's any harm in leaving your edited .exe.config in place, but it shouldn't be necessary once this is all figured out.

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.

 Share

×
×
  • Create New...