Jump to content

PDN file will not open

Recommended Posts

Hi all,


I was working on a file yesterday and saved it as a PDN, but today when I tried to open it, I got an error message that said this:


   System.FormatException: file is not a valid paint.net document
      at PaintDotNet.Document.FromStream(Stream stream) in D:\src\pdn\src\Data\Document.cs:line 1328
      at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 496
      at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158


I'm not sure why this is happening. I'm able to open other PDN files that I created before the update, so I'm wondering if that may be the cause of the issue. In any case, I was hoping someone may be able to help.



Link to comment
Share on other sites

Check the file extension. It is possible to have a couple of different extensions that mess up the loading of the file.


This plugin might help diagnose the file format:


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.

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