Jump to content

I need help.. I can't open this file!


Recommended Posts

It won't let me it says this: 

System.IO.FileNotFoundException: Could not find file 'C:\Users\owner\Downloads\Aurora Face Sketch Colored.jpg'.
 
File name: 'C:\Users\owner\Downloads\Aurora Face Sketch Colored.jpg'
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
 
   at PaintDotNet.Controls.DocumentWorkspace.LoadDocument(Control owner, String fileName, FileType& fileTypeResult, ProgressEventHandler progressCallback) in d:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 3185
Link to comment
Share on other sites

Hello iLink. Welcome to the forum.

Looks like you're trying to open a file using File > Open Recent and the file cannot be found. You may have deleted it or renamed it. Either will cause paint.net to fail to locate it.

You may have more luck opening the file using File > Open and navigating to the correct location or looking for the changed file name.

Link to comment
Share on other sites

Hello iLink. Welcome to the forum.

Looks like you're trying to open a file using File > Open Recent and the file cannot be found. You may have deleted it or renamed it. Either will cause paint.net to fail to locate it.

You may have more luck opening the file using File > Open and navigating to the correct location or looking for the changed file name.

I'll try.

System.ArgumentException: Parameter is not valid.
 
   at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
 
   at PaintDotNet.Data.JpegFileType.OnLoad(Stream input) in d:\src\pdn\paintdotnet\src\PaintDotNet\Data\JpegFileType.cs:line 78
 
   at PaintDotNet.FileType.Load(Stream input) in d:\src\pdn\paintdotnet\src\Data\FileType.cs:line 477
 
   at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in d:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 158
 
Didn't work.
Link to comment
Share on other sites

Something is definitely amiss! That looks like a corrupt file.

Did you rename it or save it under a new file type when you last edited it?

Link to comment
Share on other sites

Yup. BoltBait and I suspected* that the file extension (jpg) was incorrect.

This can occur when you manually type in a file extension rather than selecting it from the supplied list. Sometimes both extensions can be added.

The plugin BoltBait linked to attempts to identify the correct file type. Looks like you have it sorted now.

* BoltBait and I are psychically linked :mrgreen:

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.

×
×
  • Create New...