当我尝试注册自定义服务时,我收到此错误。
运行时错误代码:AifSchemaStore(表),方法'getCachedSchema中没有有效的可执行代码。
堆栈追踪:
(S)\ Data Dictionary \ Tables \ AifSchemaStore \ Methods \ getCachedSchema (S)\ Data Dictionary \ Tables \ AifSchemaStore \ Methods \ getDocumentSchema - 第16行 (S)\ Classes \ AifSchemaInfo \ parmSchemaXml - 第19行 (S)\ Classes \ AifSchemaRepository \ getSharedTypesXmlSchema - 第9行 (S)\ Classes \ AifServiceGenerationManager \ registerService - 第43行 (S)\ Classes \ AifServiceGenerationManager \ main - 第20行
所以我无法部署它。
答案 0 :(得分:2)
您可能在安装CU后未对AIF宏进行自定义。
#define.AifSchemaStore_SchemaCacheScope ('AifSchemaStore_SchemaCache')
编译AifSchemaStore
表,错误应该消失。
如果需要升级,您应该检查所有自定义项。
还要完整编译你的代码并生成Full CIL,否则你会遇到很多问题(至少要编译AifSchemaStore
表和增量CIL)。