Question

When I try to register a custom service, I get this error.

Runtime Error Code: AifSchemaStore (table), no valid executable code in method 'getCachedSchema.

Stack trace:

(S)\Data Dictionary\Tables\AifSchemaStore\Methods\getCachedSchema (S)\Data Dictionary\Tables\AifSchemaStore\Methods\getDocumentSchema - line 16 (S)\Classes\AifSchemaInfo\parmSchemaXml - line 19 (S)\Classes\AifSchemaRepository\getSharedTypesXmlSchema - line 9 (S)\Classes\AifServiceGenerationManager\registerService - line 43 (S)\Classes\AifServiceGenerationManager\main - line 20

So I can't deploy it.

Was it helpful?

Solution

You probably have customizations to the AIF macro that are not merged correctly after installing a CU.

  • Go to the AOT - Macros - AIF
  • Right click the AIF marcro an click Compare...
  • Scroll all the way down and you should see a difference there on this line #define.AifSchemaStore_SchemaCacheScope ('AifSchemaStore_SchemaCache')
  • Merge it to the highest layer by clicking on the arrow on the lefd

Compile the AifSchemaStore table and the error should be gone.

You should probably check all of your customizations if they need upgrading. Also do a full compile of your code and generate Full CIL, otherwise you'll have a ton of problems (at least do a compile of the AifSchemaStore table and an incremental CIL).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top