Unable to deploy Site to SaaS because of the Module

2025/09/18 9:11 AM

Hello,

I've created a module "Project Settings" in the CMS and when I deploy it to SaaS I'm getting this error.

Please check the link below for the documentation I followed to create the module.

Can someone help me what other things I need to run to fix this issue?

2025-09-18T06:44:12.1905529Z Running DB update and CD restore using 'MySite.dll'
2025-09-18T06:44:12.1908063Z ##[command]dotnet C:\__w\1\s\DeploymentPackage\MySite.dll --kxp-update-and-cd-restore --repository-path C:\__w\1\s\DeploymentPackage\$CDRepository --skip-confirmation
2025-09-18T06:44:54.4443843Z ##[command]{
2025-09-18T06:44:54.4445888Z   "shortMessage": "Command failed with exit code 1: dotnet C:\\__w\\1\\s\\DeploymentPackage\\MySite.dll --kxp-update-and-cd-restore --repository-path C:\\__w\\1\\s\\DeploymentPackage\\$CDRepository --skip-confirmation",
2025-09-18T06:44:54.4447079Z   "command": "dotnet C:\\__w\\1\\s\\DeploymentPackage\\MySite.dll --kxp-update-and-cd-restore --repository-path C:\\__w\\1\\s\\DeploymentPackage\\$CDRepository --skip-confirmation",
2025-09-18T06:44:54.4447904Z   "exitCode": 1,
2025-09-18T06:44:54.4448345Z   "stdout": "Azure AI Search configured with:
2025-09-18T06:44:54.4468008Z Service: mySite-search\r\nIndex: mySite-content\r\nStarting the update and restore process...\r\nUpdating database...\r\nExecuting SQL migration scripts...\r\nExecuting code migration scripts...\r\n\r\nSuccessfully updated database to 30.6.2 version.\r\n\r\nThe folder C:\\__w\\1\\s\\DeploymentPackage\\$CDRepository does not contain the Before.txt file. Skipping database migrations before the restore operation.\r\nRestoring objects...\r\nObject type Module: updating Project Settings\r\nObject type Module: Project Settings updated\r\nObject type Channel: updating Imagine Newcastle - Emails\r\nObject type Channel: Imagine Newcastle - Emails updated\r\nObject type Form class: updating Contact Form\r\nObject type Form class: Contact Form updated\r\nObject type Form class: updating Get in touch\r\nObject type Form class: Get in touch updated\r\nObject type Form class: updating Form (2025-09-15_07:37)\r\nObject type Form class: Form (2025-09-15_07:37) updated\r\nObject type Form class: updating Toolkit registration\r\nObject type Form class: Toolkit registration updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 45\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 45 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 46\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 46 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 42\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 42 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 471\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 471 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 459\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 459 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 475\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 475 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 463\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 463 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 44\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 44 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 47\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 47 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 48\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 48 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 61\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 61 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 467\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 467 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 43\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 43 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 469\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 469 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 1, MacroRuleID 130\r\nObject type Macro rule category: MacroRuleCategoryID 1, MacroRuleID 130 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 76\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 76 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 75\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 75 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 465\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 465 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 466\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 466 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 65\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 65 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 455\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 455 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 63\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 63 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 464\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 464 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 91\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 91 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 90\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 90 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 93\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 93 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 2, MacroRuleID 130\r\nObject type Macro rule category: MacroRuleCategoryID 2, MacroRuleID 130 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 3, MacroRuleID 468\r\nObject type Macro rule category: MacroRuleCategoryID 3, MacroRuleID 468 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 3, MacroRuleID 476\r\nObject type Macro rule category: MacroRuleCategoryID 3, MacroRuleID 476 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 3, MacroRuleID 470\r\nObject type Macro rule category: MacroRuleCategoryID 3, MacroRuleID 470 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 3, MacroRuleID 76\r\nObject type Macro rule category: MacroRuleCategoryID 3, MacroRuleID 76 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 3, MacroRuleID 75\r\nObject type Macro rule category: MacroRuleCategoryID 3, MacroRuleID 75 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 3, MacroRuleID 466\r\nObject type Macro rule category: MacroRuleCategoryID 3, MacroRuleID 466 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 3, MacroRuleID 130\r\nObject type Macro rule category: MacroRuleCategoryID 3, MacroRuleID 130 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 459\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 459 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 456\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 456 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 71\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 71 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 76\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 76 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 75\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 75 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 465\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 465 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 466\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 466 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 474\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 474 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 473\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 473 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 65\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 65 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 472\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 472 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 455\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 455 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 63\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 63 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 464\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 464 updated\r\nObject type Macro rule category: updating MacroRuleCategoryID 4, MacroRuleID 130\r\nObject type Macro rule category: MacroRuleCategoryID 4, MacroRuleID 130 updated\r\nObject type User: updating [email protected]\r\nObject type User: [email protected] updated\r\nObject type User: updating [email protected]\r\nObject type User: [email protected] updated\r\nObject type User role settings: updating RoleID 150, UserID 53\r\nObject type User role settings: RoleID 150, UserID 53 updated\r\nObject type User role settings: updating RoleID 150, UserID 67\r\nObject type User role settings: RoleID 150, UserID 67 updated\r\nObject type User role settings: updating RoleID 150, UserID 78\r\nObject type User role settings: RoleID 150, UserID 78 updated\r\nObject type User role settings: updating RoleID 150, UserID 68\r\nObject type User role settings: RoleID 150, UserID 68 updated\r\nObject type User role settings: updating RoleID 150, UserID 69\r\nObject type User role settings: RoleID 150, UserID 69 updated\r\nObject type User role settings: updating RoleID 150, UserID 70\r\nObject type User role settings: RoleID 150, UserID 70 updated\r\nObject type User role settings: updating RoleID 150, UserID 71\r\nObject type User role settings: RoleID 150, UserID 71 updated\r\nObject type User role settings: updating RoleID 150, UserID 72\r\nObject type User role settings: RoleID 150, UserID 72 updated\r\nObject type User role settings: updating RoleID 150, UserID 73\r\nObject type User role settings: RoleID 150, UserID 73 updated\r\nObject type User role settings: updating RoleID 150, UserID 74\r\nObject type User role settings: RoleID 150, UserID 74 updated\r\nObject type User role settings: updating RoleID 150, UserID 79\r\nObject type User role settings: RoleID 150, UserID 79 updated\r\nObject type User role settings: updating RoleID 150, UserID 75\r\nObject type User role settings: RoleID 150, UserID 75 updated\r\nObject type User role settings: updating RoleID 150, UserID 76\r\nObject type User role settings: RoleID 150, UserID 76 updated\r\nObject type User role settings: updating RoleID 150, UserID 77\r\nObject type User role settings: RoleID 150, UserID 77 updated\r\nObject type Workspace: updating DCP\r\nObject type Workspace: DCP updated\r\nObject type Email preset template: updating Sample email preset template\r\nObject type Email preset template: Sample email preset template updated\r\nObject type Email template: updating Email Tempalte Test #1\r\nObject type Email template: Email Tempalte Test #1 updated\r\nObject type Email template: updating Imagine Newcastle - Form Submission Notification\r\nObject type Email template: Imagine Newcastle - Form Submission Notification updated\r\nObject type Email template: updating Neil Test Email Template\r\nObject type Email template: Neil Test Email Template updated\r\nObject type Email template: updating Imagine Newcastle - Thank you auto responder\r\nObject type Email template: Imagine Newcastle - Thank you auto responder updated\r\nObject type ObjectType.kenticoazuresearch_azuresearchindexitem: updating dcpnewcastle-content\r\nObject type ObjectType.kenticoazuresearch_azuresearchindexitem: dcpnewcastle-content updated\r\nObject type Automation process: updating Automation Test\r\nObject type Automation process: Automation Test updated\r\nObject type Automation process: updating Automation Test 1\r\nObject type Automation process: Automation Test 1 updated\r\nObject type Automation process: updating test2\r\nObject type Automation process: test2 updated\r\nMessage: Restoration of object type \"ObjectType.ncc_globalsettingskey\" failed during objects' insertion and update. See inner exception for further details.\r\n\r\nException type: CMS.ContinuousIntegration.ObjectTypeSerializationException\r\nStack trace: \r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreJobBase.TryRun(Action`2 method, String objectType, String exceptionMessageFormat, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.<>c__DisplayClass2_0.<CreateAndUpsertObjects>b__0(String objectType)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.<>c__DisplayClass38_0`1.<CancellableForEach>b__0(T item, Int32 _)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`2 action, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`1 action, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.CreateAndUpsertObjects(IEnumerable`1 orderedObjectTypes, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.RunInternal(CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemAllJob.Run(Nullable`1 cancellationToken)\r\n\r\nMessage: Deserialization of object stored in file \"@global\\ncc.globalsettingskey\\dcpsettings.xml\" failed. See inner exception for further details.\r\n\r\nException type: CMS.ContinuousIntegration.ObjectSerializationException\r\nStack trace: \r\n   at CMS.ContinuousIntegration.Internal.FileSystemChangedObjectsByTypeJobBase.DeserializeObjectFromFiles(StructuredLocation structuredLocation, Boolean mergeWithExisting)+MoveNext()\r\n   at CMS.ContinuousIntegration.Internal.FileSystemUpsertObjectsByTypeJob.ChangedObjectSelector(RepositoryLocationsCollection fileLocations)+MoveNext()\r\n   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()\r\n   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`2 action, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`1 action, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemChangedObjectsByTypeJobBase.ProcessChangedObjects(String objectType, IEnumerable`1 objects, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemUpsertObjectsByTypeJob.RunInternal(String objectType, ISet`1 fileLocations, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemTypeWideJob.Run(String objectType, ISet`1 fileLocations, Nullable`1 cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreObjectsByTypeInternalJob.RunUpsertObjectsByTypeJob()\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.CreateAndUpsert(String objectType, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreJobBase.TryRun(Action`2 method, String objectType, String exceptionMessageFormat, CancellationToken cancellationToken)\r\n\r\nMessage: [DataClassInfoProvider.GetClassStructureInfoFromDB]: Class information for class 'NCC.GlobalSettingsKey' not found.\r\n\r\nException type: CMS.DataEngine.DataClassNotFoundException\r\nStack trace: \r\n   at CMS.DataEngine.DataClassInfoProvider.GetClassStructureInfoFromDB(String className)\r\n   at CMS.DataEngine.ObjectTypeInfo.get_ClassStructureInfo()\r\n   at CMS.DataEngine.AbstractInfoBase`1.GetColumnNames()\r\n   at CMS.DataEngine.AbstractInfoBase`1.get_ColumnNames()\r\n   at CMS.DataEngine.Serialization.InfoDeserializer.Deserialize(XmlElement element)\r\n   at CMS.ContinuousIntegration.ContinuousIntegrationInfoDeserializer.Deserialize(XmlElement element)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemChangedObjectsByTypeJobBase.DeserializeObjectFromFiles(StructuredLocation structuredLocation, Boolean mergeWithExisting)+MoveNext()\r\n\r\nErrors occurred while restoring objects from the repository:\r\nDatabase update and restore failed.",
2025-09-18T06:44:54.4491539Z   "stderr": "Message: Restoration of object type \"ObjectType.ncc_globalsettingskey\" failed during objects' insertion and update. See inner exception for further details.\r\n\r\nException type: CMS.ContinuousIntegration.ObjectTypeSerializationException\r\nStack trace: \r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreJobBase.TryRun(Action`2 method, String objectType, String exceptionMessageFormat, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.<>c__DisplayClass2_0.<CreateAndUpsertObjects>b__0(String objectType)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.<>c__DisplayClass38_0`1.<CancellableForEach>b__0(T item, Int32 _)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`2 action, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`1 action, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.CreateAndUpsertObjects(IEnumerable`1 orderedObjectTypes, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.RunInternal(CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemAllJob.Run(Nullable`1 cancellationToken)\r\n\r\nMessage: Deserialization of object stored in file \"@global\\ncc.globalsettingskey\\dcpsettings.xml\" failed. See inner exception for further details.\r\n\r\nException type: CMS.ContinuousIntegration.ObjectSerializationException\r\nStack trace: \r\n   at CMS.ContinuousIntegration.Internal.FileSystemChangedObjectsByTypeJobBase.DeserializeObjectFromFiles(StructuredLocation structuredLocation, Boolean mergeWithExisting)+MoveNext()\r\n   at CMS.ContinuousIntegration.Internal.FileSystemUpsertObjectsByTypeJob.ChangedObjectSelector(RepositoryLocationsCollection fileLocations)+MoveNext()\r\n   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()\r\n   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`2 action, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`1 action, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemChangedObjectsByTypeJobBase.ProcessChangedObjects(String objectType, IEnumerable`1 objects, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemUpsertObjectsByTypeJob.RunInternal(String objectType, ISet`1 fileLocations, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.AbstractFileSystemTypeWideJob.Run(String objectType, ISet`1 fileLocations, Nullable`1 cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreObjectsByTypeInternalJob.RunUpsertObjectsByTypeJob()\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.CreateAndUpsert(String objectType, CancellationToken cancellationToken)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemRestoreJobBase.TryRun(Action`2 method, String objectType, String exceptionMessageFormat, CancellationToken cancellationToken)\r\n\r\nMessage: [DataClassInfoProvider.GetClassStructureInfoFromDB]: Class information for class 'NCC.GlobalSettingsKey' not found.\r\n\r\nException type: CMS.DataEngine.DataClassNotFoundException\r\nStack trace: \r\n   at CMS.DataEngine.DataClassInfoProvider.GetClassStructureInfoFromDB(String className)\r\n   at CMS.DataEngine.ObjectTypeInfo.get_ClassStructureInfo()\r\n   at CMS.DataEngine.AbstractInfoBase`1.GetColumnNames()\r\n   at CMS.DataEngine.AbstractInfoBase`1.get_ColumnNames()\r\n   at CMS.DataEngine.Serialization.InfoDeserializer.Deserialize(XmlElement element)\r\n   at CMS.ContinuousIntegration.ContinuousIntegrationInfoDeserializer.Deserialize(XmlElement element)\r\n   at CMS.ContinuousIntegration.Internal.FileSystemChangedObjectsByTypeJobBase.DeserializeObjectFromFiles(StructuredLocation structuredLocation, Boolean mergeWithExisting)+MoveNext()\r\n",
2025-09-18T06:44:54.4497333Z   "failed": true,
2025-09-18T06:44:54.4498009Z   "timedOut": false,
2025-09-18T06:44:54.4498418Z   "isCanceled": false,
2025-09-18T06:44:54.4498812Z   "killed": false
2025-09-18T06:44:54.4499215Z }
2025-09-18T06:44:54.4499734Z Command failed with exit code 1: dotnet C:\__w\1\s\DeploymentPackage\MySite.dll --kxp-update-and-cd-restore --repository-path C:\__w\1\s\DeploymentPackage\$CDRepository --skip-confirmation
2025-09-18T06:44:54.4500387Z Message: Restoration of object type "ObjectType.ncc_globalsettingskey" failed during objects' insertion and update. See inner exception for further details.
2025-09-18T06:44:54.4500713Z 
2025-09-18T06:44:54.4501121Z Exception type: CMS.ContinuousIntegration.ObjectTypeSerializationException
2025-09-18T06:44:54.4501537Z Stack trace: 
2025-09-18T06:44:54.4502349Z    at CMS.ContinuousIntegration.Internal.FileSystemRestoreJobBase.TryRun(Action`2 method, String objectType, String exceptionMessageFormat, CancellationToken cancellationToken)
2025-09-18T06:44:54.4503310Z    at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.<>c__DisplayClass2_0.<CreateAndUpsertObjects>b__0(String objectType)
2025-09-18T06:44:54.4503914Z    at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.<>c__DisplayClass38_0`1.<CancellableForEach>b__0(T item, Int32 _)
2025-09-18T06:44:54.4504530Z    at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`2 action, CancellationToken cancellationToken)
2025-09-18T06:44:54.4505269Z    at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`1 action, CancellationToken cancellationToken)
2025-09-18T06:44:54.4505916Z    at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.CreateAndUpsertObjects(IEnumerable`1 orderedObjectTypes, CancellationToken cancellationToken)
2025-09-18T06:44:54.4506523Z    at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.RunInternal(CancellationToken cancellationToken)
2025-09-18T06:44:54.4507067Z    at CMS.ContinuousIntegration.Internal.AbstractFileSystemAllJob.Run(Nullable`1 cancellationToken)
2025-09-18T06:44:54.4507340Z 
2025-09-18T06:44:54.4507904Z Message: Deserialization of object stored in file "@global\ncc.globalsettingskey\dcpsettings.xml" failed. See inner exception for further details.
2025-09-18T06:44:54.4508364Z 
2025-09-18T06:44:54.4508832Z Exception type: CMS.ContinuousIntegration.ObjectSerializationException
2025-09-18T06:44:54.4509272Z Stack trace: 
2025-09-18T06:44:54.4512733Z    at CMS.ContinuousIntegration.Internal.FileSystemChangedObjectsByTypeJobBase.DeserializeObjectFromFiles(StructuredLocation structuredLocation, Boolean mergeWithExisting)+MoveNext()
2025-09-18T06:44:54.4513809Z    at CMS.ContinuousIntegration.Internal.FileSystemUpsertObjectsByTypeJob.ChangedObjectSelector(RepositoryLocationsCollection fileLocations)+MoveNext()
2025-09-18T06:44:54.4514668Z    at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
2025-09-18T06:44:54.4515188Z    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
2025-09-18T06:44:54.4515746Z    at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`2 action, CancellationToken cancellationToken)
2025-09-18T06:44:54.4516446Z    at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](IEnumerable`1 collection, Action`1 action, CancellationToken cancellationToken)
2025-09-18T06:44:54.4517087Z    at CMS.ContinuousIntegration.Internal.FileSystemChangedObjectsByTypeJobBase.ProcessChangedObjects(String objectType, IEnumerable`1 objects, CancellationToken cancellationToken)
2025-09-18T06:44:54.4517748Z    at CMS.ContinuousIntegration.Internal.FileSystemUpsertObjectsByTypeJob.RunInternal(String objectType, ISet`1 fileLocations, CancellationToken cancellationToken)
2025-09-18T06:44:54.4518374Z    at CMS.ContinuousIntegration.Internal.AbstractFileSystemTypeWideJob.Run(String objectType, ISet`1 fileLocations, Nullable`1 cancellationToken)
2025-09-18T06:44:54.4518928Z    at CMS.ContinuousIntegration.Internal.FileSystemRestoreObjectsByTypeInternalJob.RunUpsertObjectsByTypeJob()
2025-09-18T06:44:54.4520741Z    at CMS.ContinuousIntegration.Internal.FileSystemRestoreCreateUpdateJob.CreateAndUpsert(String objectType, CancellationToken cancellationToken)
2025-09-18T06:44:54.4522173Z    at CMS.ContinuousIntegration.Internal.FileSystemRestoreJobBase.TryRun(Action`2 method, String objectType, String exceptionMessageFormat, CancellationToken cancellationToken)
2025-09-18T06:44:54.4522576Z 
2025-09-18T06:44:54.4523069Z Message: [DataClassInfoProvider.GetClassStructureInfoFromDB]: Class information for class 'NCC.GlobalSettingsKey' not found.
2025-09-18T06:44:54.4523365Z 
2025-09-18T06:44:54.4523976Z Exception type: CMS.DataEngine.DataClassNotFoundException
2025-09-18T06:44:54.4524384Z Stack trace: 
2025-09-18T06:44:54.4527307Z    at CMS.DataEngine.DataClassInfoProvider.GetClassStructureInfoFromDB(String className)
2025-09-18T06:44:54.4528069Z    at CMS.DataEngine.ObjectTypeInfo.get_ClassStructureInfo()
2025-09-18T06:44:54.4528559Z    at CMS.DataEngine.AbstractInfoBase`1.GetColumnNames()
2025-09-18T06:44:54.4529007Z    at CMS.DataEngine.AbstractInfoBase`1.get_ColumnNames()
2025-09-18T06:44:54.4529478Z    at CMS.DataEngine.Serialization.InfoDeserializer.Deserialize(XmlElement element)
2025-09-18T06:44:54.4529989Z    at CMS.ContinuousIntegration.ContinuousIntegrationInfoDeserializer.Deserialize(XmlElement element)
2025-09-18T06:44:54.4530786Z    at CMS.ContinuousIntegration.Internal.FileSystemChangedObjectsByTypeJobBase.DeserializeObjectFromFiles(StructuredLocation structuredLocation, Boolean mergeWithExisting)+MoveNext()
2025-09-18T06:44:54.4531133Z 

This is my repository.config

<?xml version="1.0" encoding="utf-8"?>
<RepositoryConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

	<!-- Specifies which types of object operations are performed in the target database when restoring the repository:
     Create - only creates new objects. Never deletes or modifies existing objects.
     CreateUpdate - creates new objects and updates existing objects. Never deletes objects.
       Full - creates new objects, updates existing objects, deletes objects that do not exist in the repository.
     -->
	<RestoreMode>CreateUpdate</RestoreMode>

	<!-- After changing the included or excluded object types, you need to run serialization for all objects to bring
       the repository folder into the required state. Use the CLI and execute the store command for Continuous Integration or Deployment.
     Always synchronize the repository.config along with the other content of the repository folder. -->

	<!-- To learn which object types can be used in the IncludedObjectTypes and ExcludedObjectTypes definitions,
       visit the documentation: https://devnet.kentico.com/CMSPages/DocLinkMapper.ashx?version=xp&link=ci_object_types -->

	<!-- If one or more main object types are specified, only objects of the given type and their child types are processed.
       All supported object types are included if empty. -->
	<IncludedObjectTypes>
	</IncludedObjectTypes>

	<!-- Excluded object types filter the set of included object types. The specified object types are excluded from processing.
     May include both main and child object types. -->
	<ExcludedObjectTypes>
	</ExcludedObjectTypes>

	<!-- You can exclude objects from processing by adding included or excluded code names for any object type.
       Use the % wildcard at the start or end of the values to include or exclude multiple objects based on code name prefixes or suffixes.
       You can add multiple code name values separated by semicolons for each object type. -->
	<ObjectFilters>
		<!-- Ensures serialization for reusable field schemas. -->
		<IncludedCodeNames ObjectType="cms.class">cms.contentitemcommondata;NCC.GlobalSettingsKey</IncludedCodeNames>
		<!-- If one or more code names are included, only objects matching the specified code names are included. Other objects are not processed.
         All objects are included if empty. -->
		<!-- <IncludedCodeNames>IncludedCodeNameA;IncludedCodeNameB</IncludedCodeNames> -->
		<!-- <IncludedCodeNames ObjectType="ObjectTypeB">IncludedCodeNamePrefix%;%IncludedCodeNameSuffix</IncludedCodeNames> -->

		<!-- Excludes license key settings -->
		<ExcludedCodeNames ObjectType="cms.settingskey">CMSInstanceFriendlyName;CMSInstanceID</ExcludedCodeNames>

		<!-- Excluded code names add further filtering for the set of included objects. Objects that match the specified code names are excluded from processing. -->
	</ObjectFilters>

</RepositoryConfiguration>

Environment

Answers

To response this discussion, you have to login first.