Pavel
-
Posts
2 -
Joined
-
Last visited
Posts posted by Pavel
-
-
Hi.
When re-saving the file an error occurs:System.AggregateException: Произошла одна или несколько ошибок. ---> System.IO.IOException: Параметр задан неверно.
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)в System.IO.FileStream.get_Length()в PaintDotNet.IO.GuardedStream.get_Length() в D:\src\pdn\src\Base\IO\GuardedStream.cs:строка 291в System.Drawing.UnsafeNativeMethods.ComStreamFromDataStream.Seek(Int64 offset, Int32 origin)--- Конец трассировки внутреннего стека исключений ---в PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass244_0.<DoSave>b__2() в D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspace.cs:строка 3005в PaintDotNet.Functional.Func.Try(Action f) в D:\src\pdn\src\Base\Functional\Func.cs:строка 174---> (Внутреннее исключение #0) System.IO.IOException: Параметр задан неверно.в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)в System.IO.FileStream.get_Length()в PaintDotNet.IO.GuardedStream.get_Length() в D:\src\pdn\src\Base\IO\GuardedStream.cs:строка 291в System.Drawing.UnsafeNativeMethods.ComStreamFromDataStream.Seek(Int64 offset, Int32 origin)<------> (Внутреннее исключение #1) System.IO.IOException: Неверная функция.в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)в System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)в PaintDotNet.IO.GuardedStream.Write(Byte[] buffer, Int32 offset, Int32 count) в D:\src\pdn\src\Base\IO\GuardedStream.cs:строка 442в System.Drawing.UnsafeNativeMethods.ComStreamFromDataStream.Write(Byte[] buffer, Int32 length)<---You have to save the file with a new name.
On the old version (I think 3.5.4) such error was not.What kind of way I know. The D drive exists. The program is installed in "C:\Program Files\Paint.NET\PaintDotNet.exe"
D:\src\pdn\src\Base\IO\GuardedStream.cs
D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspace.cs
...
Run as Administrator did not return any results.
Thank you.
Tehnical information:
Application paint.net версия 4.0.9 (Final 4.9.5848.30436)
Build Date 5 января 2016 г.Аппаратное ускорение отрисовки (GPU) TrueАнимация TrueDPI 96,00 (1,00x scale)Язык ruOS Windows 7 Service Pack 1 (6.1.7601.65536).NET Runtime 4.0.30319.42000Physical Memory 5 119 MBCPU AMD Athlon 64 X2 Dual Core Processor 5000+Architecture x64 (64-bit)Process Mode 64-bitSpeed ~2611 MHzCores / Threads 2Features DEP, SSE, SSE2, SSE3Video Card NVIDIA GeForce 9500 GTDedicated Video RAM 493 MBDedicated System RAM 0 MBShared System RAM 2 303 MBVendor ID 0x10DEDevice ID 0x0640Subsystem ID 0x604619DARevision 161LUID 0x000086B9Flags NoneOutputs 1
Error when re-saving
in Troubleshooting & Bug Reports
Posted
Unbelievable... Really, I have a faulty HDD... want to copy the image to another HDD as the problem disappears and everything is perfectly maintained.
Strange, but the standard Microsoft Paint and Paint.NET ver 3.5.4 worked fine without giving any errors.
Thank You Rick!