Hello Rajkishore, According to Nauman Akbar
I have experienced this same error but do not recall exactly how it was solved. Here are some cues you may try:
- Is MS Office installed on the server? You have to ensure that the file extension you are using as template, can be opened on the server for editing. Usually it mean MS Office but can be some other program e.g. PDF writer.
- When using templates for MS Office, my advice would be to not use the default template format, instead use the regular file format (e.g. docx instead of dotx for Word template files). I could not make the dotx file work properly.
- Ensure that the URL you are using for storing the file is valid. To be certain, put the folder URL is the browser navigation bar and see if it opens fine. If not, you have an issue with your file location.
You can visit the full article here