So I have been using paint.NET for about a month now. Used to work perfectly fine, but for some reason it randomly stopped working. If I tried to open it, nothing would launch. So I decided to uninstall it and install it again. However, when I tried to install it again, it gave me an error. I have tried re=installing it several times, update my .NET framework, and numerous other fixes I found online, but nothing worked. I hope you can help me. Here is the error
Unhandled exception has occured in a component in your application. If you click Continue, the application will ignore this error and attemp to continue.
..\Direct2D\D2DFactory.cpp (95) : hr = m_pFactory->CreateDCRenderTarget(NativeConversions::ToNative(renderTargetProperties).spDCRenderTarget); (PaintDotNet.Controls.PdnBanner).
Details
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
PaintDotNet.Direct2D.NoHardwareDeviceException (0x8899000B): ..\Direct2D\D2DFactory.cpp (95) : hr = m_pFactory->CreateDCRenderTarget( &NativeConversions::ToNative(renderTargetProperties), &spDCRenderTarget); (PaintDotNet.Controls.PdnBanner)
at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:line 89
at PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo)
at PaintDotNet.SystemLayer.Native.x64.Direct2D.D2DFactory.CreateDCRenderTarget(RenderTargetProperties renderTargetProperties)
at PaintDotNet.Direct2D.Proxies.Direct2DFactoryProxy.CreateDCRenderTarget(RenderTargetProperties renderTargetProps) in D:\src\pdn\src\Base\Direct2D\Proxies\Direct2DFactoryProxy.cs:line 75
at PaintDotNet.Controls.Direct2DControlHandler.RecreateRenderTarget(Boolean invalidateControl) in D:\src\pdn\src\Framework\Controls\Direct2DControlHandler.cs:line 426
at PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaintImpl(GdiPaintContext ctx) in D:\src\pdn\src\Framework\Controls\Direct2DControlHandler.cs:line 500
at PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaint(GdiPaintContext ctx) in D:\src\pdn\src\Framework\Controls\Direct2DControlHandler.cs:line 483
at PaintDotNet.Controls.Direct2DControl.OnGdiPaint(GdiPaintContext ctx) in D:\src\pdn\src\Framework\Controls\Direct2DControl.cs:line 347
at PaintDotNet.SystemLayer.GdiPaintHandler.OnWmPaint(Message& m) in D:\src\pdn\src\SystemLayer\GdiPaintHandler.cs:line 184
at PaintDotNet.SystemLayer.GdiPaintHandler.RelayWndProc(Message& m) in D:\src\pdn\src\SystemLayer\GdiPaintHandler.cs:line 233
at PaintDotNet.SystemLayer.GdiPaintControl.WndProc(Message& m) in D:\src\pdn\src\SystemLayer\GdiPaintControl.cs:line 130
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.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SetupFrontEnd
Assembly Version: 4.18.6473.28643
Win32 Version: 4.18.6473.28643
CodeBase: file:///C:/Users/hp/AppData/Local/Temp/PdnSetup/SetupFrontEnd.exe
----------------------------------------
PaintDotNet.Core
Assembly Version: 4.18.6473.28643
Win32 Version: 4.18.6473.28643
CodeBase: file:///C:/Users/hp/AppData/Local/Temp/PdnSetup/PaintDotNet.Core.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
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.6.1590.0 built by: NETFXREL2
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.6.1590.0 built by: NETFXREL2
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.18.6473.28643
Win32 Version: 4.18.6473.28643
CodeBase: file:///C:/Users/hp/AppData/Local/Temp/PdnSetup/PaintDotNet.Base.DLL
----------------------------------------
PaintDotNet.SystemLayer
Assembly Version: 4.18.6473.28643
Win32 Version: 4.18.6473.28643
CodeBase: file:///C:/Users/hp/AppData/Local/Temp/PdnSetup/PaintDotNet.SystemLayer.DLL
----------------------------------------
PaintDotNet.Framework
Assembly Version: 4.18.6473.28643
Win32 Version: 4.18.6473.28643
CodeBase: file:///C:/Users/hp/AppData/Local/Temp/PdnSetup/PaintDotNet.Framework.DLL
----------------------------------------
PaintDotNet
Assembly Version: 4.18.6473.28643
Win32 Version: 4.18.6473.28643
CodeBase: file:///C:/Users/hp/AppData/Local/Temp/PdnSetup/PaintDotNet.EXE
----------------------------------------
PaintDotNet.Resources
Assembly Version: 4.18.6473.28643
Win32 Version: 4.18.6473.28643
CodeBase: file:///C:/Users/hp/AppData/Local/Temp/PdnSetup/PaintDotNet.Resources.DLL
----------------------------------------
PaintDotNet.Data
Assembly Version: 4.18.6473.28643
Win32 Version: 4.18.6473.28643
CodeBase: file:///C:/Users/hp/AppData/Local/Temp/PdnSetup/PaintDotNet.Data.DLL
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PaintDotNet.SystemLayer.Native.x64
Assembly Version: 4.18.6473.28643
Win32 Version: 4.18.6473.28643
CodeBase: file:///C:/Users/hp/AppData/Local/Temp/PdnSetup/x64/PaintDotNet.SystemLayer.Native.x64.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.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.