locked
received error: Remove-SCOMDisabledClassInstance RRS feed

  • Question

  • Hi Team,

    Upon running the below command on management server we received the below error message kindly assist on this.

    "Remove-SCOMDisabledClassInstance"

    Error

    Remove-SCOMDisabledClassInstance : Error 777980004, severity 16, state 1 was raised, but no message with that error
    number was found in sys.messages. If error is larger than 50000, make sure the user-defined message is added using
    sp_addmessage.
    At line:1 char:1
    + Remove-SCOMDisabledClassInstance
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (Microsoft.Syste...nstancesCommand:RemoveSCDisabledClassInstancesComma
       nd) [Remove-SCOMDisabledClassInstance], UnknownDatabaseException
        + FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.OperationsManagerV10.Commands.RemoveSCDisabledClas
       sInstancesCommand

    Regards,

    Kumar B

    Wednesday, July 29, 2020 6:53 AM

All replies

  • Hi,

    Did you try running the cmdlet many times, and on different SCOM management servers?

    Here's a thread discussing the same issue:
    Unable to run Remove-SCOMDisabledClassInstance

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    Wednesday, July 29, 2020 7:14 AM
  • That's likely because you moved the SCOM DB to another server at some point and something went wrong in the process.

    Read here on how to fix it (careful, this link is for 2016 and 2019 only, there is another article in kevin's blog for 2012 R2 ) : https://kevinholman.com/2017/08/27/scom-2016-event-18054-errors-in-the-sql-application-log/

    Wednesday, July 29, 2020 9:27 AM
  • Hello Kumar,

    Research and find a similar error with us.

    https://blog.topqore.com/scom-sql-error-18054/ 

    Note: Non-Microsoft link, just for the reference.

    We can run a SQL script that inserts the error descriptions of these into the system.

    https://gallery.technet.microsoft.com/scriptcenter/8ce33853-36d9-4729-abc3-d86eb2c2fb2c/view/Reviews

    Hope it can help.

    Best regards.

    Crystal



    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, July 30, 2020 3:50 AM
  • Hi,
     
    Long time not heard from you. Here, please let me write a summary for our thread:
     
    Issue Definition:
    ====================
    Get error when run command "Remove-SCOMDisabledClassInstance"
    Error
    Remove-SCOMDisabledClassInstance : Error 777980004, severity 16, state 1 was raised, but no message with that error number was found in sys.messages. If error is larger than 50000, make sure the user-defined message is added using sp_addmessage.
     
    Suggestion:
    ====================
    That's likely because you moved the SCOM DB to another server at some point and something went wrong in the process.
     
    Some articles for the reference:
    https://social.technet.microsoft.com/Forums/Lync/en-US/ac22a255-eafb-4526-a9e6-4b27a6445193/unable-to-run-removescomdisabledclassinstance?forum=operationsmanagergeneral
    https://gallery.technet.microsoft.com/scriptcenter/8ce33853-36d9-4729-abc3-d86eb2c2fb2c/view/Reviews
    https://kevinholman.com/2017/08/27/scom-2016-event-18054-errors-in-the-sql-application-log/
    https://blog.topqore.com/scom-sql-error-18054/
    Note: Non-Microsoft link, just for the reference.
     
    Thanks and have a nice day!
     
    Best regards.
    Crystal


    "SCOM" forum will be migrating to a new home on   Microsoft Q&A!
      We invite you to post new questions in the "SCOM" forum's new home on   Microsoft Q&A!
      For more information, please refer to the sticky post.

    Tuesday, August 18, 2020 7:43 AM