We have an antiquated local archive process for one of our applications. It uses a local database to “opendocumentasurl” and save the mime’ed attachment in a document.
It has worked for years but it no longer works on our R8.5.1 client machine. Everything looks like it worked but the attachment cannot be opened on the web. It opens in Notes.
Error message (as shown to the browser):Error 200. HTTP Web Server: Lotus Notes Exception - Corrupted LZ1 Encoded Data
Error message (in the log): HTTP Web Server: Lotus Notes Exception - Corrupted LZ1 Encoded Data
I’ve unchecked “Use Lz1 compression” on all of the databases involved in the archive process.
It’s the oddest thing. Notes can open the file in the browser but the Domino rendering dies. If I try to right click and save the web/domino attachment I still get a 200 error.
Resolving http error: Corrupted LZ1 Encoded DataTo resolve you need to run compact twice with switches. Use this procedure.
If you want to see the compact progress on the console as it processes each document you first need to add the following dynamic INI parameter: DEBUG_TRACE_LZ1=1 - be sure to remove this when complete.
issue the following console commands (NOTE: quotes around db filepath only required if there are spaces present in the path):
drop “<database>.nsf”
dbcache flush
load compact “<database>.nsf” -C -ZD
load compact “<database>.nsf” -C -ZU
ZD will downgrade the compression of files from LZ1 to Huffmann