web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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 

I have the same question (0)
  • Community Member Profile Picture
    on at

    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.

  • Suggested answer
    CU27040913-7 Profile Picture
    2 on at
    Would you mind speculating as to why you do not have posted what variety of issue you believe it might be?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 51 Super User 2026 Season 1

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#3
Nagaraju_Matta Profile Picture

Nagaraju_Matta 50

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans