Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Guides forum / Specified cast is not ...
Guides forum
Suggested answer

Specified cast is not valid DBSync ERROR

Posted on by 235

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 

Categories:
  • 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans