I'm using LeadTools v20 HTML5 Document Viewer
with Asp.Net Core
backed Document Service Library
which was available in their examples project in the installation directory. This works fine with PDF
files or other file formats mentioned in their site. But I'm getting LeadTools.RasterException
error with a message as invalid file format for .docx
,.xlsx
,.pptx
but opens .doc
,.xls
,.ppt
Files having extension ending with x
(mostly Microsoft office documents) are not getting loaded in development mode. But all these works when the application is published. Any suggestions on where I'm going wrong?
Here is the screen print of the exception and error.
Please assist me if I'm wrong