web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

"Not a legal OleAut date" report error while export to excel in Ax 2012

(0) ShareShare
ReportReport
Posted on by 1,602

Hi Folks,

We are facing a weird issue in Ax 2012 SSRS reports while exporting to excel. It throws the error which shown in the attached image. FixedAssetError.jpg . Only for one report we are facing this issue especially for export to excel. I can able to export successfully to PDF, WORD, CSV but not allowing for EXCEL. I tried to debug but it running on Framework shared services, so I couldn't. I checked in on-line to get any idea about the issue but no help and I couldn't understand the explanation available in the below link.

http://www.beejblog.com/2013/06/solved-ssrs-2012-excel-export-not-legal.html

Share your valuable ideas, Thanks in advance

// Vasanth Arivali

*This post is locked for comments

I have the same question (0)
  • VasanthArivali Profile Picture
    1,602 on at
    RE: "Not a legal OleAut date" report error while export to excel in Ax 2012

    Quick Update on the Issue:

    The report throws the error only if the date field doesn't contains the value. If I filter the report without datenull, I can able to export, but if I have any empty date field then getting this error.

    As it is an export, it don't consider about the values, why should it behave like that. I am unable to get.

    // Vasanth Arivali

  • Verified answer
    Abhishek_mishra Profile Picture
    405 on at
    RE: "Not a legal OleAut date" report error while export to excel in Ax 2012

    Is this a RDP report?

    while exporting to excel date value is converted to OLE Automation date and gets saved in excel sheet. This is how dates are handled in excel. Make sure you are not accedently asigning any garbage value /special character(invisible) to date field when no date is returned by the query.

    Check expression on the date field.

  • VasanthArivali Profile Picture
    1,602 on at
    RE: "Not a legal OleAut date" report error while export to excel in Ax 2012

    Hi Abishek,

    Thanks for you reply, Now we handling the date in RDP with proper validation.

    // Vasanth Arivali

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans