Thanks for the advice. I have tried a -FDELETE but i still seem to have the same issue where all of the options are greyed out when you right click any update that is available. Please see error below. I upgraded the version of SQL to 2022 today hoping that would resolve the issue but unfortunately not.
Running out of idea's now?
Cheers
.\CMUpdateReset.exe -FDELETE -S "blankedforsecurity: -D CM_LD1 -P DOOBEC76-353F-485E-8FD7-4DB70020D01A
[Warning]
You can use this tool when an in-console update has not yet installed and is in a failed state. A failed state can mean the update download remains in progress but is stuck and taking an excessively long time, perhaps hours longer than your historical expectations for update packages of similar size. It can also be a failure to replicate the update to child primary sites. When you run the tool, it runs against the update that you specify. If the package is in pre-installation state, it will delete it. If package is in replicating state, it will reinitiate replication. Are you sure you want to run the tool? Enter Y for Yes and N for No.
y
Running CMUpdateReset.exe tool ...
Verified that the SQL server FQDN belongs to the top level site.
Verified that the site servers run version 1606 or later.
Verified that replication is active.
[Error]
0xSystem.Data.SqlClient.SqlException (0x80131904): Conversion failed when converting from a character string to uniqueidentifier.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
at System.Data.SqlClient.SqlDataReader.Read()
at System.Data.SqlClient.SqlCommand.CompleteExecuteScalar(SqlDataReader ds, Boolean returnSqlValue)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at Microsoft.ConfigurationManagement.ResetTool.DatabaseProxy.GetPackageState(String packageGuid)
ClientConnectionId:b6e5cd81-a963-436c-809d-8dd72e2ac130
Error Number:8169,State:2,Class:16 - Conversion failed when converting from a character string to uniqueidentifier.
Package is in pre-installation state. Attempting to clean up the package.
[Error]
0x80131509 - The connection was not closed. The connection's current state is open.