Hi Bonobo Git Server forum,
For some text files we get the following disclaimer when trying to preview the file: "Preview of this file is not supported.". For other text files it works.
The non-working text file has the following attributes:
- Over 100KB (also seen others that were above 40KB)
- The code in the text file is an export to a text file from the C/SIDE client used to develop for the Microsoft Dynamics NAV ERP system.
- The file encoding is ANSI
The following steps have been tried in the troubleshooting process:
- RAW view is not working either: "404 - File or directory not found" is thrown. If I change display to false in the query part of the URI, after having clicked RAW, I can download the file and I can see the content.
- Changing core.CRLF to false, as this is a Windows project and IIS is serving it, unfortunately did not fix it
- Checked that IIS is not blocking text files. It does not. It also works for other text files. Just to make sure.
I have attached an example text file, exported from NAV
I hope I made myself clear in the above and I'm looking forward to hear from you.
Regards Lars Bingchong