SketchUp: Error CFileException 2 while saving a file

Sometimes, when you try to save changes in a Sketchup file, the following error can happen:

The CFileException 2 error can happen for various reasons, including:

  1. none,
  2. generic,
  3. fileNotFound,
  4. badPath,
  5. tooManyOpenFiles,
  6. accessDenied,
  7. invalidFile,
  8. removeCurrentDir,
  9. directoryFull,
  10. badSeek,
  11. hardIO,
  12. sharingViolation,
  13. lockViolation,
  14. diskFull,
  15. endOfFile

You may be feeling kind of lost now… but don’t worry. To try and solve this problem, see if your situation fits into any of the causes below:

  1. The file that you saved is in a Dropbox/OneDrive/Amazon Cloud folder and it’s being synchronized as you edit it?
  2. You have write permission (can you save files) in the folder you want?
  3. The disk you are using has enough free space for this file?
  4. Your hard drive is showing ‘health problems’ or any other signs of imminent death?

Answered Yes to any of these questions? Then try to save the file into another disk or folder. Sketchup doesn’t like working with files that are on a network/shared folder or are being using by other programs.

If you use a cloud storage service (Dropbox, OneDrive, etc), it’s better to use it as a backup location. In my experience, SketchUp + files on the network (or cloud storage) = problem.

I hope it helped.

The following two tabs change content below.
Software Architect and Backend Developer (almost Fullstack), I usually work with C#, PowerShell, Python, Golang, bash and Unity (this one is more for a hobby). I'm always looking for something new to learn, adding new tools to my utility belt.
Posted in Software, Support and tagged , .