Scenario:
User is getting an error message as "Expense must be within expense date range of a Project" while entering expense against a Project.

Resolution:
Make the "Expense Incur End Date" field blank in the particular Project if the End date is not Confirmed or extend the end date.