How to fix the error 'No physical template file was found for template X'

Posted written by Paul Seal on May 17, 2017 Umbraco

No physical template file was found for templateĀ X

This post shows you how to fix the errorĀ No physical template file was found for template X. There is an animated which shows you how to fix it.

1

Here is why it happens and how you can fix it?

This error usually happens when you publish a site and forget to include some of the files in the project.

To fix it, just go into Visual Studio and include the missing files.

See the below animation for how to do this:

2