Can't compile word.docx but I can compile rtf. Why?

I get this error report. I’m using Window 11 with long file path enabled. And also just started using Windows Defender.

Error:

Unhandled Exception: System.IO.FileNotFoundException: Could not find file ‘C:\Users\story\Documents\1 WRITING PROJECTS\1 LEMONS\1 THE BEACH BAR plottr\COMPILES\msword test.docx’.
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)
at Aspose.Words.Document.(Stream , String , SaveOptions )
at ScrivenerFileConverter.Program.Main(String args)

Scrivener’s native format is RTF, therefore there’s no format converter involved. To compile to DOCX it uses the Aspose converter, and it looks to me as if your antivirus might be blocking that.

But I’m a Mac-user, so that’s just a guess.

Mark

1 Like

Further to @xiamenese 's sage comments … a very good way to get stuff into Word is to compile to RTF which is a format Word readily accepts, and has done for decades. Then in Word, “save as” to DOCX. Microsoft is the world’s expert at DOCX format.

1 Like