Tip for Error: Templates missing from the Registry will be removed from the APP

Converting from much older versions (say C5 to C11) often the templates are not all in C11 so the “Templates missing” error will occur. Sometimes there are more missing than fit in the errors panel.


After this the App has the missing templates removed so is damaged. After clicking Yes the load continues. Clicking No seems to get stuck in a loop, so you have to click YES and recover the APP from backup.

The problem is after it finishes loading the App the Errors List is empty :frowning: . I know this now, so I get a screen capture before I close the error message to have the list of problems. I’ve seen this in 9, 10, 11 and 11.1.


What I noticed today was the button still says “1 Error” … The errors list might still be there?

My Tip is to click the Errors button, which hides the errors. Then click the Errors button again and the missing errors appear!


Where this really is needed is when there are more errors than will fit like this one with 84.

Text of the error message for search:

Errors were found on merging template changes to the Application.

Templates missing from the Registry will be removed from the APP.

Do you want to save the changes to the APP?

File: C:\code\project\p.app
Yes   No   

1 Like

Would be cool if there could be a “Generate Stub Template” utility so you can still get stuff done if you’re missing a template, but haven’t solved procurement yet.


8 posts were split to a new topic: Forum (Discourse) has Thumbs Up to Like a Post instead of +1

Seems hard to reverse engineer since there are many template variables input.

What I have done is take the old C5 template and delete everything after the user interface (#Display and #Prompt) to preserve the %Variables.
Search for the first #AT* and delete all that code but leave the #EMBED’s (probably).
The #PREPARE may need some changes.
Delete #GROUP’s only if they cause errors.
Look for any #PROJECT() left and see they are not a problem, e.g. adding a C5 DLL.

1 Like