While trying to create or rename a Ghost Job and or Task, the follow error is seen:
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
In another instance of this same issue, the Agent Upgrade jobs automatically created by GSS had no tasks (blank) after an upgrade and the Windows Event Viewer logs were full of the same error as shown here:
The machines wouldn't check in because their agents wouldn't upgrade.
Scenario 1: attaching the GSS database from another SQL server but using a different account than the original one:
Scenario 2: upgrading using a different SQL account: (for example, they used SA originally and they were using nt authentication during the upgrade).
GSS 3.3 RUx
The customer's problem is an incorrect user configuration in the 'eXpress' database:
Try to perform the following steps to resolve this issue:
In situation, SQL Express 2022 was installed locally with the Ghost Solution Suite server. SQL Server Express was installed correctly using a domain user account that is a local administrator on the server. To resolve this issue, SQL Express was removed and reinstalled, choosing Mixed Mode during the installation. This allows for the SA account to be used. SQL Express was still installed using the domain user account, and the error described in this article occurred.
To resolve, the following command was executed:
user [eXpress]
go
exec sp_changedbowner 'sa'
go
This will change the owner of the eXpress database from the domain user to the SA account. This is the only change that was required.
When comparing the SA account to the domain user, not apparent differences were present. Therefore, it was determined something environmental had caused this issue. Using SA as the database owner should be just fine.