Error calling ExcelConversionService.convertToExcel Failed to generate Excel file Internal Server Error
When trying to export to excel from any munis program, the following error is thrown:
Error calling ExcelConversionService.convertToExcel(): Failed to generate Excel file. Internal Server Error. Check error log for more info.
Munis ERP
Office Excel
Mail Merge
The munisOfficeExcel and munisOfficeMailMerge Applications were configured as virtual directories.
Please note this error has additional potential causes: Munis Unable to Export to Excel - Error calling ExcelConversionService.convertToExcel Failed to generate Excel file Internal Server Error
Connect to the Application Server as tylerservice
Open IIS
Expand the Default Web SiteÂ
Navigate the following directory: <env> → munis → munisOfficeMailMerge
Can also be munisOfficeExcel if mail merge is not an issue
Example: prod → munis → munisOfficeMailMerge
Right-click on munisOfficeMailMerge
Note: This is ONLY if the mail merge shows as a file icon. If it shows as a globe icon, that means it is already an application. Proceed to additional information for further troubleshooting.
Select convert to an application
Select the <env>.munisOfficeMailMerge application pool
Click ok
If browsing to the munisOfficeMailMerge URL out of IIS and into a browser, it should throw a 500 error.
At the end of the URL, append /swagger and the API Calls will populate for testing.
If the /swagger URL throws this error: HTTP Error 500.31 - ANCM Failed to Find Native Dependencies
Install server prequisites: Install Server Prerequisites in Tyler Deploy
If the issue persists after prerequisites are installed: Munis Unable to Export to Excel - Error calling ExcelConversionService.convertToExcel Failed to generate Excel file Internal Server Error