Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

500 Internal Server Error - Downloading macro enabled spreadsheets

User_7SP2LAug 28 2018 — edited Sep 5 2018

Hello All,

We are having an issue while downloading macro enabled spread sheets.

We get 500 Internal Server Error  "An unexpected error with the following message occurred: application/vnd.ms-excel.sheet.macroenabled.12"

We have Apex deployed on Tomcat server.

I did changed the setting in web.xml in <Tomcat_Home>/conf  as below, but the issue is not fixed.

When I checked from Developer tools in the browser i do see that the content type is set to 'text/html' instead of Content-Type:application/vnd.ms-excel.sheet.macroenabled.12 , I am not sure if this is causing the issue.

from:

<mime-mapping>

        <extension>xlsm</extension>

        <mime-type>application/vnd.ms-excel.sheet.macroenabled.12</mime-type>

    </mime-mapping>

To:

<mime-mapping>

        <extension>xlsm</extension>

        <mime-type>application/vnd.ms-excel.sheet.macroEnabled.12</mime-type>

    </mime-mapping>

Could you please let me know if anyone of you have encountered this issue and how to fix it.

Thanks

Ramesh.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2018
Added on Aug 28 2018
6 comments
541 views