404 error when viewing documentation and document separators in System Explorer

404 error when viewing documentation and document separators in System Explorer

In System Explorer directory view nodes, documents are delivered by being copied to the PDF virtual directory on the server and are then served up from there. The system uses a database table (tab_VDir) in the root database to hold mappings between physical and virtual directories: the published file is written to the local physical directory then the associated virtual directory path is given to the client.

When documents appear in the System Explorer tree but result in a 404 error when opened, there is often a problem with the physical to virtual directory mapping: Often the default virtual directory of http://localhost:80/pdf/ is still in the table. 

To resolve this issue, in System Explorer find the "Physical to Virtual Directory Mapping" node. It's usually under the Design node. Edit the mapping and ensure that the virtual directory is correct. 

For Test, it should be https://insite-test.net/pdf

For Production, https://insite-host.net/pdf