Environment
- App Control Server: All Supported Versions
- Microsoft SQL Server: All Supported Versions
Symptoms
Cause
The schema version is incorrect in the DAS database
Resolution
- Log in to the application server as the Carbon Black Service Account.
- Use SQL Server Management Studio to execute the following query against the App Control Database:
use das;
select * from dbo.validation_schema;
select * from dbo.shepherd_configs where name = 'DBSchemaVersion';
If the two versions returned do not match your installed version: Continue the process below. - Create a full backup of the das database.
- Stop the App Control Server & Reporter services
- Using SQL Server Management studio, execute the following:
use das;
declare @version AS nvarchar(MAX) = (select value from dbo.shepherd_configs where name = 'ParityServerVersion');
update dbo.validation_schema set version = @version;
exec dbo.UpdateShepherdConfig 'DBSchemaVersion', @version;
- Verify the two versions returned now correctly match the version of the App Control Server installed.
use das;
select * from dbo.validation_schema;
select * from dbo.shepherd_configs where name = 'DBSchemaVersion';
- Complete the Server upgrade.
Additional Notes
This resolution can be used for any incorrect schema value not just %VersionFull%
Related Content
#AppControl