Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Specified cast is not valid DBSync ERROR

(0) ShareShare
ReportReport
Posted on by 239

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans