Skip to content

Error Messages: "Cannot Open TIFF File for Writing" / "Cannot Create AVI File"#

Issue#

When attempting to record a sequence of images, you get the following error message:

Cannot open TIFF file for writing: C:\Users\(...)\Basler_(...).tiff : RuntimeException thrown (file 'tifffile.cpp', line 92)

When attempting to record an AVI video, you get the following error message:

Cannot create AVI file 'C:\Users\(...)\Basler_(...).avi' hr=-2147205009 (0x8004406f) : RuntimeException thrown (file 'aviwriterimpl.h', line 122)

Reason#

You don't have write access to the target directory.

Solution#

Make sure you have write permissions in the destination directory.

This may even apply to directories for which you'd normally expect write permissions, such as a subdirectory of your Desktop directory.

Back to Knowledge Articles