Consultor Eletrônico



Kbase 19885: Possible Causes for Error DLL.WriteFiles Error:WRITE FAILURE
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/7/2003
SUMMARY:

This solution identifies possible causes and resolutions for the error:

DLL.WriteFiles Error:WRITE FAILURE (file name)

when you are using Roundtable. It is directly related to Solution 67 in the Starbase Knowledge Base.

EXPLANATION:

The error usually means that there is a problem with writing the file
to the directory. The most common cause is when the Roundtable session
has read permission but not write permission, allowing it to be able
to load in the file but not write it back out again.

SOLUTION:
Check permissions, and try to assign the object again to see if
it was a one-time issue with the drive mapping. Next, run the following program from the Procedure Editor as a test:

OUTPUT TO j:/ws-dir/mod-dir/temp.txt.
DISPLAY "testing".
OUTPUT CLOSE.

with J:\ and the other directories pointing to where the object in question resides.

If the error message also contains:

TRUNCATED BINARY ENCODED FILE

it usually means that you loaded in a binary object that is 0 bytes in size. After un-encoding a 0 byte file, Roundtable then cannot
un-decode it because the file is empty.
A 0 byte object can happen if you created the object, opened and saved
the empty file in the Procedure Editor, then forgot to replace the 0
byte file with one you create in an editor outside of Roundtable.
It can also happen if you move a .wrx file. The UIB tells Roundtable where to find the .wrx file. If you move the .wrx file, Roundtable cannot find it to check it in.