MicrowaveHacker Posted September 16, 2019 Share Posted September 16, 2019 When I use copy and paste it crashes the crash log says: Application version: paint.net 4.2.1 System.Runtime.Serialization.SerializationException: Exception thrown by worker thread ---> System.AggregateException: One or more errors occurred. ---> System.IO.Compression.ZLibException: The underlying compression routine could not be loaded correctly. ---> System.TypeInitializationException: The type initializer for 'NativeZLibDLLStub' threw an exception. ---> System.DllNotFoundException: clrcompression.dll at System.IO.Compression.ZLibNative.ZLibStreamHandle.NativeZLibDLLStub.LoadZLibDLL() at System.IO.Compression.ZLibNative.ZLibStreamHandle.NativeZLibDLLStub..cctor() --- End of inner exception stack trace --- at System.IO.Compression.ZLibNative.ZLibStreamHandle.DeflateInit2_(CompressionLevel level, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy) at System.IO.Compression.DeflaterZLib.DeflateInit(CompressionLevel compressionLevel, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy) --- End of inner exception stack trace --- at System.IO.Compression.DeflaterZLib.DeflateInit(CompressionLevel compressionLevel, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy) at System.IO.Compression.DeflaterZLib..ctor(CompressionLevel compressionLevel) at System.IO.Compression.DeflateStream.CreateDeflater(Nullable`1 compressionLevel) at System.IO.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen) at System.IO.Compression.GZipStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen) at PaintDotNet.Serialization.GZipBlockAccelerator.GetGZipBytes(Byte* pbData, Int64 length) in D:\src\pdn\src\Core\Serialization\GZipBlockAccelerator.cs:line 31 at PaintDotNet.Serialization.GZipBlockAccelerator.WriteGZipBytesCore(Stream output, Byte* pbData, Int64 length) in D:\src\pdn\src\Core\Serialization\GZipBlockAccelerator.cs:line 87 at PaintDotNet.MemoryBlock.SerializeChunk(CancellationToken cancelToken, UInt32 chunkNumber, Int64 chunkOffset, UInt32 chunkSize, DeferredFormatter formatter) in D:\src\pdn\src\Core\MemoryBlock.cs:line 892 at PaintDotNet.MemoryBlock.<>c__DisplayClass51_1.<PaintDotNet.Serialization.IDeferredSerializable.FinishSerialization>b__0() in D:\src\pdn\src\Core\MemoryBlock.cs:line 834 at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at PaintDotNet.MemoryBlock.PaintDotNet.Serialization.IDeferredSerializable.FinishSerialization(Stream output, DeferredFormatter formatter) in D:\src\pdn\src\Core\MemoryBlock.cs:line 842 --- End of inner exception stack trace --- at PaintDotNet.MemoryBlock.PaintDotNet.Serialization.IDeferredSerializable.FinishSerialization(Stream output, DeferredFormatter formatter) in D:\src\pdn\src\Core\MemoryBlock.cs:line 848 at PaintDotNet.Serialization.DeferredFormatter.FinishSerialization(Stream output) in D:\src\pdn\src\Core\Serialization\DeferredFormatter.cs:line 122 at PaintDotNet.Document.SaveToStream(Stream output, IOEventHandler callback) in D:\src\pdn\src\Data\Document.cs:line 1532 at PaintDotNet.FileType.Save(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback, Boolean rememberToken) in D:\src\pdn\src\Data\FileType.cs:line 276 at PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass247_2.<DoSave>b__3() in D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 2809 at PaintDotNet.Functional.Func.Try(Action f) in D:\src\pdn\src\Base\Functional\Func.cs:line 174 Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 16, 2019 Share Posted September 16, 2019 5 minutes ago, MicrowaveHacker said: System.DllNotFoundException: clrcompression.dll You need to reinstall the .NET Framework: https://dotnet.microsoft.com/download/thank-you/net48 Quote June 7th, 2023: Sorry about any broken images in my posts. The underlying DNS issue should be resolved soon. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MicrowaveHacker Posted September 17, 2019 Author Share Posted September 17, 2019 How do i uninstall the .net framework in the first place? Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted September 17, 2019 Share Posted September 17, 2019 Reinstall it without removing the existing installation. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
MicrowaveHacker Posted September 17, 2019 Author Share Posted September 17, 2019 I tried to do this but it just says .NET Framework 4.8 or a later update is already installed on this computer. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 17, 2019 Share Posted September 17, 2019 7 minutes ago, MicrowaveHacker said: I tried to do this but it just says .NET Framework 4.8 or a later update is already installed on this computer. You must have Win 10 v1903. In this case, you'll need to run the System File Checker: https://support.microsoft.com/en-us/help/4026529/windows-10-using-system-file-checker Quote June 7th, 2023: Sorry about any broken images in my posts. The underlying DNS issue should be resolved soon. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MicrowaveHacker Posted September 17, 2019 Author Share Posted September 17, 2019 Thank you for your help. my paint.net is working again Quote 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.