Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

G/L Entry table date format issue when trying to restore a database

(0) ShareShare
ReportReport
Posted on by

The G/L Entry table contains a field with a date value that cannot be used with SQL Server.

*This post is locked for comments

  • Suggested answer
    4BzSoftware Profile Picture
    6,073 on at
    RE: G/L Entry table date format issue when trying to restore a database

    Hi Ajifatou,

    It seems your backup contains 0D (denotes date January 1, 0000) that is outside the valid range for a SQL DATETIME, a run-time error occurs. The earliest valid date in SQL Server for a DATETIME is 01-01-1753 00:00:00:000.

    To solve the issue:

    1. Restore the backup to a Native NAV database (*.fdb file).

    2. Convert January 1, 0000 to 01-01-1753 00:00:00:000.

    3. Backup again (*.fbk file).

    4. Restore the backup to SQL version.

  • Suggested answer
    Mouli Kaku Profile Picture
    517 on at
    RE: G/L Entry table date format issue when trying to restore a database

    1) may be Check the regional options Advanced, Language for Non-unicode programs and ensure they are the same on backup and restore machines

    2) Check the data format make sure both systems have same format and try

  • Community Member Profile Picture
    on at
    RE: G/L Entry table date format issue when trying to restore a database

    Hi Mouli, I have tried this before posting but currently my database is empty am trying to restore a database backup i took earlier and is giving that error during the restoration.

  • Suggested answer
    Mouli Kaku Profile Picture
    517 on at
    RE: G/L Entry table date format issue when trying to restore a database

    Please use try steps from Saurav's Blog

    https://saurav-nav.blogspot.co.uk/2012/12/nav-2013-upgrade-part-iv-sql-migration.html

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans