I am running some code that yields this error:
What is your code?
Check this http://support.sas.com/kb/32/394.html
To create HTML output you should only need to use
ODS HTML <options such as path and body html files to create>;
<procedure call to generate output>
ods html close;
Is your PROC TEMPLATE inheriting from TAGSETS.DEFAULT? Or one of styles it's dependent on is dependent on tagsets.default?