Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to troubleshoot DB sync and MSSQL database failing in a failover configruation?

Solved1.44K views17th September 2020Failover MSSQL
2
João Pereira [SLC]120 16th September 2020 0 Comments

Hi,

Running on DataMiner 9.6 CU2 with an MSSQL local database, I have the following errors on the Failover Status window:

Expanding the message on the “RTE count” row, it shows:

Restarting this agent (EMDMA016006PS) worked well and, as expected, the automatic switch over was done correctly. The agent acting now as the online one (EMDMA0106005PS) is working fine, however the backup continues to show the same errors:

What could be the cause for the Invalid object name ‘SLENUMVALUES’?

Also, what could be causing the Query replication_state failed:…” error when agent EMDMA016006PS is the online one?

Thank you for your help.

João Pereira [SLC] Selected answer as best 17th September 2020

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
6
Brent Alleweireldt [SLC]1.61K Posted 16th September 2020 0 Comments

Let’s tackle each error separately:

  • “Query replication_state failed:…”: is the result of failure on “SELECT id, grp, query FROM replication_state ORDER BY id ASC limit 100”. This can be due to a timeout which will be logged in SLDatabase[SLDataminer].txt or a general database failure, which you can check by running the query manually on the DB.
  • Invalid object name ‘SLENUMVALUES’: is the result of a failure on “SELECT COUNT(*) FROM SLENUMVALUES”. This table should be created during DataMiner installation and see very little write activity. Having errors here usually means the table does not exist, which means that the database usually was not created correctly. SLDatabase[….].txt will log errors here. Checking the DB is also a good idea.
  • Unable to cast COM….: Not related to the database, this means that the process checking the Failover health cannot communicate with SLWatchdog. SLErrors will definitely have something to say about this. This one seems to be due to incorrect registering of services/DLL during an upgrade.

Other useful sources of information are:

  • SLFailover.txt
  • SLDatabase[…..].txt
  • SLDBConnection.txt
  • SLErrors.txt
  • SLNet.txt (during switching)
  • The database itself
João Pereira [SLC] Selected answer as best 17th September 2020
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs