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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Stack trace: Invalid range is specified in validTimeState. Date1 is greater than Date2.

(0) ShareShare
ReportReport
Posted on by 35

Hi,

we are facing this issue While terminating an employee;

Stack trace: Invalid range is specified in validTimeState. Date1 is greater than Date2.

Any idea? 

how to solve it

thanks;  

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at
    RE: Stack trace: Invalid range is specified in validTimeState. Date1 is greater than Date2.

    Hi Nour,

    Could you please provide the Employment start date and Employment end date while terminating the employee?

  • Nour Othman Profile Picture
    35 on at
    RE: Stack trace: Invalid range is specified in validTimeState. Date1 is greater than Date2.

    Employment start date: 1st Oct 2020, End date 31 Mar 2022

  • Pedro Romero Narvaez Profile Picture
    45 on at
    RE: Stack trace: Invalid range is specified in validTimeState. Date1 is greater than Date2.

    Hello, we are facing the same problem.

    were you able to solve it? If so, can you share the solution?

    Thank you

  • Nour Othman Profile Picture
    35 on at
    RE: Stack trace: Invalid range is specified in validTimeState. Date1 is greater than Date2.

    I'm not sure, but after searching, the employment history end date is greater than the never end date which is 31-12-2154. I think only technicals could solve the issue

  • Dynamics Community 101 Profile Picture
    310 on at
    RE: Stack trace: Invalid range is specified in validTimeState. Date1 is greater than Date2.

    Hi Nour,

    This is a valid time state table, ValidToDate is less than ValidFromDate, that's why you are facing this error.

    You need to debug to check the record issue

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,157

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 883 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 674 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans