Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Specified cast is not valid DBSync ERROR

(0) ShareShare
ReportReport
Posted on by 237

Hello All,

I have D365 on premise deployment latest update and version.

I have restore database from my PROD environment to Stage environment I am trying to sync after restore i got this error below:

System.InvalidCastException: Specified cast is not valid.
at Microsoft.Dynamics.AX.Framework.Database.Monitor.BlockingMonitor.ParseData(SqlDataReader dataReader, ExecutionTimeoutMonitor executionTimeoutMonitor)
at Microsoft.Dynamics.AX.Framework.Database.Monitor.Monitor`1.FetchData(Object state)
The operation is not valid for the state of the transaction.

The user i am trying to start the sync with is system admin on SQL so i believe it's not a role issue.

Any help would be appreciated,

Regards

Maen 

  • Suggested answer
    Specified cast is not valid DBSync ERROR
    Would you mind speculating as to why you do not have posted what variety of issue you believe it might be?
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Specified cast is not valid DBSync ERROR

    Maen.Moutaz 

    Microsoft has an augmented reality product for the Hololens called "D365 Guides". You have posted your question in the D365 Guides forum.

    I don't work for microsoft but I think you will want to find the forum for the specific product your are deploying because it won't get answered in this forum.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,861 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,540 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans