Package Installation Error

Hi All,

 

I am trying to install packages on  on our production environment using package installation but failed because of the following error. Any idea what the cause of this error is

 

2017-08-04 21:13:07,681 Error occurred while generating schema source code "AtsAtsAddRelatedProduct1" in package "TECPackage2". UId 427c05e0-9b7b-40f5-bebf-563de5f42922: Collection item with Id "{BA74337D-3CDD-4717-8384-52894AEA5853}" not found.
Terrasoft.Common.ItemNotFoundException: Collection item with Id "{BA74337D-3CDD-4717-8384-52894AEA5853}" not found.
   at Terrasoft.Core.MetaItemCollection`1.GetByUId(Guid uid)
   at Terrasoft.Core.Entities.EntitySchema.GetSchemaColumnByMetaPath(String columnMetaPath)
   at Terrasoft.Core.Process.ProcessSchemaGeneratorNew.GetPropertyPathByMetaPath(ProcessSchemaParameter parameter, String propertyMetaPath, Boolean getDisplayPropertyPath, Boolean addProcessPropertyPath)
   at Terrasoft.Core.Process.ProcessSchemaGeneratorNew.ConvertToCodeParameterMacros(StringBuilder code, ProcessSchema processSchema, ProcessSchemaParameter mappingParameter)
   at Terrasoft.Core.Process.ProcessSchemaGeneratorNew.ConvertFormulaTaskBodyToCode(ProcessSchema processSchema, String formulaTaskBody, ProcessSchemaParameter mappingParameter)
   at Terrasoft.Core.Process.ProcessSchemaGeneratorNew.GenerateProcessActivityParameterInitializer(ProcessSchema processSchema, ProcessSchemaParameterCollection parameters, Collection`1 advancedProperties)
   at Terrasoft.Core.Process.ProcessSchemaGeneratorNew.WriteProcessUserTaskProperties(GeneratorContext context, Collection`1 publicProperties, ProcessSchemaUserTask task)
   at Terrasoft.Core.Process.ProcessSchemaGeneratorNew.WriteProcessProperties(GeneratorContext context, ProcessSchema processSchema, Collection`1 publicProperties)
   at Terrasoft.Core.Process.ProcessSchemaGeneratorNew.WriteProcessCode(GeneratorContext context, SchemaCodeGeneratorResource`1 resource, GeneratorTokenVisibility sourceVisibility)
   at Terrasoft.Core.Process.ProcessSchemaGeneratorNew.WriteProcessClassBody(SchemaCodeGeneratorResource`1 resource, GeneratorContext context, GeneratorTokenVisibility sourceVisibility)
   at Terrasoft.Core.CodeGeneration.SchemaCodeGenerator`1.GenerateSchemaSource(SchemaCodeGeneratorResource`1 resource, EntityCollection sourceCollection, String sourceFileName)
   at Terrasoft.Core.CodeGeneration.SchemaCodeGenerator`1.GenerateSources(SchemaCodeGeneratorResource`1 resource)
   at Terrasoft.Core.SchemaManager`1.GetSchemaSources(TSchemaManagerSchema schema, Guid schemaId, UserConnection userConnection)
   at Terrasoft.Core.Process.ProcessSchemaManager.GetSchemaSources(ProcessSchema schema, Guid schemaId, UserConnection connection)
   at Terrasoft.Core.SchemaManager`1.GenerateSchemaSources(TSchemaManagerSchema schema, Guid schemaId, UserConnection userConnection)
   at Terrasoft.Core.SchemaManager`1.GenerateSchemaSources(Guid sysSchemaId, ISchemaManagerItem schemaManagerItem, UserConnection userConnection)
   at Terrasoft.Core.Packages.PackageInstallUtilities.InternalInstallSchemasAssociatedData(Guid schemaId, SchemaDescriptor schemaDescriptor, Boolean continueIfError)

File attachments

Like

1 comments

It means that while installing a package, the system can see that there is an object specified with UId 427c05e0-9b7b-40f5-bebf-563de5f42922, but can not find it. 

Try to find this Uid in the source code of the original package.

 

Show all comments